custom modules, wrong code? whats wrong? |
![]() ![]() |
custom modules, wrong code? whats wrong? |
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 |
|
|
|
Apr 18 2005, 04:50 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
It's because you have an apostrophe in your content section, where the word "Life's" is. It should be able to work after you take that out. If it still doesn't work, try the one from here: http://www.xanga.com/home.aspx?user=kaiyotee
This post has been edited by Sherry_Vu: Apr 18 2005, 04:51 PM |
|
|
|
Apr 19 2005, 04:53 AM
Post
#3
|
|
![]() What r u looking at!? ![]() ![]() ![]() Group: Member Posts: 34 Joined: Jan 2005 Member No: 85,144 |
or you can change that line to:
CODE moduleContent = "Life's a dance. you learn as you go."; |
|
|
|
Apr 23 2005, 05:40 AM
Post
#4
|
|
![]() work hard. play hard. ![]() ![]() ![]() ![]() Group: Member Posts: 266 Joined: Jul 2004 Member No: 32,940 |
it doesnt work
anyone plz help? thanks. |
|
|
|
Apr 23 2005, 09:16 AM
Post
#5
|
|
![]() What r u looking at!? ![]() ![]() ![]() Group: Member Posts: 34 Joined: Jan 2005 Member No: 85,144 |
Did you try to change what I told you to? And did you try the one from kaiyotee? which one didn't work?
Be more specific please! |
|
|
|
Apr 25 2005, 05:07 AM
Post
#6
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Apr 2005 Member No: 127,669 |
try to paste it at your webstats coz that's what i did...
|
|
|
|
Apr 25 2005, 06:47 AM
Post
#7
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
Apr 27 2005, 07:04 AM
Post
#8
|
|
![]() work hard. play hard. ![]() ![]() ![]() ![]() Group: Member Posts: 266 Joined: Jul 2004 Member No: 32,940 |
thanks guys it worked!!!
|
|
|
|
![]() ![]() |