We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE] Highlight Cells; version 4; By Fire Pheonix (PM)
Topic Started: Jan 23 2010, 01:05 AM (78 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Fire Pheonix (PM)
[CODE
 
Highlight Cells; version 4]Welll i took Razorices code and updated it a bit.

Quote:
 
<script>
/*
Highlight Cells created by Webworldx
Highlight Cells ver2 by RazorICE
Highlight Cells ver3 by RazorICE
Highlight Cells ver4 bye Fire Pheonix
*/
var statusMessage = 'YOUR SITE NAME';

window.status = statusMessage;
var tCell= document.getElementsByTagName('TD');
for (i=0;i<tCell.length;i++){with(tCell){
if (className=="row4"){
if (innerHTML.match("showforum=")){
onmouseover=function(){this.style.backgroundColor="E1E1E1";this.style.cursor='hand';window.status=this.getElementsByTagName('a')[0].innerHTML;}
onmouseout=function(){this.style.backgroundColor="E9E9E9";window.status=statusMessage;}
onclick = function(){this.style.backgroundColor="000000";location = this.getElementsByTagName('a')[0].href;}
}}
if (className=="row2"){
if (innerHTML.match("showtopic=")){
onmouseover=function(){this.style.backgroundColor="E1E1E1";this.style.cursor='hand';}
onmouseout=function() {this.style.backgroundColor="E9E9E9"}
onclick = function(){location = this.getElementsByTagName('a')[0].href;}
onclick = function(){this.style.backgroundColor="000000";location = this.getElementsByTagName('a')[0].href;}
}
}}}
</script>


Red: The color you want it to be when your mouse oges over it.
Blue: The color you want it to be when you take your mouse off. If you want it too be the same color it started off with then leave this blank.
Purple: The color you want it to turn when you click on it.



Hope you enjoy, The copyright must be intact whereever this is used.

Place Code in Admin CP >> Skinning & Styles >> Board Wrappers >> Footer.

PREVIEW IT HERE?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create a free forum in seconds.
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply