selectivizr logo

Drupal integration with the Selectivizr JavaScript library.

What is Selectivizr?

From selectivizr.com

Selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.

According Wikipédia (http://en.wikipedia.org/wiki/Polyfill):

Keith Clark's Selectivizr is a popular polyfill that makes many CSS3 selectors work in IE 8 and below. It reads the page's stylesheets looking for a number of known CSS3 selectors, then uses a JavaScript selector library to query the document for elements matching those selectors, applying the styles directly to those elements. It supports several JavaScript selector libraries such as jQuery.

Installation:

  • Download the Selectivizr library
  • Copy selectivizr.min.js to sites/.../modules/selectivizr/selectivizr.js. If you have the have the libraries module, use the path sites/.../libraries/selectivizr/selectivizr.js instead.
  • Enable the module

Project Information

Downloads