Forums

[resolved] Jquery Plugin (3 posts)

  1. J_Mo
    Member
    Posted 2 years ago #

    Hi I am looking for a jquery plugin that will help me do the following:

    I have a div of height 600px containing 6 paragraphs, I would like to toggle the size of the div so that it starts at say 200px, showing only 2 paragraphs then on toggle would size to its max proportions.

    Can anyone point me in the right direction
    Thanks
    Phil

  2. Marventus
    Member
    Posted 2 years ago #

    Hi J_Mo,

    Check out this link (third demo example from the top): I believe it is very similar to what you're looking for.

    Also, a friendly suggestion: have you tried to do this without Jquery? Because I'm pretty sure you would be able to accomplish the same effect with the CSS pseudo-classes ":active" and/or ":focus".

    LMK if you were able to figure it out.

    Cheers!

  3. J_Mo
    Member
    Posted 2 years ago #

    Thanks Marventus
    just what I was looking for.
    Phil

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags