Greetings,
Anyone have any "rollover" image code that works on touchscreens? The one I use does not work as there is no "MouseOver" on a touchscreen. I want to get the graphic to change when touched signifiying "on"...no what I mean?.
Here is the code I use on standard browsers.
<a href="remote.asp" onClick="if(document.images) document.home0.src='/rover/icons/home-on.gif';"
onMouseOver="if(document.images) document.home0.src='/rover/icons/home-on.gif';"
onMouseOut="if(document.images) document.home0.src='/rover/icons/home-off.gif';" >
<IMG NAME="home0" SRC="/rover/icons/home-off.gif" BORDER="0"></a>
Anyone have any "rollover" image code that works on touchscreens? The one I use does not work as there is no "MouseOver" on a touchscreen. I want to get the graphic to change when touched signifiying "on"...no what I mean?.
Here is the code I use on standard browsers.
<a href="remote.asp" onClick="if(document.images) document.home0.src='/rover/icons/home-on.gif';"
onMouseOver="if(document.images) document.home0.src='/rover/icons/home-on.gif';"
onMouseOut="if(document.images) document.home0.src='/rover/icons/home-off.gif';" >
<IMG NAME="home0" SRC="/rover/icons/home-off.gif" BORDER="0"></a>
Comment