SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2006
    Location
    Blackpool, UK
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How was this cool effect achieved?

    Hi Guys,

    Has anyone seen or used this cool appear/disappear effect before? Click on the holiday details link and the extra content smoothly appears then disapears when you click hide.

    Ive done something similar with a toggleDiv fuction (cut and paste job) which is similar but this looks a lot better

    http://www.whistler.com/uk/

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    They use the jQuery library, but it basically boils down to using setInterval() and changing the CSS height of the panel by a little bit each time. This guy walks you through it.


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
  •