split out data

This commit is contained in:
Shish
2012-03-09 21:10:26 +00:00
parent 1f07a273f6
commit eaa46d7385
3 changed files with 19 additions and 23 deletions

16
contrib/blotter/script.js Normal file
View File

@ -0,0 +1,16 @@
$(document).ready(function() {
$("#blotter2-toggle").click(function() {
$("#blotter2").slideToggle("slow", function() {
if($("#blotter2").is(":hidden")) {
$.cookie("blotter2-hidden", 'true', {path: '/'});
}
else {
$.cookie("blotter2-hidden", 'false', {path: '/'});
}
});
});
if($.cookie("blotter2-hidden") == 'true') {
$("#blotter2").hide();
}
});