Results 1 to 6 of 6

Thread: Accordion Content script

  1. #1
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Cool Accordion Content script

    1) Script Title: Accordion Content script

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

    3) Describe problem: Client, when maximizing browser windows (IE) the script stays at the the original place. Mine doesn't do it. PleASE HELP He's driving me nuts resizing his windows and the script doesn't resize properly! Thanks, Mike

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

    Default

    Hmm you'll need to clarify. Are you talking about the "Accordion Content script", or its derivative, "Accordion Menu script"? Your script title and link contradict one another.

    Client, when maximizing browser windows (IE) the script stays at the the original place.
    Since the Accordion script simply acts on regular DIVs on the page, I don't see how maximizing the browser should or would change the DIVs position, unless we're talking about a customization causing the contents to be absolutely positioned for example. Please post a link to the page on your site that contains the problematic script so we can check it out.

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

    webrebel (07-28-2008)

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

    Default

    Thanks for the reply! This is the exact script url:
    http://www.dynamicdrive.com/dynamici...enu-bullet.htm

    Here is the site I'm using it on:
    http://www.mykentuckyheart.com/index.htm

    Also, I should mention once he refreshes the page it goes back to the correct place.

  5. #4
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I guess while I'm at it, the menu returns to the original state when you open a page. How do I make the menu stay expanded to the point I am at? For instance, when clicking heading Medical Information/Heart Defects/Aortitic Stenosis, the menu returns to the original state. I would like it to stay open at this level. I tried setting persiststate: false and true. True just opens the expanded level the second time you load it. False immediately returns to original state each time. I don't think we shoud have to drill down the menu every time I load a page?

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

    Default

    In IE7 WinXP, going to the page in question and maximizing the window, the menu stays relative to the new page layout as expected. What does your client mean exactly when he says "it stays in the same place", and what's his browser/OS configuration?

    How do I make the menu stay expanded to the point I am at? For instance, when clicking heading Medical Information/Heart Defects/Aortitic Stenosis, the menu returns to the original state. I would like it to stay open at this level.
    The persistence feature only remembers a header's setting when you click on the header itself, not its sub menu contents. That's because technically, the later is simply an arbitrary DIV that the header just happens to expand/contract, with their relationship ending there.

    If you wish clicking on any one of the sub menu links to cause their "associated" header to remain open on the target page, you can edit the links' URLs to take advantage of the feature "Remote links that expand select headers on the target page" mentioned. In other words, your link would look something like:
    Code:
    <a href="target.htm?headerclass=index1,index2,etc">Target Page</a>

  7. #6
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    In IE7 WinXP, going to the page in question and maximizing the window, the menu stays relative to the new page layout as expected. What does your client mean exactly when he says "it stays in the same place", and what's his browser/OS configuration?
    I've seen it on 3 of his machines, granted they probably all need updating. I'll have to check and see what exactly they are running. Like I said I'm running the same as you and don't see the problem on mine either.

    As far as keeping the menu open, I'll have to study this. There's like 70-80 links in the menu, not sure how much work this is gonna be....

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
  •