not serving a particular browser version

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

not serving a particular browser version

aswath narayana
Hello,
I don't want to support IE7, so I want to display a message to the user
saying
'use IE8, firefox etc.'

How can this be done

Regards
-Aswath
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

aswath narayana
Any ideas on this...
My ecommerce pages are very bad in IE7.  Hence, I don't want to support
IE7.
Where are the hooks to provide this kind of check?

Thanks a lot.
Aswath

On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
[hidden email]> wrote:

> Hello,
> I don't want to support IE7, so I want to display a message to the user
> saying
> 'use IE8, firefox etc.'
>
> How can this be done
>
> Regards
> -Aswath
>
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Ryan Foster
There are lots of ways to detect browsers using javascript or  
conditional statements, but IMHO your plan seems to me to be a very  
bad approach, especially on an ecommerce site.  You are essentially  
turning away the largest customer base at the door (like it or not,  
IE7 still has the largest browser market share).  Not many users are  
going to download and install a new browser if they don't have it  
already just to buy a shirt, or a pair of shoes, etc. when there are a  
thousand other sites selling exactly the same thing that do support IE7.

You are much better off creating an IE7 specific stylesheet and using  
a conditional statement to attach it to the page only when the user is  
using IE7:

http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx

Or a quick and dirty method if you want to use only one stylesheet is  
to use javascript to detect the browser and OS and create browser  
specific styling in your main stylesheet.  This method allows you to  
do this without hacks, so your CSS will still validate against  
standards:

http://rafael.adm.br/css_browser_selector/
http://github.com/rafaelp/css_browser_selector

Ryan Foster
HotWax Media
801.671.0769
[hidden email]




On Oct 19, 2009, at 11:37 PM, aswath narayana wrote:

> Any ideas on this...
> My ecommerce pages are very bad in IE7.  Hence, I don't want to  
> support
> IE7.
> Where are the hooks to provide this kind of check?
>
> Thanks a lot.
> Aswath
>
> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
> [hidden email]> wrote:
>
>> Hello,
>> I don't want to support IE7, so I want to display a message to the  
>> user
>> saying
>> 'use IE8, firefox etc.'
>>
>> How can this be done
>>
>> Regards
>> -Aswath
>>

Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Jacques Le Roux
Administrator
And please Aswat, stop to use dev ML for such questions (even more when duplicated!).
See why here :
http://docs.ofbiz.org/x/yAk#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

From: "Ryan Foster" <[hidden email]>

> There are lots of ways to detect browsers using javascript or  
> conditional statements, but IMHO your plan seems to me to be a very  
> bad approach, especially on an ecommerce site.  You are essentially  
> turning away the largest customer base at the door (like it or not,  
> IE7 still has the largest browser market share).  Not many users are  
> going to download and install a new browser if they don't have it  
> already just to buy a shirt, or a pair of shoes, etc. when there are a  
> thousand other sites selling exactly the same thing that do support IE7.
>
> You are much better off creating an IE7 specific stylesheet and using  
> a conditional statement to attach it to the page only when the user is  
> using IE7:
>
> http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx
>
> Or a quick and dirty method if you want to use only one stylesheet is  
> to use javascript to detect the browser and OS and create browser  
> specific styling in your main stylesheet.  This method allows you to  
> do this without hacks, so your CSS will still validate against  
> standards:
>
> http://rafael.adm.br/css_browser_selector/
> http://github.com/rafaelp/css_browser_selector
>
> Ryan Foster
> HotWax Media
> 801.671.0769
> [hidden email]
>
>
>
>
> On Oct 19, 2009, at 11:37 PM, aswath narayana wrote:
>
>> Any ideas on this...
>> My ecommerce pages are very bad in IE7.  Hence, I don't want to  
>> support
>> IE7.
>> Where are the hooks to provide this kind of check?
>>
>> Thanks a lot.
>> Aswath
>>
>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>> [hidden email]> wrote:
>>
>>> Hello,
>>> I don't want to support IE7, so I want to display a message to the  
>>> user
>>> saying
>>> 'use IE8, firefox etc.'
>>>
>>> How can this be done
>>>
>>> Regards
>>> -Aswath
>>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Lucio Crusca
Il martedì 20 ottobre 2009 08:37:09 Jacques Le Roux ha scritto:
> And please Aswat, stop to use dev ML for such questions
I don't get it... on the one hand that seemed to me a dev question, on the
other hand this is also the users ML... can you explain me what exactly can
be posted here and what should not?

