Hi
I need help here, please tellme why it snt working correctly
Urgent ;
THankss very much

$('#windowhead').click(function(){
    /*$("#fullwindow").css({
    "height":20+"px"
    });*/
    $("#fullwindow").slideToggle('css'({
    "height":20+"px"
    }));
});

You can't use .slideToggle() for CSS properties. You'll need .animate() to do so.
Something like this:

$('#windowhead').click(function(){
    $('#fullwindow').animate({
        height: "20px"
    }, 300 ); // duration
});

http://api.jquery.com/animate/

but i want like toggle. here i uploaded my code
when i click on #windowhead then #fullwindow should have 20px height and when riclick then it should return in normal/orinal size.
here is my code uploaded http://codepen.io/anon/pen/jPqBXr

thanks its working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.