|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everybody,
the following code does not work with Netscape 4.x: <map name="startMap"> <area onClick="show1();" shape="rect" alt="show1" coords="680,2,760,30"> <area onClick="show2();" shape="rect" alt="show1" coords="220,2,300,30"> </map> <img src="../gfx/pb_start.jpg" usemap="#startMap" alt="press Start"> When clicking on the specified area of the image, nothing happens. With IE5 though it works perfectly. Does anybody have a suggestion for that ? Thanks a lot ! Andreas |
|
#2
|
|||
|
|||
|
Your function show1() passes no parameters. Could this be causing the problem? Also, I typically use a javascript URL when calling a function. Try onClick="javascript:show1();"
Russ <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by andi: Hi everybody, the following code does not work with Netscape 4.x: <map name="startMap"> <area onClick="show1();" shape="rect" alt="show1" coords="680,2,760,30"> <area onClick="show2();" shape="rect" alt="show1" coords="220,2,300,30"> </map> <img src="../gfx/pb_start.jpg" usemap="#startMap" alt="press Start"> When clicking on the specified area of the image, nothing happens. With IE5 though it works perfectly. Does anybody have a suggestion for that ? Thanks a lot ! Andreas [/quote] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Problem: Netscape and <area onClick="... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|