InterOcean Designs
« Move 'Started By' Under Thread Name »

Welcome Guest. Please Login or Register.
May 23, 2013, 5:31am





InterOcean Designs :: ProBoards Codes :: Code Chat & Support :: Move 'Started By' Under Thread Name
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Move 'Started By' Under Thread Name (Read 119 times)
Pebble
Code Helper
IOD Supporter
member is offline

[avatar]


[homepage]

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]

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>
Link to Post - Back to Top  IP: Logged

[image]

   [Search This Thread] [Share Topic] [Print]


Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile