On Sat, Jan 8, 2011 at 3:23 AM, Dagmar Noll <dag...@wincog.org> wrote:

> 1. The javascript is a dropdown menu you can see working here, before I did
> a lot of tweaking:
> http://www.theroute6hoprivercorridor.com/links.html
>
> 2. Here is the same page after I stripped it of most of its tables and
> replaced with CSS:
> http://www.theroute6hoprivercorridor.com/links_stripped.html
>
> Note that the drop-down "Towns" menu no longer works in Firefox (it is fine
> in IE).
>

The http://www.theroute6hoprivercorridor.com/javascript/towndropdown.js

should be changed to this (from line 4):
document.getElementById('contents').style.visibility="visible";
  refer=false;
}
else {
  document.getElementById('contents').style.visibility="hidden";
  refer=true;
}
}

Note that you can have a similar menu using only CSS. See:
http://roughtech.com/t/dropdown.html

~Chetan
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to