Use jQuery to alter css for "html" and "*"

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-04T08:30:35Z Indexed on 2010/05/04 8:38 UTC
Read the original article Hit count: 197

Filed under:
|
|

Apologies if this is incredibly easy but I want to be able to do the following in jQuery.

Current CSS

* { cursor: url('/web/resources/graphics/blank.cur'), pointer; }

html { cursor: url('/web/resources/graphics/blank.cur'), pointer; }

Desired CSS change (through jQuery only)

* { cursor: url('/web/resources/graphics/blankDot.cur'), pointer; }

html { cursor: url('/web/resources/graphics/blankDot.cur'), pointer; }

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css