homepage Welcome to WebmasterWorld Guest from 54.196.199.117
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Javascript
Testing for compatability
David




msg:1485630
 2:43 pm on Jul 14, 2001 (gmt 0)

I am getting ready to start delivering different .js files depending on the browser version ie those > 4.9 and < 4.9.
Once I have done that I can test for objects and react with in each script.
The only problems I have found so far.. If I am using a function for the new browsers that the old don't understand I have to put a blank function in the older version .js file. I have also found that when testing for objects Opera will return True when it really dosen't exist as a working object. (I am assuming the next version will turn these objects on)
Does any one see any additional problems with going in this direction?

 

Brett_Tabke




msg:1485631
 1:30 pm on Jul 16, 2001 (gmt 0)

Have you tested some of the Mac Versions? Or browsers for Linux like Konqueror, Netscape or Opera? Or Icab for the Mac? They all react a little bit differently.

The only way I can see to make it work is to program for the least common denominator. Use one of the js validators - make sure it works in IE/NN, and then hope it works. I just don't think the web is workable under all these specific js routines.

David




msg:1485632
 8:36 pm on Jul 18, 2001 (gmt 0)

I still need to test for the Mac but I think they should be ok. The linux I have not thought about and at this point with retail sites (non tech) I am not sure if I need to. They would just fall into the older browser group. Opera and IE/NN are O.K.

The thing that got me thinking was studing the new stuff that can be done with the newer browsers. The ability to dynamicaly update page content using server side scripting, data base content and js is amazing to me. I still get alot of traffic from older browsers but when they finally upgrade they will go from the old to the newest.

I have not put any of this into effect. Still testing but old versus new makes sence If I can do it with out creating errors any where.

I should say that the js would only be there to enhace the site. The site would still work in non js browsers.

<<I just don't think the web is workable under all these specific js routines.>>

You might be correct but as fast as things are moving it won't be long and the need for as many specific routines should go down.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved