Displaying 1 result from an estimated 1 matches for "browser_detect".
2006 Jul 22
1
browser_detect plugin
...nice to build on in the
future. It adds two helper methods available in your views - browser_is?
and browser_name
<%= browser_name %> => mozilla (or whatever)
<% if browser_is? :mozilla %>
do something
<% end %>
More on this blog post:
http://livsey.org/articles/2006/07/22/browser_detect-plugin
Or view the source:
http://svn.livsey.org/plugins/browser_detect/
--
R.Livsey
http://livsey.org