Show a div to ie6 users, allow them to click to hide. usefull if you want to ask users to upgrade, etc.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


IE6Warning Error Message

This jquery plugin when bound to a div, will show that div to users with ie6 browsers only. The div is clickable, which will result in a cookie being set advising the user has understood the message, which will not show again for 20 days.

Simple Enough?

You'll need

Cookie by Klaus Hartl/

How to use

Create a div, that'll show a message

    #ie6Message {
        width: 100%;
        height: 20px;
        border-bottom: 1px solid #929384;
        font: 1em/1.5 Arial, sans-serif;
        text-decoration: none;
        background: url('img/attention_ie6_shield.gif') top left no-repeat #fffee6;

    #ie6Message#cross {
        padding: 2px 0 0 10px;

We recognise your browser (Internet Explorer 6) is outdated, we recommend you update to a later version

Then bind IE6Warning to the div.

$(document).ready(function() {

And done.

##### Credits Really, this is released under MIT. do what you want with it..
[]( is where you can hear from me (not so regularly) or stalk me on [twitter:markgandolfo](