Hi!
I'm trying to create a javaxcript application that changes a image menu
by following the mouse, something like:
<!-- menu images are m1, m2, m3.gif-->
<script language="JavaS cript">
function option1()
{ document.getEle mentById("menu" ).write("<img src=m1.gif>"); }
function option2()
{ document.getEle mentById("menu" ).write("<img src=m2.gif>"); }
....</script>
<div id="menu">
<OBJECT data="m1.gif" type="image/gif" usemap="#map1" border=0>
<MAP name="map1">
<AREA HREF="#/" COORDS="0,0,50, 14" onMouseOver="Op tion1()">
<AREA HREF="#/" COORDS="50,0,10 0,14" onMouseOver="Op tion2()">
....
</MAP></OBJECT>
</div>
I think you get the idea...
This seems very easy to do but it's not, believe me.
Any ideas? Thanks in advance!
I'm trying to create a javaxcript application that changes a image menu
by following the mouse, something like:
<!-- menu images are m1, m2, m3.gif-->
<script language="JavaS cript">
function option1()
{ document.getEle mentById("menu" ).write("<img src=m1.gif>"); }
function option2()
{ document.getEle mentById("menu" ).write("<img src=m2.gif>"); }
....</script>
<div id="menu">
<OBJECT data="m1.gif" type="image/gif" usemap="#map1" border=0>
<MAP name="map1">
<AREA HREF="#/" COORDS="0,0,50, 14" onMouseOver="Op tion1()">
<AREA HREF="#/" COORDS="50,0,10 0,14" onMouseOver="Op tion2()">
....
</MAP></OBJECT>
</div>
I think you get the idea...
This seems very easy to do but it's not, believe me.
Any ideas? Thanks in advance!
Comment