View Full Version : Opera Compatibility Problem

01-13-2003, 01:36 PM
I have a script which works with IE 5.0+ and Netscape 6.0+ but chokes Opera 6.0.

Here's the line in question:


Opera claims that the lefthand operand cannot be assigned the value of the righthand operand.

I'm at a loss for a solution.

Note: I do not declare the variable before making the assignment, if that would make a difference.

01-13-2003, 04:26 PM
Does Opera support the stylesheets collection? Try opening the following in your Opera browser.

<script type="text/javascript">
if(document.styleSheets){ alert( "yes")}


01-13-2003, 09:24 PM
Yep, that's the problem. :(

Oh, well, at least it degrades nicely to a styleless page after the script fails.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum