61 users online (1 members and 60 guests)  


  Results 1 to 7 of 7

Related

  1. Replies: 1
  2. VPS users    Forum: Web Hosting Forum
    Replies: 0
  3. Replies: 0
  4. Forum for Web Accessibility?    Forum: AHFB Feedback
    Replies: 0
  1. #1
    xdeadd0llx's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Nov 2003
    Location
    Adelaide, Australia
    Posts
    25

    Accessibility 4 non-flash users

    Hi folks

    I'm looking for some suggestions to make flash more accessible to users without flash player. Currently the people I'm making the site for requires a flash movie intro page and a flash menu for the main pages. My current (low-tech) solution is to provide a simple "skip intro" link and a "download flashplayer" link.... Whilst I'm not as concerned about the intro page... can java be used to somehow substitute the menu if no flash player is detected? I've been given one java "solution" - using a script that will detect an absense of flash and then prompt the user to download flash but it seems a waste of time.. why not just use a small "download flash" link in the first place? I'm looking for something automated. Maybe a "backup" java or simple gif menu to replace? Is this possible? In my head I can see it.. but in reality I need some coding help.

    You'll have to forgive me - I'm no java pro. I can only edit existing scripts and I've never attempted to write one (as yet). Ideas or input would be appreciated. Thanks

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi,
    heres an interesting way to detect flash -

    http://www.moock.org/webdesign/flash/detection/noscriptdetection.html
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    wahid's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Oct 2003
    Posts
    75

    Thumbs up Informative Link

    Quote Originally Posted by QuietDean
    Hi,
    heres an interesting way to detect flash -

    http://www.moock.org/webdesign/flash/detection/noscriptdetection.html
    Thanx QuietDean (I needed that information)
    Very timely indeed. Thanx a bunch.

  4. #4
    xdeadd0llx's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Nov 2003
    Location
    Adelaide, Australia
    Posts
    25

    Java detect/replace script

    Thanks Dean, that's an interesting way! I'll try it out. I've also worked out some form of java script that "should" detect user plugins etc and then either <embed> the flash animation or replace with an image accordingly. Here's the code and if someone could have a look and tell me if it looks ok...

    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=Untitled WIDTH=400 HEIGHT=400>
    <PARAM NAME=movie VALUE="blah.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=loop VALUE=false>
    
    <SCRIPT LANGUAGE="JavaScript" type="text/javascript">
    <!-- hiding contents from old browsers
    
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
    
    document.write('<EMBED src="blah.swf" loop=false quality=high 
    WIDTH=400 HEIGHT=400 TYPE="application/x-shockwave-flash" 
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
    }
    else {
    document.write('<IMG SRC="blah.gif" width="400" height="400" alt="blah" align="middle">');
    }
    
    //Done hiding from old browsers. --> 
    </SCRIPT>
    </OBJECT>
    In relation to the document.write('<IMG SRC etc>'), what is acceptible? Can I put an image map instead of a .gif etc?

    Also, if I wanted to substitute a flash menu with individual gif buttons (rather than an image map) would this be correct:

    Code:
    else {
    document.write('<a href="index.html"><IMG SRC="index.gif" width="100" height="20" alt="index link" align="middle"></a>');
    document.write('<a href="blah.html"><IMG SRC="blah.gif" width="100" height="20" alt="blah link" align="middle"></a>');
    etc.....
    Phew! Spiel! Thanks for any input
    Last edited by xdeadd0llx; 11-19-2003 at 07:38 AM. Reason: forgot the ";" at close of document.write. doh

  5. #5
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi,

    yes, you can put any HTML/CSS in document.write, and you can use as many lines as you like, it should work fine.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  6. #6
    xdeadd0llx's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Nov 2003
    Location
    Adelaide, Australia
    Posts
    25
    *Ding* that was the sound of the lightbulb lighting up above my head. I'm now going to trot away and go nuts with my new knowledge about document.write. *rubs hands together* thanks (yet again!) Dean.. and Happy Birthday too!

  7. #7
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    thank you.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread