Results 1 to 9 of 9

Thread: What's Better to use

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What's Better to use

    Which will more people be able to view? Dynamic Drive's Image Fade out Javascript.... or a flash file? Either way you get the same effect, I just want to maximize the most viewers who can see it.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Either way, it can be disabled. Flash can be disabled if the user does not have a flash player installed on their computer (or browser), and Javascript can be disabled using the browser (or by default in some browsers). Personally (spelling?) I would use Flash being as most users have somewhat "newer" computers and it would be more versatile.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I would use the Javascript, with adequate static fallback. If there were some effect Flash could achieve here that Javascript couldn't, it would be worth using Flash and having the Javascript as a fallback to that, but since there isn't it would only be a waste of time and bandwidth.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Well.. it really is a moot point anymore. With EOLOAS going on like they did, you need to use javascript to embed Flash, so really users will need both.

    But if you want to look for yourself

    Flash Player Ubiquity Which Flash Player 6 is currently at 98.3% of web based desktops worldwide.

    and

    JavaScript Ubiquity with JS 1.2 at 95%

    Pretty even I would guess...
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The difference is that Javascript is available for more machines, even if it's not enabled.
    With EOLOAS going on like they did, you need to use javascript to embed Flash, so really users will need both.
    You don't -- embedding the object then simply changing the source with JS apparently works just as well.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    If JavaScript gets the job done right, in my opinion, you should use it. On the internet connection I'm on Flash movies take forever to load, so for me it would be better to use JS.
    - Mike

  7. #7
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by Twey View Post
    embedding the object then simply changing the source with JS apparently works just as well.
    Okay, with the specifics even , you still use both to accomplish one task, so if a user as one and not the other they still don't always see it
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Well, if it were necessary to use Flash to obtain some effect or other, the optimal setup would be to have Flash using Javascript to avoid the "click here to activate" unpleasantness, falling back on a pure Javascript version, falling back on a static HTML version.

    If the user has both Flash and Javascript, they get the Flash version, without click-to-activate.
    If the user doesn't have Flash, they get the Javascript version.
    If the user doesn't have Javascript, they get the Flash version (although still with possible click-to-activate nonsense).
    If the user doesn't have Javascript or Flash, they get the static version.

    Dynamic content is displayed to the widest possible range of users.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Agreed.

    Hasn't EOLAS taken the fun out of everything....
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •