Image Lighting up code. (Does Not Work)
2 posters
Page 1 of 1
Image Lighting up code. (Does Not Work)
I made this code for my site, when you wheel your mouse around the staff images. In the bottom, a rectangular rank image will appear with a name of the staff member, when you wheel your mouse around there image. For some reason the code does not work. Can somebody help? This is what I have so far:
- Code:
<a href="http://naruto-l-d.forumotion.com/u1" onmouseover="swap(this,'showperson','Kratos')"><img src="http://img17.imageshack.us/img17/56/kratosip.png" alt="Head Administrator" border="0"></a>
<a href="http://naruto-l-d.forumotion.com/u8" onmouseover="swap(this,'showperson','Kira')"><img src="http://img5.imageshack.us/img5/2701/iana.png" alt="Administrator" border="0"></a>
<a href="http://naruto-l-d.forumotion.com/u11" onmouseover="swap(this,'showperson','Zero')"><img src="http://img62.imageshack.us/img62/7493/zerofg.png" alt="Administrator" border="0"></a>
<br><img src="http://img707.imageshack.us/img707/2931/blankn.png" name="showperson" align="center" border="0px" height="25px" width="120px">
<script type="text/javascript">
setswap("showperson",
'Kratos', 'http://img233.imageshack.us/img233/5163/kratos2.png',
'Kira', 'http://img8.imageshack.us/img8/1553/ian2z.png',
'Zero, 'http://img546.imageshack.us/img546/2533/zero2.png',
//
</script>
Re: Image Lighting up code. (Does Not Work)
amen dreamweaver.
You didn't close 'Zero, .
This is a fixed code.
not sure if it will work now or not
You didn't close 'Zero, .
This is a fixed code.
- Code:
<a href="http://naruto-l-d.forumotion.com/u1" onmouseover="swap(this,'showperson','Kratos')"><img src="http://img17.imageshack.us/img17/56/kratosip.png" alt="Head Administrator" border="0"></a>
<a href="http://naruto-l-d.forumotion.com/u8" onmouseover="swap(this,'showperson','Kira')"><img src="http://img5.imageshack.us/img5/2701/iana.png" alt="Administrator" border="0"></a>
<a href="http://naruto-l-d.forumotion.com/u11" onmouseover="swap(this,'showperson','Zero')"><img src="http://img62.imageshack.us/img62/7493/zerofg.png" alt="Administrator" border="0"></a>
<br><img src="http://img707.imageshack.us/img707/2931/blankn.png" name="showperson" align="center" border="0px" height="25px" width="120px">
<script type="text/javascript">
setswap("showperson",
'Kratos', 'http://img233.imageshack.us/img233/5163/kratos2.png',
'Kira', 'http://img8.imageshack.us/img8/1553/ian2z.png',
'Zero', 'http://img546.imageshack.us/img546/2533/zero2.png',
</script>
not sure if it will work now or not
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Image Lighting up code. (Does Not Work)
Should the
setswap("showperson
have a closing parenthesis, or maybe an apostrophe instead?
setswap("showperson
have a closing parenthesis, or maybe an apostrophe instead?
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum