is there something wrong |
![]() ![]() |
is there something wrong |
Feb 14 2005, 04:49 PM
Post
#1
|
|
![]() LaLaLa =] ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 350 Joined: Feb 2005 Member No: 94,170 |
i put an extra module in my xanga and it wont show up is there something wrong with the code?
|
|
|
|
Feb 14 2005, 04:51 PM
Post
#2
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 |
Hm.
QUOTE titleContent = 'Qu<u>o</u>te of Da Week'; moduleContent = 'It`s weird how I can get so upset for you "ignoring me" but you have no idea that you`re even doing it..'; Bold part - quotation marks. I dont think you can have that. Because sometiems using apstrophes and quotation marks as quoting the whatever are the same thing.. ermm.. if you get what I'm saying. |
|
|
|
Feb 14 2005, 04:52 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
try using this script:
|
|
|
|
Feb 14 2005, 05:56 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 988 Joined: Feb 2005 Member No: 98,884 |
I don't know, your code worked for me...
|
|
|
|
Feb 14 2005, 06:11 PM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
QUOTE([4]eternity @ Feb 14 2005, 4:56 PM) you're kidding right? i doubt you even tested the code. the code isn't working for a reason. that reason is because she had HTML in it. See where it's bolded? This custom module script doesn't support HTML. Also, because she had a line break after "ignoring me" QUOTE <script> Please don't just post bullshit to raise your post count. If you're going to post, try being more helpful titleContent = 'Qu<u>o</u>te of Da Week'; moduleContent = 'It`s weird how I can get so upset for you "ignoring me" but you have no idea that you`re even doing it..'; 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> |
|
|
|
Feb 14 2005, 06:24 PM
Post
#6
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 |
.. not to sound like a bother, but for me, it allows me to use html.
At my site, my custom module for linking me.. it has html in it. QUOTE <script> titleContent = '<u>Link me <3</u>'; moduleContent ='<a href="http://www.xanga.com/britneyspearsinnocent"><a href="http://img.photobucket.com/albums/v283/Tobiee/da.bmp"><img src="http://img.photobucket.com/albums/v283/Tobiee/da.bmp" border="0" alt= "blank"></a><br><textarea><a href="http://www.xanga.com/spiritedfreak"><img src="http://img146.exs.cx/img146/7634/linkme3zx.png" border="0" alt="blank"></a></textarea><br> link me plzkthnx <3'; 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> bolden parts is html.. hm. Unless I bolded the wrong thing. |
|
|
|
Feb 14 2005, 06:32 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
You're right huh?
QUOTE <br> right behind "ignoring me", the script should work.
|
|
|
|
Feb 15 2005, 03:31 PM
Post
#8
|
|
![]() LaLaLa =] ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 350 Joined: Feb 2005 Member No: 94,170 |
well i got it thanks. its because of the line break
|
|
|
|
Feb 15 2005, 03:35 PM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
|
|
|
|
![]() ![]() |