I've tried it, but no avail.
I think the script is actually working, but for some reason chrome and 
IE still show no css...

On 13-6-2010 23:03, Thierry Koblentz wrote:
>> I made a site with a js which substitues css for different resolutions.
>> But, IEX and Chrome won't show any css at all:
>> http://kunstomhetlijf.nl/fileadmin/template/2010/index.html
>> whilst firefox does show the css.
>> Anyone know why?
>>      
> David is right, it's the script.
>
> Try these two lines:
>
> if(a.title == description){a.disabled = false;}
> else if(a.title != "default"){a.disabled = true;}
>
> instead of these:
>
> if(a.getAttribute("title") == description){a.disabled = false;}
> else if(a.getAttribute("title") != "default"){a.disabled = true;}
>
> In short, get rid of getAttribute()
>
> --
> Regards,
> Thierry
> www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>    

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to