JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 24th, 2007, 05:22 PM
randomfool randomfool is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 1 randomfool User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 19 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old May 25th, 2007, 07:16 AM
Itsacon's Avatar
Itsacon Itsacon is offline
Command Line Warrior
Click here for more information. Click here for more information
 
Join Date: Aug 2004
Location: Sector ZZ9 Plural Z Alpha
Posts: 992 Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)Itsacon User rank is Lance Corporal (50 - 100 Reputation Level)  Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2Folding Points: 742073 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 6 Days 13 h 37 m 16 sec
Reputation Power: 5
Send a message via ICQ to Itsacon
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Need Help Debugging Script/Error in Script - IE7: Object doesn't support this action?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway