Date: 21 Feb 1998 14:26:20 -0600 From: stephen farrell <stephen@farrell.org> To: John Fieber <jfieber@indiana.edu> Cc: Mark Mayo <mark@vmunix.com>, hackers@FreeBSD.ORG Subject: Re: Javascript for project page? Message-ID: <874t1sogb7.fsf@phaedrus.uchicago.edu> In-Reply-To: John Fieber's message of "Sat, 21 Feb 1998 13:25:10 -0500 (EST)" References: <Pine.BSF.3.96.980221131901.617F-100000@fallout.campusview.indiana.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
John Fieber <jfieber@indiana.edu> writes: > On Sat, 21 Feb 1998, Mark Mayo wrote: > > > as opening up some better design possibilities... I'm concerned however > > that the use of Javascript will limit the number of people that can > > use the site. > > > > Opinions? Is *everybody* using Netscape now, or do a significant > > portion of people still use lynx or something without Javascript? > > The hits, excluding robots, on www.freebsd.org are roughly 60% > Netscape, 30% MSIE, 6% Lynx and a large variety filling in the > remaining 4%. Proportions for specific pages may vary, and all > web server stats must be viewed skeptically; there is just so > many ways for things to be mis-counted. > > Writing javascript that is portable across versions of Netscape > and MSIE is a pain in the butt, but if you can put up with it and > provide a workable mechanism for people who can't or won't use > JS, then it is fine. MSIE4 is pretty much compatible with NS3 wrt javascript, but IE3 has some issues. The main problem you encounter when doing this is that netscape3 allows you to name components (like forms), and say document.myform.whatever.focus() and such, whereas with ie., you need to do document.forms[x].whatever.focus() so if you stick to the second construct (referring to things by their place in the document arrays) then you're mostly ok. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874t1sogb7.fsf>