SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Mar 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript detecting flash

    can i know what is wrong with this script? cause my ie6 doesnt seem to be able to detect the flash and i dont know why.. or is there any other recommedation of site that i can read up from?


    and by detecting flash, will it slow down the whole site?? i am a beginner in this area. sorry for all the question.

    thank in advance.



    function message()
    {
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])
    {
    do something......
    }
    else
    {
    do other stuff...
    }
    }

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)



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
  •