4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 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
  • 6 Years of Membership
  • Affiliate Level 1
  • Collector Level 4
  • Exclusive Author
+2 more
stevebluck
says

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

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 more
Ivor
Envato team
says
wowo Im using it right now, that’s awsome!

Yah :) is awesome!

1482 posts
  • Envato Team
  • Author Level 6
  • Meetup Participant
  • Affiliate Level 5
+14 more
kailoon
Envato team
says

This is cool :)

2529 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Blog Interview
+13 more
JeffreyWay
says

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

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 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
  • 5 Years of Membership
  • Affiliate Level 1
  • Author Level 8
  • Collector Level 2
+4 more
celtathemes
says

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

by
by
by
by
by
by