Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Modern usage
- From: moseley at hank.org (Bill Moseley)
- Subject: [Javascript] Modern usage
- Date: Wed Apr 19 09:47:59 2006
I'm updating a site and I'm questioning some of the javascript. I'm
quite new to javascript, but I'm wondering how much of this might be
for very old browsers, and how much is still required today.
For example:
I'm seeing usage like
if (document.images) {
which from googling seems like that's testing for IE3's lack of
support. Do I need to worry about IE3 users today?
I also see
document.all
instead of getElementByID. What percent of browsers don't support
that DOM method?
The page also is using ypSlideoutMenu from 2001. Anyone familiar
with this? Would you consider it acceptable javascript?
http://cvs.sourceforge.net/viewcvs.py/ypslideoutmenus/ypSlideOutMenus/ypSlideOutMenus.js?rev=1.2&view=auto
http://ypslideoutmenus.sourceforge.net/demo/index.html
--
Bill Moseley
moseley@xxxxxxxx
- Follow-Ups:
- [Javascript] Modern usage
- From: David Dorward
- [Javascript] Modern usage
- From: Paul Novitski
- [Javascript] Modern usage
- Prev by Date: [Javascript] How can Imake document.FormName.level.selectedIndexwork in IE?
- Next by Date: [Javascript] Modern usage
- Previous by thread: [Javascript] How can Imake document.FormName.level.selectedIndexwork in IE?
- Next by thread: [Javascript] Modern usage
- Index(es):