开发者

How to develop a site for multiple browsers these days?

I would like to develop a site that works in all major browsers. I wonder what tools are available these days that may help m开发者_Go百科e to check the functionality across browsers. I mean after I add some functionality to my site, I want to check it in all browsers. Are there any tools/software for this task ? I understand that it's impossible to check everything because it is pretty subjective if something works as expected or not, but maybe there are some tools that may found major errors (like IE is not supporting indexOf).


Cross-platform libraries like jQuery, MooTools, Prototype, and YUI will help you a lot with writing sites that work in all of the major browsers.

As far as testing goes, sites like BrowserShots can let you test for rendering issues across a wide variety of browsers, but for checking interactive functionality, nothing really beats just having installs of all the major browsers handy and actually working through the site's functionality on all of them.


in some JavaScript IDE tools (as i remember NETBEANS) , when you want to use a function ,a small pop-up windows will show you graphically that this function is supported with witch browsers(IE-Firefox-Opera-Google chrome,...).

Also you can check user's browser and use different JavaScript (like xml object in ajax)


I would start by developing on a more standards compliant browser such as firefox or chrome and check your progress with the versions of IE you would like to support. Check out MS Virtual PC and the hd images they give you (expiring june of this year) for both version 6 and 7 of IE. Check out this link for more info:

http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en


I found a great web browser called lunescape. from my understanding, it comes with the 3 major rendering engines, and you can switch between them right in the address bar. you can also view webpages side by side inside the window, so you can compare the same website under different rendering engines side by side. unfortunately this doesn't support Linux or macs yet, but if you are a windows user, then it's a great tool

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