|
Post by DBuzzin on Apr 13, 2009 21:24:42 GMT -5
Code Name: Mini Profile on Right Side of Forum Creator: DBuzzin Preview: N/A Definition: Moves Mini Profile to the right side of your forum. Placement: Global Footer
<script type="text/javascript"> <!-- /*Mini Profile on Right Side of Forum by Danny*/
if(location.href.match(/view/i)){ var getRow = document.getElementsByTagName("tr"); for(x=0; x<getRow.length; x++){ if(getRow[x].cells[0].innerHTML.match(/(Joined:|Guest)/i) && getRow[x].cells[0].width == '20%'){ var newMP = getRow[x].cells[0].cloneNode(true); getRow[x].appendChild(newMP); getRow[x].cells[0].style.display ='none'; } } }
//--> </script>
|
|
|
Post by Wrighty on Apr 14, 2009 3:46:07 GMT -5
You can do this by just 'appendChild'-ing the first Cell in the row. That'll then remove of it from the left! This works fine - but view mine in the code index for what I mean!
|
|
Devin
Special Person
tay <3
without ME it's just AWESO
Posts: 1,199
|
Post by Devin on Apr 14, 2009 3:54:47 GMT -5
I'll add this but your location check is kinda strange. It'll only work on the calendar, PM, and forum page and not the recent/search pages.
|
|