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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 61198
    
  66

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 61198
    
  66

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