View Full Version : Chrome Menus--Using a href normally

06-18-2008, 04:51 PM
1) Script Title: Chrome Menus--Hover Menus

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

3) Describe problem:

The menus appear when the link is clicked ' rel="dropmenu1" href="#" '

Is there anyway to use the a href to forward to a link AND show the hover?

Something like:

a href="http://google.com" onmouseover="dropmenu1"

...or whatever it takes to get the menus to hover and still forward to a link?

06-19-2008, 03:54 PM
In the configuration for the chrome.js file:

//Chrome Drop Down Menu v2.01- Author: Dynamic Drive (http://www.dynamicdrive.com)
//Last updated: November 14th 06- added iframe shim technique

var cssdropdown={
disappeardelay: 250, //set delay in miliseconds before menu disappears onmouseout
disablemenuclick: true, //when user clicks on a menu item with a drop down menu, disable menu item's link?
enableswipe: 1, //enable swipe effect? 1 for yes, 0 for no
enableiframeshim: 1, //enable "iframe shim" technique to get drop down menus to correctly appear on top of controls such as form objects in IE5.5/IE6? 1 for yes, 0 for no

//No need to edit beyond here////////////////////////
dropmenuobj: null, ie: document.all, firef . . .

Using a text only editor like notepad, change the highlighted value to false and save.