Click to activate this control?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Christopera
    New Member
    • Feb 2007
    • 70

    #1

    Click to activate this control?

    Is there anyway to get around this. I know sites like Cnet do it but am not sure how to get the flash be automatically activated.
  • sandyw
    New Member
    • Mar 2007
    • 122

    #2
    not sure what you want can you please give us an example...

    sandy

    Comment

    • Christopera
      New Member
      • Feb 2007
      • 70

      #3
      When building flash menu's I often see sites that it is required to click on the flash applet to "activate" it. At which point you can use the links. Is there a way to avoid this?

      Comment

      • Motoma
        Recognized Expert Specialist
        • Jan 2007
        • 3236

        #4
        What sites? Any examples for us?

        Some tools like Adblock and Flashblock have a feature like this.

        Comment

        • Christopera
          New Member
          • Feb 2007
          • 70

          #5
          http://eksamerica.com/

          That site has a menu which requires activation.

          Notice that when you hover the menu it does nothing. One click then activates it and the menu comes to life.

          Comment

          • Motoma
            Recognized Expert Specialist
            • Jan 2007
            • 3236

            #6
            Originally posted by Christopera
            http://eksamerica.com/

            That site has a menu which requires activation.

            Notice that when you hover the menu it does nothing. One click then activates it and the menu comes to life.
            It works fine for me. I believe this is due to your web browser or certain plugins for it.

            Comment

            • iam_clint
              Recognized Expert Top Contributor
              • Jul 2006
              • 1207

              #7
              windows xp IE6 does this and i'm sure IE7 does.

              Comment

              • Christopera
                New Member
                • Feb 2007
                • 70

                #8
                I have no tried FF but it does in in Opera and IE 7. IE even places a box around the control with a hover that says "press spacebar or enter to activate and use this control"

                Comment

                • Christopera
                  New Member
                  • Feb 2007
                  • 70

                  #9
                  Stumped, eh?

                  Comment

                  • Motoma
                    Recognized Expert Specialist
                    • Jan 2007
                    • 3236

                    #10
                    Not stumped. We gave you an answer. This is a configuration setting in your browser. It is not supposed to be overridable. If you could override it, it would completely circumvent the tool!

                    Comment

                    • Christopera
                      New Member
                      • Feb 2007
                      • 70

                      #11
                      Would anybody being willing to devulge how exactly you can overide this then?

                      Comment

                      • nb109
                        New Member
                        • Apr 2007
                        • 1

                        #12
                        Rather than jumping on the guy because you can't answer his question, just keep quiet.
                        -- Edit by iam_clint : be nice now.

                        Truth be told, this is just another example of Microsoft designing IE to take certain design elements out of the hands of the web designer. Shortly after this "feature" was introduced, Microsoft and Adobe scrambled to provide designers with ways to override it because there were so many complaints. Most of these complaints came from the owners of sites that were already established and using active content, but were immediately crippled after this release.
                        Being that users have the choice and ability to manually disable active content any time they want, it seems silly that Microsoft would just mandate that their browser and only their browser would force it. All in all, this is just another example of poorly planned blunder on MS's part.

                        Anyway, enough with the ranting. I had to search out a solution after several clients requested a way around this craziness.

                        Here's Adobe's solution, since it has had the best results for me:
                        http://www.adobe.com/devnet/activeco...devletter.html

                        -- edit by clint: good review.

                        Comment

                        • Christopera
                          New Member
                          • Feb 2007
                          • 70

                          #13
                          Great! Thank you very much!

                          Comment

                          • anonymous
                            Banned
                            New Member
                            • Sep 2005
                            • 99

                            #14
                            Firstly my apologies for using an Bugmenot account.
                            I found this page while I was researching for my blogpost via Google. I just wanted to mention that IE and Opera implemented these changes not because they wanted to take power away from web developers, but because they didn't want to be sued by EOLAS.
                            You can learn more about that here : http://en.wikipedia.org/wiki/Eolas#Browser_Changes
                            The solution from web developers end has already been mentioned in this thread. If you are a user, you can over ride this behaviour in Opera by using this userjs :http://www.howtocreate.co.uk/operaSt...ktoactivate.js

                            I would also reccomend that you check out http://www.thefutureoftheweb.com/blo...e-this-control

                            Comment

                            • cytan7411
                              New Member
                              • May 2007
                              • 3

                              #15
                              Another option that will work for both IE6/7, and Firefox is to take all of yoru code, and put it into a javascript and call it from there. Here is an example:

                              HTML CODE:

                              Goes in your HEAD tags:
                              [code=html]
                              <script src="flash_func tions.js" language="JavaS cript" type="text/javascript"></script>
                              [/code]

                              Goes into the place you want your flash to appear:
                              [code=html]
                              <script language="JavaS cript" type="text/javascript">
                              call_menu();
                              </script>
                              [/code]

                              JAVASCRIPT CODE (You are basically taking your HTML code, and placing it in between document.write( '');):
                              [code=javascript]
                              function call_menu()
                              {
                              document.write( '<object classid="clsid: d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macr omedia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=6,0,0,0" width="766" height="69">\n' );
                              document.write( '<param name="allowScri ptAccess" value="sameDoma in" />\n');
                              document.write( '<param name="movie" value="flash/menu_v7.swf" />\n');
                              document.write( '<param name="quality" value="high" />\n');
                              document.write( '<param name="bgcolor" value="#FFFFFF" />\n');
                              document.write( '<embed src="flash/menu_v7.swf" quality="high" scale="exactfit " bgcolor="#FFFFF F" width="766" height="69" allowScriptAcce ss="sameDomain " type="applicati on/x-shockwave-flash" pluginspage="ht tp://www.macromedia. com/go/getflashplayer" />\n');
                              document.write( '</object>\n');
                              }
                              [/code]

                              Comment

                              Working...