Log In · Register

 
is there something wrong
kayiiem
post 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?
 
 
Start new topic
Replies (1 - 8)
lovescream
post 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. ermm.gif
 
sherryvu
post 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:
 
[4]eternity
post 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...
 
sherryvu
post 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)
I don't know, your code worked for me...
*


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>
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>
Please don't just post bullshit to raise your post count. If you're going to post, try being more helpful wink.gif This is your first warning. If I start to see spamming from you, I'll have to raise your warning level which will suspend you for a few days.
 
lovescream
post 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. huh.gif
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. blink.gif
 
sherryvu
post 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? wacko.gif Well I guess it depends what HTML you use. I retested the script and the only problem is the line break. if you put
QUOTE
<br>
right behind "ignoring me", the script should work.
 
kayiiem
post 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
 
sherryvu
post Feb 15 2005, 03:35 PM
Post #9


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



QUOTE(kayiiem @ Feb 15 2005, 2:31 PM)
well i got it thanks. its because of the line break
*

[ topic closed ]
 

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