I went through the forums and read a lot of posts related to my question, but I could not find the answer I'm looking for.
I want to show a message with jquery to the user when the page loads and allow them to close the div by clicking on the close link. After closing, the script should remember that it should not be opened again during this session. I assume that he will use cookie.
Here is XHTML:
<div class="alertbox"> <span class="message">Please upgrade your browser</span> <div class="bloc_navigateurs"> <a href="http://download.mozilla.org/?product=firefox-3.6.13&os=win&lang=fr" target="_blank"><img src="includes/themes/default/images/icons/misc/Firefox-16.gif" width="16" height="16" alt="Firefox" /></a> <a href="http://www.google.com/chrome?hl=fr" target="_blank"><img src="includes/themes/default/images/icons/misc/Chrome-16.gif" width="16" height="16" alt="Chrome" /></a> <a href="http://www.01net.com/telecharger/windows/Internet/navigateur/fiches/13759.html" target="_blank"><img src="includes/themes/default/images/icons/misc/IE-16.gif" width="16" height="16" alt="Internet Explorer " /></a> </div> <span class="close">close</span> </div>
As you can see, this advises the IE6 user to update the browser.
source share