|
I've already customized each class with cursor:hand but when I click on the button, the onmousedown still shows the pointer.
<style type="text/css">
.button {
width:91;
height:28;
background-color:transparent;
background-image:url(redblue.gif);
color:white;
font:bold italic 17 tahoma;
border:none;
cursor:hand;
}
.button_dn {
width:91;
height:28;
background-color:transparent;
background-image:url(redblue_d.gif);
color:white;
font:bold italic 17 tahoma;
border:none;
cursor:hand;
}
</style>
<input type="button" onfocus="this.blur();" value="ZOOBIE" class="button"
onMouseDown='this.className="button_dn"'
onMouseUp='this.className="button"'>
Maybe it's a result of using this type of styling with this.className.
Using the <input type="button"> rather than the <img src=blah.gif> looks more like a button because when you click on it, the text actually moves up and down, too.
However, if I were to use the onclick="this.src='image2.jpg'"; just how am I supposed to include the action of the button itself if onClick has already been used?
Thanks
__________________
Zoobie or not Zoobie...That is the problem.
<body onUnload="flush( ! )">
Last edited by zoobie; 11-27-2002 at 03:17 AM..
|