TELL A FRIEND
|
contact
|
ADVERTISE
>>
Earn money through freelance projects!
Home
Tech Channels
Tutorials
Resource Directory
Source Code
Discussions
Q & A
Submit
RESOURCES
Source Code (216 )
Articles (74)
Books (5)
Components (5)
News (1 )
Websites (45)
Related Tutorials
Javascript Tutorial
PHP Tutorial
Learn AJAX Tutorial
HTML tutorial
Flex Tutorial
...more
Community
Join VisualBuilder
Authors
People
Discussions
Site
About Us
Site Map
Search
Contact Us
Feedback
Tell a Friend
Advertise
You are Here:
Home
>
JavaScript
>
Source Code
>
Browser
Alert User Depending On Browser
Alert user, depending on browser
<html>
<head>
<script type=
"text/javascript"
>
function
detectBrowser
(
)
{
var
browser=navigator.
appName
;
var
b_version=navigator.
appVersion
;
var
version=parseFloat
(
b_version
)
;
if
(
(
browser==
"Netscape"
||browser==
"Microsoft Internet Explorer"
)
&&
(
version>=
4
)
)
{
alert
(
"Your browser is good enough!"
)
;
}
else
{
alert
(
"It's time to upgrade your browser!"
)
;
}
}
</script>
</head>
<body
onload
=
"detectBrowser()"
>
</body>
</html>
Date entered :
25th Mar 2008
Rating :
No Rating
Accessed :
1248
Submitted by :
goldeekhan
Add Comment
Printer friendly
View All Comments
Email to a friend
Add to my Favourites
Download PDF version
Rating
Click each image to add
this page to each site.
Comments Available
No comment available at the moment.Be the first one to make a comment
Add Comments
Comment title :
Comment :
Enter Image Code:
Related JavaScript Source Codes
Spring
Wraps a string to a given number of characters using a string break character
Uppercase the first character of each word in a string
Make a string's first character uppercase
Strip whitespace (or other characters) from the beginning and end of a string
Enter your search terms
Submit search form
VisualBuilder
Web
Member Panel
remember me
Forgot your password?
Resend Activation Email!
New User? Click Here!
Copyright © 2010 VisualBuilder. All rights reserved