Page 1 of 1

If/Then Browser Detection

Posted: Fri Mar 04, 2011 1:51 pm
by psykahtik
I have done some searching and digging, but it seems everyone has their own ways of doing things, some more effective than others.

I have a web design portfolio website, which uses a "coinslider" flash slideshow. It looks awesome in FF, but IE6/etc users cant view it properly.

How can I create a PHP if/then to detect if they are using a sub-par browser, and display a more simple slideshow?

That way it will work for all users, and those with Firefox and similar browsers can view the more interesting slideshow.

Thanks.

Re: If/Then Browser Detection

Posted: Fri Mar 04, 2011 2:32 pm
by pickle
I'm pretty sure Flash is Flash. There should be no reason why a Flash object would show fine in one browser, but not another.

However, it is entirely possible the HTML code you're using to embed the Flash object is not completely cross-browser compatible.

Re: If/Then Browser Detection

Posted: Fri Mar 04, 2011 2:40 pm
by psykahtik
It shows up a alot slower and distorted in IE6

Re: If/Then Browser Detection

Posted: Fri Mar 04, 2011 2:47 pm
by pickle
Oh, so it does show up. Are you testing FF & IE6 on the same computer? I'm not a big Flash guru, but I do find it interesting that the performance of a Flash object differs that much between browsers.