This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/blotter/script.js

16 lines
403 B
JavaScript
Raw Normal View History

2012-03-09 21:10:26 +00:00
$(document).ready(function() {
2012-08-15 10:13:25 +00:00
$(".shm-blotter2-toggle").click(function() {
$(".shm-blotter2").slideToggle("slow", function() {
if($(".shm-blotter2").is(":hidden")) {
$.cookie("ui-blotter2-hidden", 'true', {path: '/'});
2012-03-09 21:10:26 +00:00
}
else {
2012-08-15 10:13:25 +00:00
$.cookie("ui-blotter2-hidden", 'false', {path: '/'});
2012-03-09 21:10:26 +00:00
}
});
});
2012-08-15 10:13:25 +00:00
if($.cookie("ui-blotter2-hidden") == 'true') {
$(".shm-blotter2").hide();
2012-03-09 21:10:26 +00:00
}
});