Results 1 to 2 of 2

Thread: request: hide/show div with scroll animation

  1. #1
    Join Date
    Jan 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default request: hide/show div with scroll animation

    Im looking for a javascript that will hide and show a certian div but when it collapses or expand it scrolls out or in. Similar to how it is on this website: http://www.octavez.com/ I would also want it to only show one at a time, this meaning that if there are 4 divs that can hide/show it will only show one a time. So if the 1st div is open and the user clicks on the 3rd one the first one will collape and the 3rd one will open.

    Is there anywhere I can download this script? or is anyone willing to help me with this because Im clueless how to code javascript. *Im also looking for a script that will scroll to the top with animation instead of just jumping to the top of the page*

    Thank you for any suggestions/ help.

  2. #2
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile A link i found to solve the issue

    http://www.askthecssguy.com/2007/02/...s_using_a.html
    Please check out the same.

    It is vary simple as only we have to replace <a href="#" with <span>.

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
  •