• Resolved drursi08

    (@drursi08)


    Hey all,

    I was wondering if this was possible, to code a header that says:

    If the visitor has Macromedia Flash, then display the Macromedia flash “header.swf”. If not detected on system, then display “header.gif”?

    Is this possible? Or not worth it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • >I was wondering if this was possible, to code a header that says:

    Yes, it is.

    >Is this possible?

    Yes, it is.

    >Or not worth it?

    Disable flash in your favorite browser, than go look at a site that contains flash? What do you see?

    The answer to that question lies in how much you care about your visitor’s experience. I have 2 flash objects on my own site, and both are coded to provide alternate images to browsers w/o flash enabled or installed.

    I believe it’s worth it. But thats just me.

    Now that your questions are answered, I spose you want to know how. (Even though you didnt ask):

    This is a good read:
    http://alistapart.com/articles/flashsatay

    Specifically, this:

    <object type="application/x-shockwave-flash
    data="c.swf?path=movie.swf"
    width="400" height="300">
    <param name="movie"
    value="c.swf?path=movie.swf" />
    <img src="noflash.gif"
    width="200" height="100" alt="" />
    </object>

    Notice the img src= thats tacked on in that? Theres your alternate image.

    Thread Starter drursi08

    (@drursi08)

    Thanks a ton whooami!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IF user has flash, then display Flash header, if not, then display graphic???’ is closed to new replies.