So Annoyed, Script from Xanga Scripts Forum Not Working |
So Annoyed, Script from Xanga Scripts Forum Not Working |
Feb 4 2007, 07:39 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 24 Joined: Feb 2005 Member No: 97,382 |
I've been trying to make a custom right module using the following code and pasting it in my webstats and it's not working. Yes, I do have premium if that's a question. I'm wondering why this code doesn't work anymore when I used to use it before and it worked just fine?
<!-- start code provided by createblog.com --> <!-- Script by Paul Chen --> <td id="customRight" style="display:none" vAlign="top" width="200"> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> module title here </th></tr> <tr><td class="left" vAlign="top"> module stuff here </td></tr> </table> <br/> <!-- module:end --> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> module title here </th></tr> <tr><td class="left" vAlign="top"> module content here </td></tr> </table> <br/> <!-- module:end --> </td> <script> extra=false; j=document.getElementById('MoreoverModule1_lblModuleTitle') if(j){extra=true} index=0; var mytds = document.getElementsByTagName('td'); var i = 0; for(i=0;i<mytds.length-1;i++){ if(mytds[i].width=="200"){ index++; if(index==(extra ? 2 : 1)){break;}} } var sidebar = (extra ? mytds[i]: mytds[i].parentNode) var tsibpc = document.getElementById('customRight'); var rightSide = tsibpc.cloneNode(true); rightSide.style.display = "block"; sidebar.appendChild(rightSide); </script> <!-- end code provided by createblog.com --> Also, I have this code in my webstats to disable the left side of my Xanga. Is it conflicting with the other code for some reason? <!-- begin code provided by createblog.com --> <style type='text/css'> .mainleft { display:none; } </style> <!-- end code provided by createblog.com --> Can anyone tell me why this isn't working anymore? It used to work before Xanga made all of the new upgrades these last few months. |
|
|
|
myglasshouse So Annoyed Feb 4 2007, 07:39 PM
myglasshouse Found this script to post in webstats for custom m... Feb 4 2007, 08:01 PM
Kathleen In regards to the first post of yours, I just trie... Feb 5 2007, 02:49 PM
myglasshouse Sending you the URL to my Xanga in a pm here at th... Feb 5 2007, 09:59 PM![]() ![]() |