Results 1 to 4 of 4

Thread: Hiding/showing panels with DD Drop Down Panel

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

    Question Hiding/showing panels with DD Drop Down Panel

    1) Script Title: DD Drop Down Panel

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

    3) Describe problem:

    Hi,

    I have a webpage with three sections and I have set up this script to toggle each section when a link in a menu is clicked. However, when I click to open one of the other panels, the panel I originally opened stays open and I have to click on the menu again to close it.

    How can I adjust the script so that an open panel is closed/hidden when a different panel link is clicked?

    Eg:
    link 1 opens Panel 1 and hides Panel 2 and 3
    link 2 opens Panel 2 and hides Panel 1 and 3
    link 3 opens Panel 3 and hides Panel 1 and 2

    Many thanks and Happy New Year

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Could you please post a link to your site?
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sure, here is a test page.
    It's still work in progress but I'm sure you get the idea.

    http://www.lynmouthwebdesign.co.uk/test

    What I'm after is when you press another link, eg. portfolio, the services panel will hide itself. At the moment I get all three panels displayed if i press all the links at once.

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

    Thumbs up

    I've sorted it out now - thanks!

    The Accordion Content script (v1.6) http://www.dynamicdrive.com/dynamici...n.htm?mypets=2 proved to be a better solution to what I was after

    Happy New Year

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
  •