IE No More plugin
Plugin details
Documentation
ruby 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; }
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 9 months ago


