Hi, for some reason the height value that I am assigning to hidden divs is
being lost once the click function finishes.

This is my code:
$(document).ready(function() {
        if ($('#demo-show > div').height() < 375)
        {$('#demo-show > div').height(375);}

        $('#demo-show > div').hide();

        $('#test-click1').click(function() {
                
$('#test1').slideToggle('slow').siblings('div:visible').slideUp('fast');
        });

        $('#test-click2').click(function() {
                
$('#test2').slideToggle('slow').siblings('div:visible').slideUp('fast');
        });

        $('#test-click3').click(function() {
                
$('#test3').slideToggle('slow').siblings('div:visible').slideUp('fast');
        });
});

My test page: http://34r34r.dreamhosters.com/newdesign/slidetest.html

Any help would be appreciated. 
Cheers.
-- 
View this message in context: 
http://www.nabble.com/Losing-height-value-tf3277136.html#a9113760
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to