...

View Full Version : Menu is killing me - it doesn't work in IE6!



tolderberg
06-05-2007, 04:45 PM
Hi there,

I'm loosing my mind over this menu of mine. I got it from this site:
http://dynamicdrive.com/dynamicindex1/chrome/index.htm
and I simply love it.
It's just that on this site:
http://gmv.2lderlund.dk/dk/dk_contact.htm
using this stylesheet:
http://gmv.2lderlund.dk/css/gmv.css

The menu is not working in IE6. No problems in IE7 and FF2
I mean, just look at this:
http://gmv.2lderlund.dk/oev/screenshot.gif

Please help me figure this out:confused:

Thanks in advance

/Tolderberg

koyama
06-05-2007, 06:35 PM
The menu is not working in IE6. No problems in IE7 and FF2
I didn't take a look at it, but a quick glance at the code shows that you have to elements with the same id attribute:


<div class="chromestyle" id="chromemenu">
<div class="chromestyle" id="chromemenu"><ul>

<li><a href="dk_profile.htm">Profil</a></li>
<li><a href="#" rel="winletmenu">Win-let 200</a></li>
<li><a href="#" rel="prodmenu">Produktion</a></li>
<li><a href="#" rel="rentalmenu">Udlejning</a></li>
<li><a href="dk_contact.htm">Kontakt</a> </li>
</ul>

</div>
<div id="winletmenu" class="dropmenudiv">
<a href="dk_winlet200.htm">Produktet</a>
<a href="dk_winletinuse.htm">Maskinen i brug</a>
<a href="dk_winletaddons.htm">Tilbehørsprogram ny</a>
<a href="dk_testimonials.htm">Det siger kunderne</a>
<a href="../PDF/dk_winlet200.pdf" target="_blank">Hent brochure</a> </div>

<div id="prodmenu" class="dropmenudiv" style="width: 160px;">
<a href="dk_gas_concrete.htm">Montagegrej til Gasbeton</a>
<a href="dk_metalshop.htm">Øvrigt Smedearbejde</a> </div>
<div id="rentalmenu" class="dropmenudiv" style="width: 120px;">
<a href="dk_rental_lifts.htm">Kurvelifte</a> </div>
</div>

If the script invokes that id attribute there may be problems. Try to fix what needs to be fixed and then repost a link if it doesn't help.

_Aerospace_Eng_
06-05-2007, 07:38 PM
You don't need javascript to create a menu like that. Well you will for IE6 but its a very small snippet of JS.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum