GeminiDaddy
MIS
I have an image map, using <map> and <area> tags that I want to 'flip' the URL when somebody clicks a button.
Here is my html
The following Javascript works in Mozilla/Firefox:
I also want to do stuff like set the coords, alt tags, and title. A quick test of these in Mozilla firefox showed that I think it will work. How the heck do you do this in IE?????
strong mind, strong body and vice versa
Here is my html
Code:
<map name="myMap"><area name="myMap" shape="rect" coords="11,241,206,257" href="mailto:jo@here.com" alt="mail to jo" title="mail to jo"></map>
The following Javascript works in Mozilla/Firefox:
Code:
window.document.links['myMap'].href='mailto:blootytooty@someplace.com';
I also want to do stuff like set the coords, alt tags, and title. A quick test of these in Mozilla firefox showed that I think it will work. How the heck do you do this in IE?????
strong mind, strong body and vice versa