{"id":287,"date":"2005-10-27T20:09:07","date_gmt":"2005-10-28T02:09:07","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=287"},"modified":"2005-10-27T20:09:07","modified_gmt":"2005-10-28T02:09:07","slug":"cross-browser-javascriptcss-development-issues","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/287","title":{"rendered":"Cross browser javascript\/css development issues"},"content":{"rendered":"<p>I&#8217;m working on an application that needs to be supported on a wide variety of browsers, and unfortunately includes some interesting javascript and css.  There are three problems we&#8217;ve encountered so far.<\/p>\n<p>1.  Finding Browser share<\/p>\n<p>When you want to support most users, you have to try to figure out what they&#8217;re using.  There are at least three or four different sites which give you their browser share, but I think you have to pay if you want really accurate, detailed information; here&#8217;s <A href='http:\/\/www.upsdell.com\/BrowserNews\/stat.htm'>one source<\/a>, here&#8217;s <a href='http:\/\/www.w3schools.com\/browsers\/browsers_stats.asp'>another<\/a>, and here&#8217;s <a href='http:\/\/www.thecounter.com\/stats\/2005\/September\/browser.php'>one last site<\/a>.   <b>Update, 11\/3: here are stats <a href='http:\/\/www.currybet.net\/articles\/user_agents\/4.php'>for the www.bbc.co.uk  homepage<\/a>.<\/b><\/p>\n<p>2.  Javascript specifications<\/p>\n<p>Perhaps it&#8217;s just me, but I&#8217;ve had a devil of a time finding a list of javascript events supported by various browsers.  I&#8217;ll give it to Microsoft, they have <a href='http:\/\/msdn.microsoft.com\/workshop\/author\/dhtml\/reference\/events.asp'>some documentation on supported events<\/a>; I couldn&#8217;t find a similar list of events anywhere on the mozilla site.  Here&#8217;s the <a href='http:\/\/www.mozilla.org\/js\/'>Mozilla Javascript page<\/a> but I don&#8217;t see anything resembling an API there.  (All I want is a javascript javadoc!)  <a href='http:\/\/www.w3schools.com\/jsref\/jsref_events.asp'>Here is the best comparison of event support on modern browsers that I found<\/a>.  <b>Update 10\/31: <a href='http:\/\/www.mozilla.org\/docs\/dom\/domref\/dom_event_ref33.html#1000062'>here is a list of events that Gecko recognizes<\/a>.<\/b> <\/p>\n<p>3.  Getting ahold of old browsers and older operating systems, so you can test<\/p>\n<p>Luckily, this is fairly easy to solve.  <a href='http:\/\/www.vmware.com\/'>VMWare<\/a> (which I&#8217;ve <a href='http:\/\/www.mooreds.com\/weblog\/archives\/000276.html'>written about previously<\/a>) takes care of the various operating systems (well, that and a <a href='http:\/\/www.apple.com\/macmini\/'>mac mini<\/a>) that we need to test under.  And a simple google search turned up a <a href='http:\/\/browsers.evolt.org\/'>fantastic archive of old browsers: browsers.evolt.org<\/a>, which has many different browsers going all the way back to NCSA Mosaic!.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on an application that needs to be supported on a wide variety of browsers, and unfortunately includes some interesting javascript and css. There are three problems we&#8217;ve encountered [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}