#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    11
    Rep Power
    0
    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. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    81
    Rep Power
    14
    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]


IMN logo majestic logo threadwatch logo seochat tools logo