Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Move 'Started By' Under Thread Name « Thread Started on Mar 23, 2012, 6:43pm » | |
A little code I wanted for my own site and thought others might like it. Especially good for those people with 'skinny' boards, but I just think it looks better like this anyway!
Move 'Started By' Under Thread Name
Tested in FF, IE, Chrome.
Preview:
![[image] [image]](http://i1136.photobucket.com/albums/n494/pebbleleague/StartedByUnderBoardDes.png)
Just one var:
var sB="Started By: "; Change the 'Started By: ' to what ever you want.
Location: Global Footer
Code:<script type="text/javascript"> /* Move 'Started By' Under Subject Name */ /* Written By Pebble - Leave this header intact */ /* Do Not Repost - Original code at [url]http://interoceandesigns.com[/url] */
var sB="Started By: "; /* Do Not Touch Below Here */ if(!location.href.match('action=') && location.href.match('board=')){ var x=document.getElementsByTagName("td"); for (i=5;i<=x.length-1;i++){ if(x[i].width=="14%") {x[i].style.display="none"; x[i-1].colSpan++; if(x[i].className=="windowbg2"){ x[i-1].innerHTML+="<br />"+sB+x[i].innerHTML;}} }} </script>
|
|
|
|
|