Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    1
    Member #
    27164
    So, I'm doing some design and have a jQuery accordion menu, used this code: http://viralpatel.net/blogs/demo/jqu...-menu-example/
    It's really simple and works just fine. But the client wants something like this:
    http://uk.hermes.com/webapp/wcs/stor...0037&nbItem=0#

    When you click the link, previously opened content closes and then the other link's content appears. So with one click you close previous content and open new. Sorry, I'm sure it's really hard to understand what I'm trying to say.

    Any help would be greatly appreciated

  2.  

  3. #2
    Member LavaEagle's Avatar
    Join Date
    Dec 2010
    Location
    Seattle, WA
    Posts
    46
    Member #
    25843
    Liked
    1 times
    Could you post a link to an example of your work just we can see whats happening exactly?

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    $("#your-old-menu").slideUp( 700);
    $("#your-new-menu").slideDown(700);

    The 700 represents the speed in milliseconds. slideUp hides the menu. slideDown shows it.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:54 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com