PDA

View Full Version : Alternative images for Flash elements


lewisfaith
08-08-2005, 12:08 PM
I want to have a HTML page that uses Flash elements such as buttons, is their a simple way of having image alternatives for those without Flash.
I want to avoid to two versions of the site.

LJK
08-10-2005, 01:31 AM
Hi -
The absolute simplest way is to have a nice, neat little text link area below, above, or to one side of your navigation area.

Recently, I tried making the background image of a div the same as a flash movie housed in the same div w/ basically the same image as its starting point, which looked pretty nice as an alternative.

If you try something like it, be sure to set a width on the div and the object/embed tags via css - and can use the background: property to set the image and tweak its location w/in the div., like:

div#intro{
width:600px; margin:0 auto;
background:transparent url("mypic.png") no-repeat 0% 0%;}

But that would be a pain for navigation...

Good luck,
El