Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Menu is killing me - it doesn't work in IE6!

    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

    Thanks in advance

    /Tolderberg

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by tolderberg View Post
    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:
    Code:
          	<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.

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You don't need javascript to create a menu like that. Well you will for IE6 but its a very small snippet of JS.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •