although this does raise the question of what happens if css and
javascript are disabled.
what happens if try{ .. } to set a css attribute with css disabled?
On Sep 5, 12:08 pm, "ryan.j" wrote:
> obviously you'd probably want to set the display attrib in an external
> CSS file, and if that didn
obviously you'd probably want to set the display attrib in an external
CSS file, and if that didn't work you could try to @import some style
then check for that.
off the top of my head, hide an element with css and then get :hidden
elements with that id?
something like
http://www.google.com/jsapi";>
google.load("jquery", "1.3.2");
google.setOnLoadCallback(function() {
if ( testCSS() )
ale
You could try looping through the document.styleSheets collection and
testing the disabled attribute:
var styleSheetsDisabled = false;
for (var i = 0; i < document.styleSheets.length; i++) {
if (document.styleSheets.item(i).disabled) {
styleSheetsDisabled = true;
}
}
Not sure if this wou
mumbojumbo wrote:
Hello All,
I'm trying to code a site using progressive enhancement methods. It's
built upon standards-compliant CSS and HTML and JS. I'm using jQuery
on the site to animate some elements on hover etc. Now, when CSS and
JS is disabled, it's all good. But, If CSS is disabled and
5 matches
Mail list logo