Beware, I don't want a flame, I only need to understand.

--
Virtual Bit di Lucio Crusca
via Isonzo, 5 - 10069 - Villar Perosa (TO)
http://www.virtual-bit.com
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Scott Gray-2
Did you read the link that Jacques posted?

Quick summary:
dev list: development related to the ofbiz project itself, not  
customizations
user list: everything else

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 20/10/2009, at 7:55 PM, Lucio Crusca wrote:

> Il martedì 20 ottobre 2009 08:37:09 Jacques Le Roux ha scritto:
>> And please Aswat, stop to use dev ML for such questions
> I don't get it... on the one hand that seemed to me a dev question,  
> on the
> other hand this is also the users ML... can you explain me what  
> exactly can
> be posted here and what should not?
>
> Beware, I don't want a flame, I only need to understand.
>
> --
> Virtual Bit di Lucio Crusca
> via Isonzo, 5 - 10069 - Villar Perosa (TO)
> http://www.virtual-bit.com


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Lucio Crusca
In reply to this post by Lucio Crusca
Il martedì 20 ottobre 2009 08:55:40 Lucio Crusca ha scritto:
> I don't get it...

Never mind, I didn't notice the cross post and I'm not subscribed to dev.

--
Virtual Bit di Lucio Crusca
via Isonzo, 5 - 10069 - Villar Perosa (TO)
http://www.virtual-bit.com
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

rajsaini
In reply to this post by aswath narayana
You will need to do it on very beginning of every page. header.ftl is
the place you can put your code. header.ftl is part of the theme for
9.04 and trunk.

Thanks,

Raj

aswath narayana wrote:

> Any ideas on this...
> My ecommerce pages are very bad in IE7.  Hence, I don't want to support
> IE7.
> Where are the hooks to provide this kind of check?
>
> Thanks a lot.
> Aswath
>
> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
> [hidden email]> wrote:
>
>  
>> Hello,
>> I don't want to support IE7, so I want to display a message to the user
>> saying
>> 'use IE8, firefox etc.'
>>
>> How can this be done
>>
>> Regards
>> -Aswath
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

aswath narayana
-[hidden email]

Thanks for all the responses.
I was thinking that it could be done in a Filter, maybe use the
ContextFilter. Hopefully it is a good place to do the check.

Thanks,
-Aswath

On Tue, Oct 20, 2009 at 1:29 PM, Raj Saini <[hidden email]> wrote:

> You will need to do it on very beginning of every page. header.ftl is the
> place you can put your code. header.ftl is part of the theme for 9.04 and
> trunk.
>
> Thanks,
>
> Raj
>
>
> aswath narayana wrote:
>
>> Any ideas on this...
>> My ecommerce pages are very bad in IE7.  Hence, I don't want to support
>> IE7.
>> Where are the hooks to provide this kind of check?
>>
>> Thanks a lot.
>> Aswath
>>
>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>> [hidden email]> wrote:
>>
>>
>>
>>> Hello,
>>> I don't want to support IE7, so I want to display a message to the user
>>> saying
>>> 'use IE8, firefox etc.'
>>>
>>> How can this be done
>>>
>>> Regards
>>> -Aswath
>>>
>>>
>>>
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

BJ Freeman
In reply to this post by rajsaini
here is some statistics.
http://www.w3schools.com/browsers/browsers_stats.asp


aswath narayana sent the following on 10/20/2009 2:04 AM:

