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 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. |
|
|
|
bogalgirl custom modules Apr 15 2005, 03:20 AM
Sherry_Vu It's because you have an apostrophe in your co... Apr 18 2005, 04:50 PM
CKae or you can change that line to:
CODEmoduleContent ... Apr 19 2005, 04:53 AM
bogalgirl it doesnt work
anyone plz help?
thanks. Apr 23 2005, 05:40 AM
CKae Did you try to change what I told you to? And did ... Apr 23 2005, 09:16 AM
twelvie try to paste it at your webstats coz that's wh... Apr 25 2005, 05:07 AM
bogalgirl thanks guys it worked!!! Apr 27 2005, 07:04 AM![]() ![]() |