Secrets of The Javascript - Cross browser strategy
Mark Reyes
Ranch Hand
Joined: Jul 09, 2007
Posts: 426
posted
0
Hi Bear,
I am very much interested in chapter 11 Developing cross-browser strategies.
How much emphasis were given on this particular chapter? Does this chapter requires knowledge on
several browser quirks (*IE hacks).
Sometimes I encounter problems that works on Firefox but fails heavily on IE. Does this chapter covers the
rules on how to create good javascript functions that will conquer all browsers?
Thanks
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
Mark Reyes wrote:How much emphasis were given on this particular chapter? Does this chapter requires knowledge on
several browser quirks (*IE hacks).
No paritcular prior knowledge of IE (or other brower's) quirks are necessary. We tell you about them.
Sometimes I encounter problems that works on Firefox but fails heavily on IE. Does this chapter covers the
rules on how to create good javascript functions that will conquer all browsers?
Yup. We cover many approaches form the easy (feature detection) to the more esoteric (feature simulation).
..does the words above means that I would learn if this javascript function would work on one browser but would fail on the other...sorry just curious enough..
Feature detection is distinct from browser detection. Rather than determine what course to take based upon the browser, you test to see if the feature exists. A good example of this is most raw Ajax code which tests to see if it should use ActiveX or XMLHttpRequest.