Emo Kid
Full Member
Banned!1
Join my forum, ho!
Posts: 566
inherit
Banned!1
67068
0
Jun 23, 2006 23:25:58 GMT -8
Emo Kid
Join my forum, ho!
566
December 2005
coward
|
Post by Emo Kid on Dec 31, 2005 17:01:33 GMT -8
Forum URL: www.gtamasterforums.proboards77.comok, you know how u can make your board title highlight to a color when you put the cursor on it, well, is there a way to make it highlight to an image?
|
|
inherit
"support Goddess"
59854
0
Oct 16, 2007 9:22:41 GMT -8
Ms PiXie
have a nice day :)
7,823
September 2005
pixiestix
|
Post by Ms PiXie on Dec 31, 2005 17:04:45 GMT -8
Forum URL: www.gtamasterforums.proboards77.comok, you know how u can make your board title highlight to a color when you put the cursor on it, well, is there a way to make it highlight to an image? yeah try this code.. (goes in global Footer) <script type="text/javascript"> <!-- /* Main page/boards image highlight
Created by Peter
This code cannot be reposted at anywhere other than SSDesigns or ProBoards, without permission.
This header must stay intact at all times. */
// Image for the mouseover var overImage = "IMAGE URL";
var iCell = document.getElementsByTagName("td");
for(c = 0; c < iCell.length; c ++){ if(iCell.item(c).className.match(/^windowbg/i) && iCell.item(c).width.match(/^(66|48|43)%/)){ if(document.all){ iCell.item(c).onmouseenter = function(){ this.style.backgroundImage = "url('" + overImage + "')"; } iCell.item(c).onmouseleave = function(){ this.style.backgroundImage = ""; } } else { for(a = 0; a < iCell.item(c).attributes.length; a ++){ if(iCell.item(c).attributes.item(a).nodeName.match(/^onmouseover$/i)){ with(iCell.item(c).attributes.item(a)){ nodeValue = "this.style.backgroundImage = 'url(\\'" + overImage + "\\')'; " + nodeValue; } } if(iCell.item(c).attributes.item(a).nodeName.match(/^onmouseout$/i)){ with(iCell.item(c).attributes.item(a)){ nodeValue = "this.style.backgroundImage = ''; " + nodeValue; } } } } } }
//--> </script>
|
|
Emo Kid
Full Member
Banned!1
Join my forum, ho!
Posts: 566
inherit
Banned!1
67068
0
Jun 23, 2006 23:25:58 GMT -8
Emo Kid
Join my forum, ho!
566
December 2005
coward
|
Post by Emo Kid on Dec 31, 2005 17:33:49 GMT -8
thank u but its not working, is there sumthing in the code i have to edit?
|
|
inherit
"support Goddess"
59854
0
Oct 16, 2007 9:22:41 GMT -8
Ms PiXie
have a nice day :)
7,823
September 2005
pixiestix
|
Post by Ms PiXie on Dec 31, 2005 17:38:36 GMT -8
thank u but its not working, is there sumthing in the code i have to edit? yeah, this part--> "IMAGE URL" you have to put an hosted image there.
|
|