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

2009-11-04 Thread Richard D. Worth
Add a no-js class to the body in the html and then, using JavaScript, remove it and add a js class. Use these classes to scope any css rules you want for only the no-js or only the js scenarios. See this article for a similar technique: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flas

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

2009-11-01 Thread Julian Aubourg
You could protect your rules with a noscript tag: .show { color: red } Hello world In this example, the span would only be in red when javascript is off. 2009/10/31 jez > Hi all, > > I have a minor pr

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

2009-10-31 Thread jez9999
Hi all, I have a minor problem with my webpage I'm designing. I'm doing pulldown menus via a UL, with LIs that have child ULs (the pulldown menus), where the pulldown menus fade in when you mouseover the parent LI. So as to degrade gracefully if the browser isn't running Javascript, I want to us