4391 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

This is sooo useful – you should try it :) This will save us time!

\\

Download: http://github.com/weepy/cssie

CSS in your face (only IE need to apply)

Plugin for jQuery providing native support for missing CSS in IE. Currently provides:

  • E > F (direct descendant)
  • :hover (normally only available to a tags)
  • E + F (sibling)
  • [rel=attr] (attribute selection)
  • :first-child and any other selectors containing : and supported by jQuery
  • :focus

How it works

  • that parses the stylesheets for rules that match a regex
  • replaces selectors that match with corresponding rules with an internal class .cssie-x (x is an integer)
  • add the class cssie-x using the original selector using jQuery
  • for :hover and :focus, automatically setup up jQuery events to add/remove the .cssie-x class upon hover/focus

Usage

  • include ‘cssie.js’ in your page after ‘jquery.js’
  • $.cssie() on the jQuery.ready event
  • You can cause the same behaviour on non MSIE browsers with: $.cssie(true)
228 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
stevebluck says

wowo Im using it right now, that’s awsome!

4391 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
wowo Im using it right now, that’s awsome!

Yah :) is awesome!

1451 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says

This is cool :)

2529 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

I’ve always used Dean Edwards’ ie8.js script. Is this one different/better?

4391 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says
I’ve always used Dean Edwards’ ie8.js script. Is this one different/better?

I don’t know why but Dean Edward’s ie8.js crash my IETester (Win / Mac Parallels) for any reason – this tiny script works like a charm! :)

380 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
celtathemes says

Seems great, definitely gonna try it. I’ve used Dean Edwards ie7 script some time ago.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by