PDA

View Full Version : How to display image instead of Flash to cell phones?



alwaysthinking
20 May 2010, 09:57 PM
My website has a Flash element in the main layout that does not show on cell phones like the iPhone and Droid.

there is a blank spot where the Flash should be.

Does anyone know of a way to sniff the browser and then show an image to the cell phone visitors?

Thanks,

alwaysthinking

michaelangrave
21 May 2010, 03:05 AM
A quick fix for the time being would be to have the flash sitting in a containing div, and putting a background image on that div.

The only problem is that on standard web browsers you will be loading both the background and the flash, but for the time being, at least visitors using mobile devices won't be left with a blank space.