Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 719 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Detecting Browser Version

Thread title: Detecting Browser Version
Closed Thread    
    Thread tools Search this thread Display Modes  
09-14-2007, 07:16 PM
#1
Calabur is offline Calabur
Status: Member
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 147
iTrader: 0 / 0%
 

Calabur is on a distinguished road

  Old  Detecting Browser Version

So, I'm making a website, and IE is playing up and not working like the other damn browsers, as per usual.

Now, I had a script working where it showed a different stylesheet for IE than it did for Firefox, but then I found out the browser versions in IE displayed different things too.

I was wondering if any of you nice, kind people, could possibly write me a script that detects the browser version for IE, and shows different things, and then... well I can do the else parts myself. lol.

Thanks for the help.

09-14-2007, 07:44 PM
#2
Amross is offline Amross
Status: Member
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 311
iTrader: 4 / 100%
 

Amross is on a distinguished road

  Old

A quick search on Google would have quickly directed you to:

http://msdn2.microsoft.com/en-us/library/ms537509.aspx

Which should be sufficient for your needs.

09-14-2007, 09:49 PM
#3
Calabur is offline Calabur
Status: Member
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 147
iTrader: 0 / 0%
 

Calabur is on a distinguished road

  Old

Wait, don't play the use google card on me. lol. I play that card.

I did search on google, and couldn't find what I needed.

Anyway, thanks a lot for the link. It looks to be exactly what I need. Thanks a lot.

09-14-2007, 10:06 PM
#4
daz is offline daz
Status: I love this place
Join date: Jun 2005
Location: UK
Expertise:
Software:
 
Posts: 562
iTrader: 5 / 100%
 

daz is on a distinguished road

Send a message via MSN to daz

  Old

You could use conditional statements.

Code:
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="style.css"/><![endif]-->

09-14-2007, 10:09 PM
#5
Amross is offline Amross
Status: Member
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 311
iTrader: 4 / 100%
 

Amross is on a distinguished road

  Old

Originally Posted by Calabur View Post
Wait, don't play the use google card on me. lol. I play that card.

I did search on google, and couldn't find what I needed.

Anyway, thanks a lot for the link. It looks to be exactly what I need. Thanks a lot.
You must have some pretty funky search queries because that link was the first thing that came up for me.

You're very welcome.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed