SourceTec Software

It is currently Thu Apr 17, 2014 4:06 pm

All times are UTC + 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: IE9 compatability
PostPosted: Sat Sep 18, 2010 12:57 am 
Offline
Member

Joined: Sat Sep 18, 2010 12:52 am
Posts: 3
I've emailed the creators about it, and they say they will have it fixed with the full release of IE9, but i was hoping we could help them along. When using IE9 Beta, I get the following Error and no scroller:

Webpage error details

User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Fri, 17 Sep 2010 18:04:34 UTC


Message: Member not found.

Line: 7
Char: 11187
Code: 0
URI: http://wphssports.com/stscode.js

Here is what is at that postion:

var es=w.document.all(id);


I Don't understand how defining a variable can cause this.


Top
 Profile  
 
 Post subject: Re: IE9 compatability
PostPosted: Sat Sep 18, 2010 1:24 am 
Offline
Member

Joined: Sat Sep 18, 2010 12:52 am
Posts: 3
I Found the fix. If anyone want's their scroller to work with IE9 Beta, here's what to do.

Find: var es=w.document.all(id); <<< Line 7 Column 11187
Replace With: var es=document.getElementById(id);


IE9 will no longer support document.all(id)


Top
 Profile  
 
 Post subject: Re: IE9 compatability
PostPosted: Sat Sep 18, 2010 11:38 pm 
Offline
Member

Joined: Sat Sep 18, 2010 12:52 am
Posts: 3
Microsoft has actually gone twords compatability for other browsers for once. document.all has been depreciated for several years now. Every browsers still supports it because the felt like they had to. Now IE is dumping depreciated standards which is a good thing, as all browsers support document.getElementById. Simple fix for the software.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group