Log In · Register

 
custom modules, wrong code? whats wrong?
bogalgirl
post Apr 15 2005, 03:20 AM
Post #1


work hard. play hard.
****

Group: Member
Posts: 266
Joined: Jul 2004
Member No: 32,940



i have no idea whats wrong with my code. i wanted an extra module below my profile and this is what i put on my header ( custom module )



plz help. it doesn't work. my xanga

thanks
 
 
Start new topic
Replies
YourSuperior
post Apr 25 2005, 06:47 AM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



Try changing it to this:

CODE
<script>
titleContent = '[m]ixed emotions';
moduleContent = 'Lifes a dance. you learn as you go.';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>


Maybe that'll work.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: