SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash, with a fallback

    Okay,

    For some reason clients love flash, one of the designers at work really likes it too. I don't have too much of an issue since its just being used for a few presentational things usually.

    This time it's a navigational menu - totally in flash.
    What would you propose I do should the flash plugin not be available/installed?

    I had a look at some of the replacement techniques on shaunn innman's site - reakon this is teh best way?

  2. #2
    SitePoint Addict
    Join Date
    Jan 2004
    Location
    Colorado Springs
    Posts
    308
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Flash detections scripts are available at macromedia.com. There are many that will suit your needs. I would suggest detecting and redirecting to a download page for the plugin.

  3. #3
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do they detect? Using javascript? I kinda figure if someone has flash disabled/not available then they probably don't have js either.

  4. #4
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The most reliable way is to use a small flash file that redirects to a flash page, and place it on a page with a meta redirect that redirects (with a little delay) to a no-flash page. And stick to flash 6.
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  5. #5
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by M. Johansson
    place it on a page with a meta redirect
    if we're talking accessibility, you should not use meta redirects or other client-side redirections, but stick to doing things server-side...

    anyway, back to the original problem: you could try and use OBJECT and provide a fallback within it for people without flash (so effectively we're talking flash satay here). alternatively, you could have a non-flash menu in your markup, wrapped in some IDentified container, and then use javascript onload to completely replace that container with a new node, containing the flash (so something along the lines of shaun inman's technique, but probably highly simplified for this particular situation).

    i can have a stab at doing the code for the latter...watch this space.
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    HTML Code:
    <object type="application/x-shockwave-flash"
    data="button.swf" 
    width="100" height="25">
    <param name="movie" 
    value="button.swf" />
    <a href="/index.html"><img src="navbutton.gif" 
    width="100" height="25" alt="Go Home" /></a>
    </object>
    If flash is disabled, you get a link and an image instead. Easy as pie .
    Last edited by vgarcia; Sep 24, 2004 at 15:09.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •