Any help would be greatly appreciated. Here is the code:
[B]stylesheet:[/B]
* {margin:0; padding:0;}
#button_chalk,
#button_chalk a
{
position: relative;
width: 40px;
height: 40px;
background: url("http://forum.codecall.net/images/button1.gif");
}
#button_chalk:hover
{
position: relative;
background: url("http://forum.codecall.net/images/button1.gif");
}
#button_chalk span
{
position: relative;
}
[B]HTML[/B]
<a id="button_chalk" href="2.php?a=2">
<span onclick="clickednext()"></span>
<span></span>
</a>
and right before the </body> tag I have:
<script type="text/javascript">button1 = new Image(40,40)
button1.src="http://forum.codecall.net/images/button1.gif"
button2= new Image(40,40)
button2.src="http://forum.codecall.net/images/button2.gif"
</script>
Don't worry about the clickednext() thing, it doesn't really do much. It's there to load a function when the user clicks the button. It still doesn't work when I remove that line, so it isn't that. :/
Edited by WingedPanther, 07 February 2009 - 10:31 AM.
add c


Sign In
Create Account

Back to top









