Chromemenu
http://www.dynamicdrive.com/dynamici...rome/index.htm
Hi,
I am trying to incorperate chromemenu in a website. I have put the building of the menu structure into a js file, so that it can easily be changed on one position in the website, and added it into several htm pages within the site.
When I try to add a link to the main item AND use a reference to a dropdown on that main item, the link isn't followed when clicked on:
When I remove the rel='dropmenu1' it does work:Code:document.write("<div class='chromestyle' id='chromemenu'>") document.write("<ul>") document.write("<li><a href='default.htm' rel='dropmenu1'>Home</a></li>") document.write("</ul>") document.write("</div>") document.write("<div id='dropmenu1' class='dropmenudiv' style='width: 170px;'>") document.write("<a href='welkom_historie.htm'>Historie</a>") document.write("<a href='welkom_organogram.htm'>Organogram</a>") document.write("</div>")
This is tested in IE7.Code:document.write("<div class='chromestyle' id='chromemenu'>") document.write("<ul>") document.write("<li><a href='default.htm'>Home</a></li>") document.write("</ul>") document.write("</div>")
Is there a way to work around this behaviour?



Reply With Quote

Bookmarks