$(document).ready(function(){
$('#width_slider').slider({
range:"min",
min:900,
max:1260,
value:960,
slide:changeWidth,
change:changeWidth
});
function changeWidth(){
var sliderWidth = $('#width_slider').slider("value");
$("#wrapper").css("width", sliderWidth);
}
});
CSS
#wrapper {
width: 960px;
margin:0 auto;
}
HTML
<h3>Content Width</h3>
<div id="width_slider" style="width:100%;"> </div>
--
You received this message because you are subscribed to the Google Groups
"jLayout" group.
To post to this group, send email to jla...@googlegroups.com.
To unsubscribe from this group, send email to
jlayout+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/jlayout?hl=en.