Some common pitfalls I should keep in mind?
+3
A:
Safari is really standards compliant. Unless you're using some really esoteric browser features, in general if something works in Firefox, I've found it works without modification in Windows Safari.
Apple has a developer center for web developers, but I didn't find anything too useful there.
Wayne Kao
2008-09-12 03:06:59
I'll second the "if it works in Firefox, it usually works in Safari" statement—especially for Firefox 3.
John Calsbeek
2008-09-12 03:09:46
Even more so - if it works in Chrome, it 99.9% will work in Safari too, and vice versa, since they share renderers (Webkit).
matt b
2008-09-12 14:50:39
+2
A:
In your event handlers, instead of return false
, use event.preventDefault()
or event.stopPropagation()
. The event
methods are the standard/compatible way, but lots of old tutorials still recommend return
.
John Millikin
2008-09-12 04:16:16