PDA

View Full Version : redirects



lord_havoc
08-12-2007, 05:07 AM
Does anyone know ow to redirect a page if someones flash player is not working.installed? I am dong a flash gallery but a friend of mine told me she couldn't see the images. I have an HTML gallery set up and ready to use... I just don't know hot to get the users there.

jscheuer1
08-12-2007, 05:39 AM
Have a look at this thread:

http://www.dynamicdrive.com/forums/showthread.php?t=23535

If you still have questions, post them in this thread.

lord_havoc
08-12-2007, 06:22 PM
Thanks! That is just what I needed!

Twey
08-12-2007, 06:47 PM
There's no need for a separate page, just put your alternative code inside the <object>. It will be shown if the Flash isn't.

jscheuer1
08-13-2007, 02:43 PM
There's no need for a separate page, just put your alternative code inside the <object>. It will be shown if the Flash isn't.

If you go that route, you need to specify the version. Even then, I am not sure if all user agents will show the alternative content unless they have no Flash plug in available. And, in the case of object/object or object/embed tags, as are required for most cross browser implementations of Flash, does that go inside the inner tag? I would think so. However, with some implementations, this inner tag is obscured from IE. In others, the entire tag/tag set is scripted with no non-javascript fall back and no convenient way to provide this inner alternative non-Flash content. So, the scripted method isn't such a bad idea. It will fail where javascript isn't enabled though. But, since a good implementation of Flash is scripted to begin with, with a non-javascript fall back, there is every reason to include the alternative content as Twey mentions, in the HTML fall back portion.

Twey
08-13-2007, 08:02 PM
I believe the "Flash Satay" (http://www.alistapart.com/articles/flashsatay) method addresses all your qualms, although it is rather roundabout.