Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: How to fix the "click to activate and use this control" problem

  1. #11
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Use SWFObject!
    http://blog.deconcept.com/swfobject/

    It's by far the easiest, most effective, cross browser way of doing it (and the defacto industry standard from my experience).

  2. #12
    Join Date
    Jan 2007
    Posts
    181
    Thanks
    5
    Thanked 3 Times in 3 Posts

    Default

    Twey,

    I put it at the bottom, within the <BODY></BODY> tags and nothing happned.
    Last edited by Jon101; 06-03-2007 at 05:18 PM.

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

    Default

    I guess it doesn't work too well then.

    I know a lot of people with Firefox who go to the trouble of downloading an extension specifically for this purpose, it can't be that much of a bother to people.
    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. #14
    Join Date
    May 2007
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default isupdate

    include this as js file and add after the flash

    Code:
    <script type="text/javascript" src="includes/ieupdate.js"></script>
    Code:
    theObjects = document.getElementsByTagName("object");
    for (var i = 0; i < theObjects.length; i++) {
    theObjects[i].outerHTML = theObjects[i].outerHTML;
    }

    ops, some one already posted...)

  5. #15
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    xxlfm, as Twey said, the following line would create an error in non-IE browsers:

    Code:
    theObjects[i].outerHTML = theObjects[i].outerHTML;
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  6. #16
    Join Date
    May 2007
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Gecko-based browsers are working..

    really? I use this code for quite a few web sites.

    and I tested in all Gecko browsers, FF, Opera, and NS newset version, maybe in the old version?

    check it at http://www.1000knots.net/topic.php?t...s&m1=portfolio

  7. #17
    Join Date
    Jul 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Quick fix for Click to Activate problem

    Lot's of great solutions, soem a little more complex than others!

    If any one is still having trouble working out some of these javascript add-ins you can get Creative Media to do a quick fix for you. Costs £25, but might save you a lot of time in the long run if your not that fluent in javascript!

    http://www.creativemedianetwork.co.u.../flashfix.html

  8. #18
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by David Farmer View Post
    Lot's of great solutions, soem a little more complex than others!

    If any one is still having trouble working out some of these javascript add-ins you can get Creative Media to do a quick fix for you. Costs £25, but might save you a lot of time in the long run if your not that fluent in javascript!

    http://www.creativemedianetwork.co.u.../flashfix.html

    Why would you pay for it? For one, £25 ($50) is way too pricey to to a simple JS install.

    Again, SWFObject...very very easy to use! EVERYONE should be able to figure that out. If not, thats what forums like these are for.

  9. #19
    Join Date
    Jul 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    if I use the SWFobject fix I get IE's security warning (IE6).
    Is this normal and is there another way that works?

  10. #20
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    What exact security working are you getting? You're probably implementing it wrong. SWFObject should not give a security error.

    There are a lot of other ways though. Have a look at this: http://blog.jrvisuals.com/?p=8

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
  •