Detect IE

This is a discussion on "Detect IE" within the JavaScript Forum section. This forum, and the thread "Detect IE are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 4th, 2006, 17:09
New Member
Join Date: Oct 2006
Location: UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Detect IE

Hi does any1 now any javascript code which detects Internet Explorer versions. Im using IE7 an IE6 and i want to display a message based on the IE version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 4th, 2006, 21:33
Junior Member
Join Date: Nov 2006
Location: Va
Age: 19
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Detect IE

Yeah i know it.

Code: Select all
<script type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer")
{
some statement
}
</script>
Hope that helps!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 6th, 2006, 01:43
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Detect IE

I have one that detects what browser you are on, wither it be firefox or Netscape or I...if you want that one I will post it up here!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 6th, 2006, 01:45
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Detect IE

PHP does a good job at it too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 6th, 2006, 01:48
Elite Veteran
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Detect IE

Yeah, PHP would probably be a better solution, than JavaScript...but the decision is totally up to you!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
javascript ie dection

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Popup Name Detect RobinDeanDotCom JavaScript Forum 0 Feb 24th, 2007 23:35
Script to detect flash? fezunit JavaScript Forum 5 Jan 28th, 2007 13:18
Possible to detect which stylesheet in use? mar2195 JavaScript Forum 9 Nov 25th, 2006 12:43
Detect whether connection to external url is possible simonneaves Classic ASP 3 Oct 24th, 2005 13:12
detect pop-up blocker - different bert JavaScript Forum 0 Jul 22nd, 2005 10:30


All times are GMT. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved