maps with javascript in Netscape6 doesn't works?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nadie

    maps with javascript in Netscape6 doesn't works?

    Hello. I do a page thats change de value in a "select" field. whe you put
    the mouseOver. showing 1 or 2 in the select field.
    It works well in IE, but only the bottom area of the map changes the value
    in Netscape.
    Anybody can help me?. I intend to do a cross browser web.
    Here is the dir: http://www.academiaforum.com/inmo/borrar.htm
    Thanks!!!


  • Janwillem Borleffs

    #2
    Re: maps with javascript in Netscape6 doesn't works?


    "nadie" <nadie@estravag ancia.__com> wrote in message
    news:bvtccp$1q1 $1@news.ya.com. ..[color=blue]
    > Hello. I do a page thats change de value in a "select" field. whe you put
    > the mouseOver. showing 1 or 2 in the select field.
    > It works well in IE, but only the bottom area of the map changes the value
    > in Netscape.
    > Anybody can help me?. I intend to do a cross browser web.
    > Here is the dir: http://www.academiaforum.com/inmo/borrar.htm[/color]

    The first step to do a cross browser web, is to get rid of that terrible DW
    js code:

    <script type="text/JavaScript">
    function setSelected(f,e ,i) {
    document.forms[f].elements[e].selectedIndex = i;
    }
    </script>

    ....

    <area shape="rect" coords="3,191,2 46,406" href="#" alt="a"
    onMouseOver="se tSelected('form 1','select', 1)">
    <area shape="rect" coords="2,4,245 ,187" href="#" alt="b"
    onMouseOver="se tSelected('form 1','select', 2)">



    JW



    Comment

    • nadie

      #3
      Re: maps with javascript in Netscape6 doesn't works?

      thanks a lot, i'll try it now.
      Sorry, but I don't know very well any programation languaje... and I use
      assistants like DW
      "Janwillem Borleffs" <jw@jwscripts.c om> escribió en el mensaje
      news:40225c6f$0 $38559$abc4f4c3 @news.wanadoo.n l...[color=blue]
      >
      > "nadie" <nadie@estravag ancia.__com> wrote in message
      > news:bvtccp$1q1 $1@news.ya.com. ..[color=green]
      > > Hello. I do a page thats change de value in a "select" field. whe you[/color][/color]
      put[color=blue][color=green]
      > > the mouseOver. showing 1 or 2 in the select field.
      > > It works well in IE, but only the bottom area of the map changes the[/color][/color]
      value[color=blue][color=green]
      > > in Netscape.
      > > Anybody can help me?. I intend to do a cross browser web.
      > > Here is the dir: http://www.academiaforum.com/inmo/borrar.htm[/color]
      >
      > The first step to do a cross browser web, is to get rid of that terrible[/color]
      DW[color=blue]
      > js code:
      >
      > <script type="text/JavaScript">
      > function setSelected(f,e ,i) {
      > document.forms[f].elements[e].selectedIndex = i;
      > }
      > </script>
      >
      > ...
      >
      > <area shape="rect" coords="3,191,2 46,406" href="#" alt="a"
      > onMouseOver="se tSelected('form 1','select', 1)">
      > <area shape="rect" coords="2,4,245 ,187" href="#" alt="b"
      > onMouseOver="se tSelected('form 1','select', 2)">
      >
      >
      >
      > JW
      >
      >
      >[/color]


      Comment

      Working...