WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Css Expression, Claudio Bustos, March 2, 2005

Subject: Css Expression From: Claudio Bustos Date: March 2, 2005
Opera 8 runs simplifyCSSExpression from the script ccsexpr.js, throwing an error.
To solve this, the more correct way is check for existence of the object styleSheets on document. So, replace simplifyExpression with this:

function simplifyCSSExpression() {
try {
var ss,sl, rs, rl;
ss = document.styleSheets;
if(ss) {
sl = ss.length

for (var i = 0; i < sl; i++) {
catch (exc) {
alert("Got an error while processing css. The page should still work but might be a bit slower");
throw exc;



Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX