Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Dec 16th, 2017, 05:17am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Topics/Posts Cell Highlight  (Read 4451 times)
I've always wanted one of these wink
Conforums Administrator

member is offline


Mr Fixit...

Homepage PM

Gender: Male
Posts: 17654
xx Topics/Posts Cell Highlight
« Thread started on: Feb 5th, 2004, 3:14pm »

Code submitted by InvaderJello

This code highlights the Topics/Posts cells(the too small ones with numbers in them)on the main page. Put this code in your MAIN FOOTERS

// Topics/Posts cell highlight by Jello

var TD=document.getElementsByTagName("TD")
var Color = "00ff00"
if(TD[t].width=="1%" && TD[t].className.match("windowbg")){
TD[t].onmouseover=function(){; };
TD[t].onclick = function(){
location = this.previousSibling.all[1].innerHTML.split("\"")[1];}
if(TD[t+1].width=="24%"){TD[t].onclick=function(){location = this.previousSibling.previousSibling.all[1].innerHTML.split("\"")[1];}}}

You can change the color to match your forum by changing
var Color="00ff00"
Just change the color!

Preview =
User IP Logged

Have you read the FAQ or checked the Hacks board before posting?
Then please do so...
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls