|
Project Information
-
Activity
Low
-
Project feeds
- Code license
-
GNU GPL v3
-
Labels
sevenup,
javascript,
upgrade,
internetexplorer,
lightbox,
upgrader,
sevenup,
ie6,
lightbox,
internetexplorer,
ie7,
ie8,
microsoft,
7up
Featured
|
Help rid the world of IE6 with one line of javascript!Easily require (or just encourage) IE versions 7 and up with this extremely small javascript include. (Users of non-IE browsers are unaffected.) Include one small JS file in the header of your page, and call the testing function. (Usually in your body.onload function, but anywhere works) Like so: <script type="text/javascript" src="sevenup.0.3.min.js"></script>
...
<body onload="sevenUp.test( options, callback );"> And you're done! OR to use the black plugin, the code looks like so: <script type="text/javascript" src="sevenup.0.3.min.js"></script>
<script type="text/javascript" src="sevenup_black.0.3.min.js"></script>
...
<body onload="sevenUp.plugin.black.test( options, callback );"> OR create your own plugin with nothing but basic HTML/CSS knowledge, and a little copy/paste! Check out the file 'sevenup_pluginexample.0.3.js', rename it to your plugin name, and fill in your HTML! Edit 4/28: Documentation on settings options is up! Thx for everybody's patience :) http://code.google.com/p/sevenup/wiki/Customization Here's how it works right now: When viewed in IE6 or older, a pure-CSS lightbox pops up, suggesting that the user upgrade their outdated web browser. When NOT viewed in IE6/older, the user has no idea the script is there. You can either require the upgrade, or let them through with a warning. Features- SIMPLE: Just a 1K file, and one line both includes & activates the lightbox.
- FLEXIBLE: You can force upgrades or allow users to continue on to the site's content.
- INFORMATIVE: Explains in plain terms WHY they should WANT to upgrade.
- CUSTOMIZABLE: Easily match your site's color scheme.
- FORGIVING: "Stop bugging me" feature for loyal but stubborn users.
Features on the WayMore about the MovementThis project was inspired by... | SevenUp triggered in IE6, with the "black" plugin. (out now! downloads section)
SevenUp in action in IE6, no plugins | If you liked this, check out more projects from me (Jonathan Howard) - in 2010 I'll be maintaining this project much more than previously, and releasing others as well. For instance: Enjoy Python, but tired of people telling you how to type to /your/ computer? Check out Like, Python and code like the kids are typing these days :)
|