Re: More stupid basic questions

by =?iso-8859-1?B?TGF1cmkgVuRpbg==?= <optima(at)hot.ee>

 Date:  Sat, 24 Jun 2000 11:34:14 +0300
 To:  <hwg-basics(at)hwg.org>,
"CSteely" <hwg(at)csteely.com>
 References:  mailarizona thegrid
  todo: View Thread, Original
Hi folks

> 1.  How many different versions of my site do I have to make, to
> accommodate the different browsers/versions, and whether or not they've
got
> their javascript enabled?

I usually make 2 versions of my site. One will be pretty plain (tables,
text, almost no images, no javascript nor any type of bells and whistles
:-)). The other verison of the site will look a lot nicer (layers,
JavaScript, images etc)

> 2.  How do I know who is who, and send the various people with their
> various configurations to the appropriate version of my site?

This can be done with JavaScript.
The visitor goes to my page index.html (this is the plain version).
JavaScript will find out, what type of browser is used and if the version
number is 4.0 or above then it will redirect the browser to the
high-end.html (the other version, with layers etc). All the "real" content
of the plain HTML version of the site will be inside <noscript></noscript>
tags, this way if the browser doesn't support JavaScript or it is disabled
the content will be displayed. Otherwise the browser will be redirected and
the visitor won't even notice that the first page had any type of content.

Hope this helps.
In case everybody found a mistake in or if it should be in any wise
unethical then please let me know.


Best wishes,
Lauri V�in
--
Lauri V�in
Get a residual income by earning commissions
for reselling web servers and registering domains.
Note! This is not a get rich quick scheme!!!
Note! It's a way to get a residual income.
NB! Great opportunity for webmasters and designers.
Just sign up and see the benefits.
http://www.virtualis.com/vr/lvin/vrp.html

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA