WebBuilder101 - Making the web happen!
Need Web Dev software? Here is the place to
Flash Point
Browser Detection


Here is a quick and easy way to detect wich browser one is using, and redirect based on browser type.

<script>
<!--
var n=navigator.appName
var ie=(n=="Microsoft Internet Explorer")
var ns=(n=="Netscape")
if (ie)
location="default.html"
else if (ns)
location="default.html"
//-->
</script>

Make sure you place this script within the <HEAD> </HEAD> tags of your web document and that you place the URL to the files to which you wish to redirect your audience in location="default.html", like so: location="place_your_URL_here.html".

See it in action

.

 

More Resources
Opening windows with JavaScript
Scrolling Text
Taking and pasting input to your web page
Customize Messages
Create Rollovers
Change Background colors
Put the current date on your site

Suggested Reading

Beginning Active Server Pages 3.0
JavaScript Bible
Red Hat Linux
Dreamweaver 3.0
HTML Bible



Download WB101 Wallpaper
• Web Builder 101 Wallpaper Get it!.
• Find out how to create your own Wallpaper Teach me!.
Sign up for our Newsletters
• Web Building Sign me Up!.
• Net Alert! Sign me Up!.
Need Help?
• Contact Support Click here.
• E-mail the Webmaster Click Here.
• Search Tips Click Here.

Webbuilder101.com © 1998 - 2003 Copyright and Terms of Use
Send mail to: webmaster@webbuilder101.com

» About » Support

» FAQ » What's New » MyLog

Web Builder 101 Web Builder 101 - Making the Web Happen Web Builder 101 - Making the Web Happen
.