This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri May 29 12:02:08 -0700 2009 | |
| |
README | Sat May 30 21:54:05 -0700 2009 | |
| |
Rakefile | Fri May 29 12:02:08 -0700 2009 | |
| |
app/ | Sat May 30 23:06:55 -0700 2009 | |
| |
config/ | Sat May 30 19:02:13 -0700 2009 | |
| |
init.rb | Sat May 30 23:03:27 -0700 2009 | |
| |
install.rb | Sat May 30 21:36:18 -0700 2009 | |
| |
lib/ | Sat May 30 19:42:15 -0700 2009 | |
| |
tasks/ | Fri May 29 12:02:08 -0700 2009 | |
| |
test/ | Fri May 29 12:02:08 -0700 2009 | |
| |
uninstall.rb | Fri May 29 12:02:08 -0700 2009 |
README
ie_no_more
========
We hate IE6. I'm sure you do as well. This plugin was born of that hate. So ie_no_more is really
our attempt at making the world a better place.
We're altruistic philanthropic idealists, if you will.
Installation
========
script/plugin install git://github.com/mleung/ie_no_more.git
Usage
=======
Throw this in your application layout, and do your part making IE6 go the way of velcro.
<%= smack_down_ie6 %>
You can also conditionally hide or show parts of your app if it is IE:
<% hide_if_ie6 do %>
# Non specific ie code
<% end %>
<% show_if_ie6 do %>
# Specific ie code
<% end %>
JavaScript
=========
Since the close button uses ajax, you'll have to throw this in the head of your layout:
<%= javascript_include_tag "ie_no_more.js" %>
The file is automatically copied to your public/javascripts directory when this plugin is installed.
This works with both jquery and prototype.
Message
========
If you'd like to customize the output message, just go into app/views/ie_no_more
and go to town on the _ie_upgrade_message partial.
Styles
=======
You can customize the display of the output message using CSS. Just throw the
styles in your style sheet. Here are some examples:
#ie-no-more-container {
background: #FFFFCC;
border: 1px solid #FF9933;
width: 90%;
margin-left: 2%;
margin-right: 2%;
padding: 20px;
}
#ie-no-more-close-button {
float: right;
}
Copyright (c) 2009 Michael Leung, released under the MIT license







