Template:Team:HokkaidoU Japan/script
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
$(function(){ | $(function(){ | ||
var open = $.cookie('igem_hokkaidou_toc'); | var open = $.cookie('igem_hokkaidou_toc'); | ||
- | |||
$.cookie('igem_hokkaidou_toc', open); | $.cookie('igem_hokkaidou_toc', open); | ||
var $toc = $('#toc'); | var $toc = $('#toc'); | ||
Line 33: | Line 32: | ||
}); | }); | ||
}); | }); | ||
- | if(open) $tab.trigger('click'); | + | console.log(open); |
+ | if(open){ | ||
+ | $tab.trigger('click'); | ||
+ | } | ||
}); | }); | ||
</script></html> | </script></html> |
Revision as of 18:05, 5 October 2011