|
Hey Ted,
As a user, firefox is the most awesome browser out
there. As a web programmer, it's good that it's really stable and
reliable (it's sad how many browsers really are) but it's got some
downfalls too.
One downfall is that it's more strict about jtml
and _javascript_ syntax.
instead of being able to do:
formname.elementname.value='blah';
you have to do the standard syntax of:
document.forms['formname'].elements['elementname'].value='blah';
with setting the default value of a select you have
to do this for the option you want do be default:
<option value="some value"
selected="true">Some Label
and other syntax is different too. Luckily
the required syntax of firefox is the true, standardized syntax so if you stick
to that you're ok.
Another downfall is that it protects the user from
malicious _javascript_, and errors on the side of safety which means it neuters
what you can do with your _javascript_.
An example is that we have some _javascript_ code to
validate a text box for a valid date value. In our _javascript_ code,
onBlur, it checks the box to see if it's valid and if not, displays an alert
window saying "Invalid Date" and then when they click ok, puts the focus
back in the date box so they are required to fix it before
continuing.
In Firefox, it wont let us keep the user "trapped"
inside the date box, it wont let us set the focus of the box back after OnBlur
since it doesnt know we arent doing something bad to the user (good policy with
all the junk pages out there).
great browser, but not so great from our pov
sometimes :P
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Re: Witango-Talk: Firefox 1.0 Alan Wolfe
- Re: Witango-Talk: Firefox 1.0 Bill Conlon
- Re: Witango-Talk: Firefox 1.0 John McGowan
