An open API service indexing awesome lists of open source software.

https://github.com/ramsunvtech/jquery.iecss

jQuery Plugin for writting CSS for IE 6, 7, 8, 9 and Future IE Versions.
https://github.com/ramsunvtech/jquery.iecss

Last synced: over 1 year ago
JSON representation

jQuery Plugin for writting CSS for IE 6, 7, 8, 9 and Future IE Versions.

Awesome Lists containing this project

README

          

jQuery.IEcss
============

This jQuery Plugin is helps to Update your Specific Styles for IE7, IE8, IE9 Browser and future IE browsers.

```javascript
$(document).ready(function () {
/* Apply Multiple CSS Properties */
$('p').IEcss('lt:8', {
'background': 'yellow'
});

/* Apply Single CSS Property */
$('p').IEcss('lt:8', 'backgroundColor', 'red');

/* Get the Current CSS Property Value */
alert($('p').IEcss('lt:8', 'backgroundColor'));
});
```

How it Works?


This Plugin will read the browser information from the 'navigator.userAgent' object

Points to Remember




  • The First Arguement of IE condition is mandatory and soon it will be removed and you can add the IE Condition as a global value in future version

Options



IE condition

You can add the folloing conditons

  1. lt:8 (lesser than)

  2. lte:8 (lesser than and equal to)

  3. gt:8 (greater than)

  4. gte:8 (greater than and equal to)

  5. gte:8 (equal to)



CSS Style Object / Property Name

You can declare the `Style Object` / Only `Property Name`.

Property Value

You can add the `Property Value` if your second arguement is `Property Name`.