> -[hidden email]
>
> Thanks for all the responses.
> I was thinking that it could be done in a Filter, maybe use the
> ContextFilter. Hopefully it is a good place to do the check.
>
> Thanks,
> -Aswath
>
> On Tue, Oct 20, 2009 at 1:29 PM, Raj Saini <[hidden email]> wrote:
>
>> You will need to do it on very beginning of every page. header.ftl is the
>> place you can put your code. header.ftl is part of the theme for 9.04 and
>> trunk.
>>
>> Thanks,
>>
>> Raj
>>
>>
>> aswath narayana wrote:
>>
>>> Any ideas on this...
>>> My ecommerce pages are very bad in IE7.  Hence, I don't want to support
>>> IE7.
>>> Where are the hooks to provide this kind of check?
>>>
>>> Thanks a lot.
>>> Aswath
>>>
>>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>>> [hidden email]> wrote:
>>>
>>>
>>>
>>>> Hello,
>>>> I don't want to support IE7, so I want to display a message to the user
>>>> saying
>>>> 'use IE8, firefox etc.'
>>>>
>>>> How can this be done
>>>>
>>>> Regards
>>>> -Aswath
>>>>
>>>>
>>>>
>>>
>>>
>>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Scott Gray-2
Those are the statistics for users visiting that site, there are much  
better statistics around than those.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 21/10/2009, at 9:53 AM, BJ Freeman wrote:

> here is some statistics.
> http://www.w3schools.com/browsers/browsers_stats.asp
>
>
> aswath narayana sent the following on 10/20/2009 2:04 AM:
>> -[hidden email]
>>
>> Thanks for all the responses.
>> I was thinking that it could be done in a Filter, maybe use the
>> ContextFilter. Hopefully it is a good place to do the check.
>>
>> Thanks,
>> -Aswath
>>
>> On Tue, Oct 20, 2009 at 1:29 PM, Raj Saini <[hidden email]>  
>> wrote:
>>
>>> You will need to do it on very beginning of every page. header.ftl  
>>> is the
>>> place you can put your code. header.ftl is part of the theme for  
>>> 9.04 and
>>> trunk.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>>
>>> aswath narayana wrote:
>>>
>>>> Any ideas on this...
>>>> My ecommerce pages are very bad in IE7.  Hence, I don't want to  
>>>> support
>>>> IE7.
>>>> Where are the hooks to provide this kind of check?
>>>>
>>>> Thanks a lot.
>>>> Aswath
>>>>
>>>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>>>> [hidden email]> wrote:
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>> I don't want to support IE7, so I want to display a message to  
>>>>> the user
>>>>> saying
>>>>> 'use IE8, firefox etc.'
>>>>>
>>>>> How can this be done
>>>>>
>>>>> Regards
>>>>> -Aswath
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

Ryan Foster
In reply to this post by BJ Freeman
Be careful just quoting statistics without context.  Numbers can tell  
any story you want them too if you approach them from the right  
angle.  W3 Schools browser stats are a bit biased since their visitors  
are generally more tech savvy than the average user.  There are other  
numbers that tell a different story:

http://www.w3counter.com/globalstats.php
http://gs.statcounter.com/
http://www.thecounter.com/stats/2009/March/browser.php
http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0

I stand by my original statement.  Saying you don't want to support  
IE7 is just a arbitrary as saying "I don't want to serve customers  
that wear blue shirts", or "I don't want to serve customers like to  
watch football"...

Telling customers to not use IE7 is just as bad as what some  
developer's used to do 10 years ago when they would put statements on  
their websites saying things like "This site is best viewed using  
Internet Explorer with a 1024x768 screen resolution".

Ryan Foster
HotWax Media
801.671.0769
[hidden email]




On Oct 20, 2009, at 2:53 PM, BJ Freeman wrote:

> here is some statistics.
> http://www.w3schools.com/browsers/browsers_stats.asp
>
>
> aswath narayana sent the following on 10/20/2009 2:04 AM:
>> -[hidden email]
>>
>> Thanks for all the responses.
>> I was thinking that it could be done in a Filter, maybe use the
>> ContextFilter. Hopefully it is a good place to do the check.
>>
>> Thanks,
>> -Aswath
>>
>> On Tue, Oct 20, 2009 at 1:29 PM, Raj Saini <[hidden email]>  
>> wrote:
>>
>>> You will need to do it on very beginning of every page. header.ftl  
>>> is the
>>> place you can put your code. header.ftl is part of the theme for  
>>> 9.04 and
>>> trunk.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>>
>>> aswath narayana wrote:
>>>
>>>> Any ideas on this...
>>>> My ecommerce pages are very bad in IE7.  Hence, I don't want to  
>>>> support
>>>> IE7.
>>>> Where are the hooks to provide this kind of check?
>>>>
>>>> Thanks a lot.
>>>> Aswath
>>>>
>>>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>>>> [hidden email]> wrote:
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>> I don't want to support IE7, so I want to display a message to  
>>>>> the user
>>>>> saying
>>>>> 'use IE8, firefox etc.'
>>>>>
>>>>> How can this be done
>>>>>
>>>>> Regards
>>>>> -Aswath
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>

Reply | Threaded
Open this post in threaded view
|

Re: not serving a particular browser version

BJ Freeman
In reply to this post by BJ Freeman
I agree as well as the accessibility and disabilities.
and I really miss the serving up of just plain text pages.
I get stats also from AWATS from my 7 domains from 1996
so I have a fair idea what the numbers are.
they seem to support most of the reports I see


Ryan Foster sent the following on 10/20/2009 2:30 PM:

> Be careful just quoting statistics without context.  Numbers can tell
> any story you want them too if you approach them from the right angle.
> W3 Schools browser stats are a bit biased since their visitors are
> generally more tech savvy than the average user.  There are other
> numbers that tell a different story:
>
> http://www.w3counter.com/globalstats.php
> http://gs.statcounter.com/
> http://www.thecounter.com/stats/2009/March/browser.php
> http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0
>
> I stand by my original statement.  Saying you don't want to support IE7
> is just a arbitrary as saying "I don't want to serve customers that wear
> blue shirts", or "I don't want to serve customers like to watch
> football"...
>
> Telling customers to not use IE7 is just as bad as what some developer's
> used to do 10 years ago when they would put statements on their websites
> saying things like "This site is best viewed using Internet Explorer
> with a 1024x768 screen resolution".
>
> Ryan Foster
> HotWax Media
> 801.671.0769
> [hidden email]
>
>
>
>
> On Oct 20, 2009, at 2:53 PM, BJ Freeman wrote:
>
>> here is some statistics.
>> http://www.w3schools.com/browsers/browsers_stats.asp
>>
>>
>> aswath narayana sent the following on 10/20/2009 2:04 AM:
>>> -[hidden email]
>>>
>>> Thanks for all the responses.
>>> I was thinking that it could be done in a Filter, maybe use the
>>> ContextFilter. Hopefully it is a good place to do the check.
>>>
>>> Thanks,
>>> -Aswath
>>>
>>> On Tue, Oct 20, 2009 at 1:29 PM, Raj Saini <[hidden email]> wrote:
>>>
>>>> You will need to do it on very beginning of every page. header.ftl
>>>> is the
>>>> place you can put your code. header.ftl is part of the theme for
>>>> 9.04 and
>>>> trunk.
>>>>
>>>> Thanks,
>>>>
>>>> Raj
>>>>
>>>>
>>>> aswath narayana wrote:
>>>>
>>>>> Any ideas on this...
>>>>> My ecommerce pages are very bad in IE7.  Hence, I don't want to
>>>>> support
>>>>> IE7.
>>>>> Where are the hooks to provide this kind of check?
>>>>>
>>>>> Thanks a lot.
>>>>> Aswath
>>>>>
>>>>> On Mon, Oct 19, 2009 at 12:08 PM, aswath narayana <
>>>>> [hidden email]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hello,
>>>>>> I don't want to support IE7, so I want to display a message to the
>>>>>> user
>>>>>> saying
>>>>>> 'use IE8, firefox etc.'
>>>>>>
>>>>>> How can this be done
>>>>>>
>>>>>> Regards
>>>>>> -Aswath
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>
>> Systems Integrator.
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.