aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Secrets of The Javascript - Cross browser strategy Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Secrets of The Javascript - Cross browser strategy" Watch "Secrets of The Javascript - Cross browser strategy" New topic
Author

Secrets of The Javascript - Cross browser strategy

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
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!!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

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).

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
feature detection


..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..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Secrets of The Javascript - Cross browser strategy
 
Similar Threads
Secrets of JavaScript Ninja - Emphasis on coding techniques and browser compatibility?
understanding javascript to understand how to use JQuery?
Secrets of the JavaScript Ninja: in-depth?
Secrets of the JavaScript Ninja: important info from the preface
javascript status