Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A jQuery plugin enabling better CSS selector support for older browsers by leveraging jQuery's excellent selectors.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 demo
Octocat-spinner-32 tests
Octocat-spinner-32 README
Octocat-spinner-32 jquery-1.3.1.min.js
Octocat-spinner-32 jquery.super-selectors.js
README
Super Selectors is a jQuery plugin enabling better CSS selector support for older browsers

TODO:
* Add appropriate rules on the fly, so that users won't need to include the classes in their CSS. This will involve modifying the regular expressions.


WARNING:
IE has a "fun" habit of discarding any style rules which contain selectors it cannot parse. This can cause unintended results. The only reliable workaround I've found is to declare your rules twice, so that the super-selector version will still be applied.

So, instead of 

	div.example > :first-child,
	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}

You should write:

	div.example > :first-child {
	background: #0f0;
	color: #f0f;
	}

	div.example .first-child {
	background: #0f0;
	color: #f0f;
	}
Something went wrong with that request. Please try again.