hwg-languages archives | Mar 2000 | new search | results | previous | next |
Re: Problems with Netscape 2.0 and mouseoversby "Harlequin" <harlequin(at)dccnet.com> |
|
But if the client doesn't understand Javascript it will ignore it and continue with the basic text/images page. That's what the comment tags are for. If the browser does understand then it will see the Javascript and redirect. Bob DeConstruction Web Design http://www.de-construction.com ICQ 3194762 > But if the client doesn't understand Javascript, you can't. ;) > > > -----Original Message----- > > From: Tony King [SMTP:tony(at)imaginegroup.com] > > Sent: Tuesday, March 14, 2000 12:14 PM > > To: hwg-languages(at)hwg.org > > Subject: Re: Problems with Netscape 2.0 and mouseovers > > > > do it the other way. > > > > Detect for Netscape >= 3x > > if true, go to the enhanced page. Otherwise, stay at the text page. > > > > > > Peter Benoit wrote: > > > > > > Hmm... but if Netscape 2.0 doesn't read Javascript, then how can you do > > > browser detection on the client side? ;) > > > > > > > -----Original Message----- > > > > From: G.B>Tyrrell [SMTP:gbt(at)dial.pipex.com] > > > > Sent: Tuesday, March 14, 2000 9:46 AM > > > > To: jonblake(at)lw-oasis.org > > > > Cc: Thwing, Cathy; hwg-languages(at)hwg.org > > > > Subject: Re: Problems with Netscape 2.0 and mouseovers > > > > > > > > Netscape 2.0 does not read Javascript, so no MouseAnything. It barely > > > > reads > > > > animated gifs. Best to do what Jonathan suggested and check for > > browser > > > > then > > > > add an if/else statement sending 2.0 browsers to a text/static image > > only > > > > page. > > > > Gail > > > > > > > > Jonathan Blake wrote: > > > > > > > > > > We have a very simple mouseover script to use on this page to > > toggle > > > > our > > > > > > button images. Here's the script: > > > > > > > > > > > > <a href="contents/distinfo/distinfo2.html" > > > > > > onMouseOver="document.distinfo.src='images/Distinfo4a.gif';" > > > > > > onMouseOut="document.distinfo.src='images/Distinfo4.gif';"><img > > > > > > name="distinfo" src="images/Distinfo4.gif" border="0" > > alt="District > > > > > > Information" WIDTH="124" HEIGHT="30"></a> > > > > > > > > > > > > > > > > > > When viewed from Netscape 2.0, these pages bring up the error that > > > > > > "Distinfo has no properties" > > > > > > > > > > I don't have NN2.0 available to test at the moment but if you do a > > test > > > > > for document.images it should filter out NN2.0. > > > > > > > > > > if( document.images ) { > > > > > ... > > > > > } > > > > > > > > > > -- > > > > > Jon > > > > > > > > > > "Semper ubi sub ubi!" > > > > > Loosely translated: No unfurnished basements! > > > > > > > > -- > > > > G.B.Tyrrell > > > > me(at)gbtyrrell.fsnet.co.uk > > > > http://www.gbtyrrell.fsnet.co.uk/ > > > > Cambridge, Uk > > > > > > > > -- > > Tony King | The Imagine Group > > tony(at)imaginegroup.com | http://www.imaginegroup.com > > tony(at)writtenword.org | Business Internet Solutions
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA