Help - Search - Members - Calendar
Full Version: xanaga custome module: extra module
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
misskay
hi, i used this code from the xanga scripts section to get an xtra module on my xanga, to put my links to xtra pages in.

CODE
<!-- begin code provided by createblog.com -->
<script>
titleContent = 'Xtra Links';
moduleContent = 'Module Content';
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>
<!-- end code provided by createblog.com -->


but when i put more than one link in it won't show up on my xanga, could it be something wrong with the way i coded it, here is the code with all the links i want in

CODE
<!-- begin code provided by createblog.com -->
<script>
titleContent = 'Xtra Links';
moduleContent = '<a href="http://www.myotaku.com/users/misskay/results/" target="_blank">My Quiz Results</a>
<BR>
<a href="http://www.geocities.com/kayleighliddle/index.htm">Sigs</a>
<BR>
<a href="http://www.geocities.com/kayleighliddle/Avvys.htm">Avvy's</a>
<BR>
<a href="http://www.geocities.com/kayleighliddle/Gifts.htm">Gifts</A>
<br>
<a href="http://www.geocities.com/kayleighliddle//Signs.htm">Signs</a>
<br>
<a href="http://www.geocities.com/kayleighliddle/Tutorials/tutorials.htm">Tutorials</a>
<br>
<a href="http://www.geocities.com/kayleighliddle/linkme.htm">Link Me</a>
<br>
<a href="http://3000words.blogspot.com/">My Blog</a>
<br>
<a href="http://www.xanga.com/dark_anime_angelz">Refresh My Xanga</a>';
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>
<!-- end code provided by createblog.com -->


I didn't see anything wrote down about not being able to put links or HTML in it, can someone help me?, thanks

***Kayleigh AKA. Miss Kay***
kellyannie
do NOT use the enter key when you are putting in your module content, it will mess up the code, see how you have it like this:
QUOTE
<BR>
<a href="http://www.geocities.com/kayleighliddle/index.htm">Sigs</a>
<BR>
<a href="http://www.geocities.com/kayleighliddle/Avvys.htm">Avvy's</a>
<BR>



make it like this:

QUOTE
<a href="http://www.myotaku.com/users/misskay/results/" target="_blank">My Quiz Results</a><BR><a href="http://www.geocities.com/kayleighliddle/index.htm">Sigs</a><BR><a href="http://www.geocities.com/kayleighliddle/Avvys.htm">Avvy's</a><BR><a href="http://www.geocities.com/kayleighliddle/Gifts.htm">Gifts</A><br><a href="http://www.geocities.com/kayleighliddle//Signs.htm">Signs</a><br><a href="http://www.geocities.com/kayleighliddle/Tutorials/tutorials.htm">Tutorials</a><br><a href="http://www.geocities.com/kayleighliddle/linkme.htm">Link Me</a><br><a href="http://3000words.blogspot.com/">My Blog</a><br><a href="http://www.xanga.com/dark_anime_angelz">Refresh My Xanga</a>
misskay
thank you for that advice, i never knew that, but it stilll won't show up
kellyannie
here you go use this i fixed it, i forgot to say that you also can't use apostrophes either haha

CODEBOX: -> right click -> copy/paste
misskay
thank you soo soo soo much, i have been having probs with it for ages.



this topic can be closed now
kellyannie
no problem happy.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.