| Can pseudo-url in image maps work?
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Tana on August 24, 2000 at 15:25:44:
I'm trying to assign a javascript: pseudo-url inside an image map to link to another page( a frame page). According to my reference book, I can do this. But it doesn't work when I try. I don't know if my syntax is wrong or whatever. Here is an example of my code: my javascript function for "url": (I'm browser detecting by the way which explains my frame sizes)
function url(){ if (navigate == "Netscape") { document.forms[0].action = "page.asp?frames='113,380*'"; document.forms[0].submit();} else {document.forms[0].action = "page.asp?frames='113,380*'"; document.forms[0].submit();} <img src="image.gif" width="459" height="38" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="1,1,153,36" href="javascript: url();"></map> Many thanks if anyone can help.
Tana
Follow Ups:
|