Results 1 to 2 of 2

Thread: Slider down with hidden content

  1. #1
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Slider down with hidden content

    Hello there, I'm looking for the effect this page has:

    menu4today.com/las-palmas-de-gran-canaria

    when a user clicks on an entry, the box sliders down showing the hidden content!
    Can it be done by javascript or css3?
    How could I get the effect?

    Regards.
    Yolanda.
    Last edited by jscheuer1; 03-18-2013 at 02:36 PM. Reason: Format

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,926
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    On that particular page it's done via jQuery:

    http://jquery.com/

    Specifically, using jQuery's built in slideToggle() method:

    http://api.jquery.com/slideToggle/

    The specific code in this case is:

    Code:
    $(function() {
      $('#login_link, #close_login').click(function() {
        return $('.login_box').slideToggle();
      });
    });
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Featured Content Slider. Youtube video donīt stop when slider changes
    By Vlack in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 06-15-2011, 09:54 AM
  2. Resolved Drop down menu hidden behind content slider
    By Daniel Thomas in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-06-2009, 03:39 PM
  3. How can I stop hidden audio in Featured Content Slider v2.4
    By cmd in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 05-11-2009, 10:41 PM
  4. How to stop hidden audio in Content Slider
    By cmd in forum JavaScript
    Replies: 0
    Last Post: 05-11-2009, 10:23 PM
  5. Featured Content Slider v2.4 - one slider with several paginate-slider
    By beathead in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 08-05-2008, 09:05 AM

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
  •