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

README.markdown

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

jQuery
Cookie by Klaus Hartl/klaus.hartl@stilbuero.de

How to use

Simply,
Create a div, that'll show a message

<style>
    #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;
    }
</style>

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() {
$('#ie6Message').ie6warning();
});

And done.

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