17:35 Exel Dafuq is wrong with you guys?
17:35 Exel That quiz night shit is annoying and apparently you guys can't code a toggle remember state.
17:35 Exel /slap
17:35 Exel jQuery cookies ftw.
17:35 Exel Now (finger) you all
17:35 Exel That quiz night shit is annoying and apparently you guys can't code a toggle remember state.
17:35 Exel /slap
17:35 Exel jQuery cookies ftw.
17:35 Exel Now (finger) you all
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#hide").click(function(){
$(".shww").hide();
$.cookie('hidetimer', true);
});
$("#show").click(function(){
$(".shww").show();
$.cookie('hidetimer', false);
});
if($.cookie('hidetimer') == 'true'){
$('#hide').click();
}
});
</script>
Last edited: