68 Classifieds Forums

determine if ie6 or below

This is a discussion on determine if ie6 or below within the v4 Modules / Modifications forums, part of the Help & Support category; Hi, How can i determine the browser? I want {if==IE6} logo.gif {else} logo.png {/if} Because gifs have a lower quality ...


Go Back   68 Classifieds Forums > Help & Support > v4 Modules / Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-19-2008, 02:02 AM
bowers01's Avatar
Senior Member
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 579
Rep Power: 14
bowers01 is on a distinguished road
Default determine if ie6 or below

Hi,
How can i determine the browser?
I want
{if==IE6}
logo.gif
{else}
logo.png
{/if}

Because gifs have a lower quality and doesnt display one of the colors i only want to display it to ie6 and below.
Then all other browsers have a transperent png.

Cheers,
Nick

__________________
Nick Bowers
68c v4.09 Developer
Reply With Quote
  #2  
Old 11-19-2008, 09:10 AM
Lhotch's Avatar
Moderator
 
Join Date: Mar 2006
Posts: 3,653
Rep Power: 90
Lhotch is just really niceLhotch is just really nice
Default

determine browser - Google Search
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Reply With Quote
  #3  
Old 11-19-2008, 12:41 PM
Senior Member
 
Join Date: Jan 2007
Posts: 123
Rep Power: 11
HotAir is on a distinguished road
Default

I had a positioning problem with the newest IE8, and found this way to conditionally serve one additional stylesheet for IE8:
Quote:
<!--[if gte IE 8]>
<link rel="stylesheet" href="/css/styleIE7.css" type="text/css" />
<![endif]-->
Regards,
Jim
__________________
V3.1.10 Developer - live
V4.1.0 Beta 2 - sandbox
Reply With Quote
  #4  
Old 11-19-2008, 07:33 PM
bowers01's Avatar
Senior Member
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 579
Rep Power: 14
bowers01 is on a distinguished road
Default

Hi,
Thanks for the help, but i need a else option. Is the code hotair posted able to have an else?
Cheers
__________________
Nick Bowers
68c v4.09 Developer
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Determine Broadband Users From Dial Up Users bowers01 v4 Questions & Support 3 09-08-2008 03:33 AM
Determine geographic location objelland v3.1 Questions & Support 3 01-26-2008 10:41 AM


All times are GMT -4. The time now is 02:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22