Grow your CSS skills. Land your dream job.

Jquery toggle slide frustrations!

  • # June 16, 2011 at 12:04 pm

    Hi!

    Just finishing off my design portfolio website and hit a snag with a toggle slide div. It doesn’t seem to be pushing the page down like I would prefer. Not sure if I’m using the correct code, sorry if the code is messy I’m more of a designer then a programmer.

    Here’s the home page.
    http://www.nicolobianchino.com/TESTING/index.html

      $('.friends').click(function() {
    $('#names').toggle(400);
    return false;
    });

    Scroll to the bottom and hit friends on the left side. It expands a div with a list in it but I want it to push the page up from the bottom. It’s kind of awkward with the current slide down as you don’t really see the animation. Don’t know if this is possible with this method. Any advise is greatly appreciated!

    # June 16, 2011 at 12:44 pm

    Hey – Not that anyone has read this yet. But decided to go with something different.

    http://www.nicolobianchino.com/TESTING/index2.html

    Whad’a ya reckon?

    # June 17, 2011 at 1:31 pm

    I never saw the original effect, but I’m going to assume the current way is better. It’s pretty elegant and unobtrusive – and I’m sure eliminating the scrolling looks much nicer.

    Nice work!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".