From owner-freebsd-hackers Sat Feb 21 12:26:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11599 for freebsd-hackers-outgoing; Sat, 21 Feb 1998 12:26:48 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11592 for ; Sat, 21 Feb 1998 12:26:32 -0800 (PST) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id OAA18253; Sat, 21 Feb 1998 14:26:22 -0600 (CST) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id OAA06542; Sat, 21 Feb 1998 14:26:21 -0600 (CST) To: John Fieber Cc: Mark Mayo , hackers@FreeBSD.ORG Subject: Re: Javascript for project page? References: From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 21 Feb 1998 14:26:20 -0600 In-Reply-To: John Fieber's message of "Sat, 21 Feb 1998 13:25:10 -0500 (EST)" Message-ID: <874t1sogb7.fsf@phaedrus.uchicago.edu> Lines: 39 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Fieber 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