View Full Version : xanga: left modules move to the right


kiddy2one
07-25-2003, 04:49 AM
hi, im currently looking for the code for xanga where you can move the left-sdei info to the right. if anyone knows this code please reply. thanks!

betweenworlds
07-25-2003, 05:03 AM
this should work


<SCRIPT language=javascript>
function swapSidebar(){
var tds = document.getElementsByTagName("td")
for (var i = 0; i < tds.length; i++){
if (tds[i] == "mainleft" || tds[i].width == "200"){
var sidebar = tds[i].cloneNode(true);
tds[i].parentNode.appendChild(sidebar);
tds[i].parentNode.removeChild(tds[i]);
break;
}}
}
swapSidebar();
</SCRIPT>



and put it in webstat box