Hi guys. I have a jQuery fancybox autoload which works great but what i want is once it opens (or is closed) to set a cookie that the user does not have to see it again for as long as they have that cookie!
Again i understand that some users clear cookeies, some dont accept them, and thats their problem!
What i need to do is make sure this function only happens once, ever....
For the curious, the reason i only want them to see it once is because its a brief how to video in the window!
Thanks you in advance
embeebutterly
Again i understand that some users clear cookeies, some dont accept them, and thats their problem!
What i need to do is make sure this function only happens once, ever....
Code:
script type="text/javascript"> $(document).ready(function() { $("#aLink").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); }); </script> <body onload="$('#aLink').trigger('click');"> <a id="aLink" href="http://www.google.com" ></a>
Thanks you in advance
embeebutterly

Comment