|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need Help Debugging Script/Error in Script - IE7: Object doesn't support this action?
I keep getting that strange error in IE7 and have no idea why. The page is working fine in IE6 and FF but for some reason that error appears in IE7. The offending code is:
theScreen = document.getElementById("screen"); screenLeft = parseInt(theScreen.style.left); There doesn't appear to be any problems with it to me at least but maybe someone here can spot a problem with it. The full page can be seen here: (URL address blocked: See forum rules)/emprise |
|
#2
|
||||
|
||||
|
I think you're problem is with the choice of the name `screen' for an element in your page.
The Document class by default doesn't have an element called `screen', so I assume you're trying to read info about a user-defined element. However, to avoid confusion with the standard `Screen' object I'd try using another name.
__________________
This is my code. Is it not nifty? "The biggest problem encountered while trying to design a system that was completely foolproof, was, that people tended to underestimate the ingenuity of complete fools." ---Douglas Adams Join the Itsacon fanclub! Zero Tolerance: Spammers banned so far: 275
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Need Help Debugging Script/Error in Script - IE7: Object doesn't support this action? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|