2014-02-04, 01:40 AM
Try this then:
Works for me.. http://testingforum.bl.ee/forum/
<script type="text/javascript">
document.observe('dom:loaded', function(){
var notebox = $$('.notebox')[0];
if(Cookie.get("sitenote") != "X")
{
notebox.style.display = 'block';
}
var dismiss = document.getElementById('dismissnote');
dismiss.addEventListener('click', function() {
Cookie.set("sitenote", "X", 86400);
notebox.style.display = 'none';
}, false);
});
</script>
Add it at the end of headerinclude.Works for me.. http://testingforum.bl.ee/forum/