Re: [jquery-dev] Re: 'hover' pseudo element - access thru jQuery?

2009-11-04 Thread Julian Aubourg
Well, I wouldn't call the standard way to get a portion of the HTML DOM inspected and "applied" only when javascript is off "messy" but I would agree that Richard's solution is much much more elegant (thanks for the pointer, Richard, btw). Anyway, if you still want to manipulate CSS rules, maybe y

[jquery-dev] Re: 'hover' pseudo element - access thru jQuery?

2009-11-04 Thread jez9999
Still feels a little messy to me, and I think it'd be nicer to be able to access pseudo-classes through jQuery. Although tricky, I believe it could be implemented by finding the rule using document.styleSheets? Or is there some technical hurdle that would make this impossible? Best regards, Jere