$(document).ready ( function() {
$("#menu").css("height", 50);
$( function() {
$( "#slider-range-min" ).slider({
range: "min",
value: 50,
min: 40,
max: 100,
step : 1,
slide: function( event, ui ) {
$( "#amount" ).val( ui.value + "px");
$( "#menu" ).css("height", ui.value );
$( "#menu ul" ).css("top", ui.value );
}
});
$( "#amount" ).val( $( "#slider-range-min").slider( "value") + "px" );
});
});
$("#menu").css("height", 50);
$( function() {
$( "#slider-range-min" ).slider({
range: "min",
value: 50,
min: 40,
max: 100,
step : 1,
slide: function( event, ui ) {
$( "#amount" ).val( ui.value + "px");
$( "#menu" ).css("height", ui.value );
$( "#menu ul" ).css("top", ui.value );
}
});
$( "#amount" ).val( $( "#slider-range-min").slider( "value") + "px" );
});
});