Beginner. I have a link that expands a single page onclick with the following jQuery:
<script type="text/javascript">
var $j = jQuery.noConflict();
function toggleQuickLaunch() {
$j('#s4-leftpanel').toggle(500);
$j('.s4-title').toggle(500);
$j('.s4-toplinks').toggle(500);
$j('body #s4-topheader2').toggle(500);
}
</script>
this works fine, but what I need to learn is how to expand the page to margin 0px if the quick lauch has been toggled hidden, and set back to default if it has been toggled back. Is this possible, and if so what do I need to add to my script to make it happen.
thanks as always guys!