Changelog
Following features have been added into the current version (0.9):
- Plugin sets an orange Firefox banner with a message to appear at the top of your blog in IE6 and/or IE7 (0.5+)
- The message is customizable from the options page. (0.5+)
- The message can contain any XHTML, including adsense javascript (0.5+)
- Banner can be set to appear in IE6 and IE7, or only one. (0.9+)
- Optional Close button (a red X) allows the user to close the banner (0.9+)
- Ability to change text and text background colour (1.0+)
- Banner will stay closed for the rest of the time the browser is open using Cookies (1.0+)
Backstory
Guess what? I made a Wordpress plugin!
The basic motive behind this was how incredibly frustrating IE 6 and 7 are. The amount of time spent fixing sites up so that they work not only in Firefox, Opera, Safari etc leads to a rather unhappy development team. This has all been said before I know, but I put all this pent up anger into something productive. I’m actually running the plugin right now on Red Root, though if you’re using Firefox, Opera or Safari, you probably can’t see it. Try switching to IE 6 or 7, and take a look at the top of the page.
A nice big orange banner right!
My colleague saw what I’d done and requested the source code, but I thought even better I’ll make a Wordpress plugin for it, and voila! Now keep in mind this is my first plugin, so it’s not perfect, but I’ve got to say the Wordpress plugin system is quite extraordinary. A bit fiddly at first, especially since I couldn’t find any standardized or consistent documentation, but once you get your head around the numerous functions, it’s all good.
And it’s note just a banner! There’s an options page in the admin section ‘Options’ where you can change the message that shows up in the banner.
[ Download ] Source from : http://www.red-root.com