I have a login form at the bottom of the screen that toggles open and close with a slidetoggle. How could I have it so, If the user changes pages the open or close state stays the same? Ajax update panels maybe? Here is my JQuery code I have for the toggle:
<script type="text/javascript">
if ($('#divLoginFootForm').is(":visible")) {
$('#divLoginFootForm').show();
}
else {
$('#divLoginFootForm').show();
}
$('.log').click(function () {
$('#divLoginFootForm').slideToggle('slow', function () {
// Animation complete
});
});
</script>
Thanks!