Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Accordion Apple Style, OnMouseOut collapse All

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

    Default

    Hmmm everything looks right. As part of trying to visually see where the ".submenu" areas are, I saved a local copy of your page and gave that area an explicit background via CSS:

    Code:
    <style type="text/css">
    .submenu{background: yellow}
    </style>
    I don't see this being applied to your expanded content area, however. Is there something in your CSS that's causing this?
    DD Admin

  2. #12
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    could be....okay to test this I threw the whole script on a page by itself. And then put back in the original CSS. It is something to do with the CSS.
    I can't promise I'll get it figured out today (am battling flu) but will let you know when it's settled.

    Thanks so (SOOOO) much for the quick responses and all the help. I'll let you know what it was that buggered the script. If you are interested the script is at http://www2.creighton.edu/testing/m-...yandstaff/one/.

    Thanks again, I'll let you know

  3. #13
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Not Quite Doing the Trick

    Quote Originally Posted by ddadmin View Post
    Ah yes. Try the below .js file then in place of what I posted above.
    I've tried this and I have the same outcome as the first .js file: the menus collapse when the submenu is moused over:

    http://dev.eller.arizona.edu/index_menu1.aspx

    Thoughts?

    Thanks much!

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

    Default

    Wow this one's got me running around in circles. Ok, try the below .js file instead.
    DD Admin

  5. #15
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks much for the quick turnaround. Well, I have to say I'm not sure what's going on with it now. It seemed to work for the first three nav items, but not the next five, and then if I mouseover them again, it's back to the original behavior of not staying open at all. Or at least I don't see any consistency.

    Perhaps it's something to do with the images I've inserted between the menuheaders?

  6. #16
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No, that doesn't seem to make a difference:

    http://dev.eller.arizona.edu/index_menu2.aspx

    I also toggled the persiststate to see if that makes a difference, but doesn't appear to. On the latest .js, the menu will both open on the mouseover and, next time moused over (or so it seems) close.

    Any assistance is of course greatly appreciated.

  7. #17
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Also, a follow-up question:

    Is it possible to trigger the closing/opening only on the text itself and not the full area or line?

    Obviously I'm not much of a CSS expert, so perhaps that's an easy solution.

    Thanks.

  8. #18
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    For me I found it was the padding in

    .applemenu div.submenu{
    background: white;
    padding: 2px;
    height:165px;
    }

    to get it to match the buttons below it, I had it set to 0. That is what caused the content to collapse after the mouse moved off the header. Now why this would occur is beyond me, I did play with it a little and it indeed seemed to be the padding.

  9. #19
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No luck with that on my end, but I definitely appreciate the suggestion.

  10. #20
    Join Date
    Aug 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is is possible for this script to accomplish the same thing as the menu on this page

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
  •