Results 1 to 4 of 4

Thread: Chrome CSS Drop Down Menu (v2.4) OnClick

  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Chrome CSS Drop Down Menu (v2.4) OnClick

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try the below modified .js file.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    zhaff (10-09-2008)

  4. #3
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Its working perfectly. Thank you.

  5. #4
    Join Date
    Sep 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am not abel to see modified .js file in this post..

    Please help me

Bookmarks

Posting Permissions

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