inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 9:08:34 GMT -8
Forum URL: bluekitsune.proboards77.comHow do you program the banner to link back to the home page? Right now, it only acts as an image.
|
|
#eb7100
1480
0
1
May 8, 2024 3:57:45 GMT -8
Craig
208,882
September 2001
cmdynasty
|
Post by Craig on Nov 13, 2005 9:35:26 GMT -8
Forum URL: bluekitsune.proboards77.comHow do you program the banner to link back to the home page? Right now, it only acts as an image. <script type="text/javascript"> <!-- document.getElementsByTagName('img')[0].onclick = function () {location.href=' url of link';} // --> </script> In your global header.
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 10:17:59 GMT -8
When I put that in - the website refreshed continuously...
|
|
#eb7100
1480
0
1
May 8, 2024 3:57:45 GMT -8
Craig
208,882
September 2001
cmdynasty
|
Post by Craig on Nov 13, 2005 10:21:02 GMT -8
Sorry, forgot a bit. try it now.
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 10:24:35 GMT -8
It works - thanks! Just one more problem...nothing major - but when you put your mouse pointer over the banner, the link is there but the icon doesn't change to a hand...you know, the icon that shows you there is a link.
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Nov 13, 2005 11:01:06 GMT -8
It works - thanks! Just one more problem...nothing major - but when you put your mouse pointer over the banner, the link is there but the icon doesn't change to a hand...you know, the icon that shows you there is a link. try this: <script type="text/javascript"> <!-- document.getElementsByTagName('img')[0].onclick = function () {location.href='http://bluekitsune.proboards77.com/index.cgi';} document.getElementsByTagName('img')[0].style='cursor:hand'); // --> </script>
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 11:09:23 GMT -8
Hmm...nope - it doesn't work. The direct link is now lost.
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Nov 13, 2005 11:15:29 GMT -8
Hmm...nope - it doesn't work. The direct link is now lost. I made a syntax error... try this: <script type="text/javascript"> <!-- document.getElementsByTagName('img')[0].onclick = function () {location.href='http://bluekitsune.proboards77.com/index.cgi';} document.getElementsByTagName('img')[0].style='cursor:hand'; // --> </script>
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 11:36:48 GMT -8
Nope...still a mouse.
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Nov 13, 2005 11:45:09 GMT -8
try this (I've tested it this time) <style type="text/css"> .mouseoverbanner{ cursor: hand; } </style> <script type="text/javascript"> <!-- document.getElementsByTagName('img')[0].onclick = function () {location.href='http://bluekitsune.proboards77.com/index.cgi';} document.getElementsByTagName('img')[0].className='mouseoverbanner'; // --> </script>
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 11:53:42 GMT -8
Yes! It works! Thanks a bunch!
Next problem - how do you get rid of the "Hey *name* you have *number* messages" and just have the logo visible?
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Nov 13, 2005 12:00:29 GMT -8
Yes! It works! Thanks a bunch! Next problem - how do you get rid of the "Hey *name* you have *number* messages" and just have the logo visible? global headers: <script type="text/javascript"> <!-- document.getElementsByTagName('td')[2].style.display="none"; //--> </script>
|
|
inherit
64048
0
Dec 3, 2005 6:18:06 GMT -8
Blue Kitsune
7
November 2005
bluekitsune
|
Post by Blue Kitsune on Nov 13, 2005 12:11:21 GMT -8
Sorry about the slow reply - but thanks! That helps so much!
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Nov 13, 2005 12:15:54 GMT -8
Sorry about the slow reply - but thanks! That helps so much! you're welcome
|
|