• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Secrets of The Javascript - Cross browser strategy

 
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 67446
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Marshal
Posts: 67446
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic