PDA

View Full Version : Chrome CSS Drop Down Menu (v2.4) OnClick



zhaff
10-09-2008, 04:57 AM
1) Script Title:
Chrome CSS Drop Down Menu (v2.4)

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

3) Describe problem:
Hi, I tried to modify chrome.js by changing "mouseover" to "click" as per below:

this.addEvent(menuitems[i], function(e){ //show drop down menu when main menu items are mouse over-ed
if (!cssdropdown.isContained(this, e)){
var evtobj=window.event || e
cssdropdown.dropit(this, evtobj, this.getAttribute("rel"))
}, "click")

Its working in IE7 but not working in FireFox 2.0, any one can help?
Thank you.

ddadmin
10-09-2008, 06:11 AM
Try the below modified .js file.

zhaff
10-09-2008, 07:06 AM
Its working perfectly. Thank you.

mangamuri
09-16-2013, 06:41 PM
I am not abel to see modified .js file in this post..

Please help me