Results 1 to 8 of 8

Thread: Chrome CSS Drop Down Menu (v2.0) Problem in Firefox 2 RC2

  1. #1
    Join Date
    Oct 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chrome CSS Drop Down Menu (v2.0) Problem in Firefox 2 RC2

    1) Script Title: Chrome CSS Drop Down Menu (v2.0)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:
    Functionality seems partially compromised in Firefox 2 (release candidate 2). drop downs do not disappear as consistently as they do in the current release (they will not disappear unless you click within the drop down or mouse OVER the menu; otherwise the menus remain visible).

    Would have thought it was a local issue, but I see it does the same thing on the DD page.

    I'm on a mac (not sure if this extends to a pc), btw.

    Being that this is rc2, I'm thinking this may stay this way in the next official FF release

    Wondering if anyone else has noted this and has a work-around?

    Thanks!

  2. #2
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    RC2 means they are fixing bugs not adding features. If you really want this fixed issolate the problem, and post it to bugzilla.

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

    Default

    I've yet to download Firefox 2.0 since it's not yet gone gold yet. Once it does, and if there still is a problem with Chrome menu (and any other scripts on DD), rest assured I'll be fixing them. I'm on Windows though, not that it should matter when it comes to Firefox.

  4. #4
    Join Date
    Oct 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the info. Glad to hear it.

    I'm also looking forward to the next release candidate (slated for Tuesday, I think). Hopefully, all will be working again there. If not, I'll also try to do as Brady suggested (isolate the problem and post to bugzilla), but as my javascript knowledge is really basic, that may be more wishful thinking on my part than anything

    Thanks again,
    rjb

  5. #5
    Join Date
    Oct 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, for what it's worth, the problem persisted in rc3 *grumble*, but I was able to tweak things a bit to get it working properly again on my side.

    Apologies in advance, because I'm sure this is probably a Not Good way of handling things, but it does seem to work again. If someone else has a better alternative, I'm all ears

    I could isolate the problem to something in here:
    dynamichide:function(e){
    var evtobj=window.event? window.event : e
    if (this.ie&&!this.dropmenuobj.contains(evtobj.toElement))
    this.delayhidemenu()
    else if (this.firefox&&e.currentTarget!= evtobj.relatedTarget&& !this.contains_firefox(evtobj.currentTarget, evtobj.relatedTarget))
    this.delayhidemenu()
    }

    so...*ahem* I simply tacked on an additional else statement, sans conditions.

    else
    this.delayhidemenu()

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

    Default

    Ok, I finally installed Firefox 2 today, and have fixed the issue with the drop down menu not disappearing in that browser: http://www.dynamicdrive.com/dynamici...rome/index.htm FYI, just locate the change the line inside chrome.js from:

    Code:
    this.dropmenuobj.onmouseout=function(){cssdropdown.dynamichide(e)}
    to:

    Code:
    this.dropmenuobj.onmouseout=function(e){cssdropdown.dynamichide(e)}

  7. #7
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    That code actually worked with a typo like that before?

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

    Default

    Lol yep, strangely enough, even without explicitly passing in an event object.

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
  •