[thelist] JavaScript rollover problem in IE4,5

Jeff Howden c4wd at triax.com
Wed, 11 Aug 1999 16:09:21 -0700


rudy,

>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>From: rudy limeback <r937@interlog.com>
> change
>
>     document[imgName].src = eval....
>
> to
>
>    document.images[imgName].src = eval....
>
>
> i hope jeff didn't beat me to it...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

you only beat me cause i was sleeping.  ; ]

<TIP TYPE=JavaScript>

Want one of those spiffy dropdown navigational menus on your page?  Want the
simplest script possible to make it work?  Here you go:

<!--  put this in the head of your document -->

    <SCRIPT LANGUAGE="JavaScript">
      <!--
        function evolt_dropnav(obj)
        {
          if(obj != 0)
          {
            window.location.href = obj;
          }
        }
      // -->
    </SCRIPT>

<!-- put this in the body of your document -->

<form>
  <select name="menu" onChange="evolt_dropnav(this.value)">
    <option value="">Choose One</option>
    <option value="page1.html">Page 1</option>
    <option value="page2.html">Page 2</option>
    <option value="page3.html">Page 3</option>
    <option value="page4.html">Page 4</option>
  </select>
</form>

you can have as many dropdown lists as you want on a single page.  just
insert another select list in between the form tags and change the name of
the select list.

</TIP>

later,

.jeff