PDA

View Full Version : Simple Drop Down Menu in Windows Explorer 8



RTG
04-22-2010, 02:53 AM
1) Script Title: Anylinkmenu (simple drop down menu)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: I used the published instructions to create a simple drop down menu on a test site. This version specifies the use of 3 files:

anylinkmenu.css
anylinkmenu.js
menucontents.js

The drop down feature works very nicely when viewed with Firefox 3.5, Opera 10, and Safari. But it doesn't work when viewed with Explorer 8 (on Windows 7) I can't determine why.

Here's the test page: www.cascadingdesign.info/government/default.html

Here's the coding I used:

In header:

<link rel="stylesheet type="text/css" href="anylinkmenu.css" />
<script type="text/javascript" src="menucontents.js"></script>
<script type="text/javascript" src="anylinkmenu.js"></script>
<script type="text/javascript">anylinkmenu.init("menuanchorclass")</script>

In body:

<div id="Navtab1"><a href="default.htm;" class="menuanchorclass" rel="anylinkmenu1"> <img src="tab1.jpg" /></a></div>
<div id="Navtab2"><a href="default.htm;" class="menuanchorclass" rel="anylinkmenu2"> <img src="tab2.png" /></a></div>
<div id="Navtab3"><a href="default.htm;" class="menuanchorclass" rel="anylinkmenu3"> <img src="tab3.png" /></a></div>
<div id="Navtab4"><a href="default.htm;" class="menuanchorclass" rel="anylinkmenu4"> <img src="tab4.png" /></a></div>
<div id="Navtab5"><a href="default.htm;" class="menuanchorclass" rel="anylinkmenu5"> <img src="tab5.png" /></a></div>

Any insight would be appreciated ! Thanks.

PS: I looked through the threads but I couldn't find this problem (sorry if the topic may have already been covered previously).


Ron