"click to activate and use this control" - annoying message!
Freeola Internet Get Dotted Domains Gaming & Extras
Freeola Gaming & Design
Easy Web Site Builder - Create Blogs, Galleries & More...
 
Browse Chat Forums:
 Chat Forums Home Latest Message Chat Rules Chat Safety & Tips Top Posters How to Win GAD Prizes View the Winners List Update Your Profile See Who's Online
  Free Web Site  Free Domain Hosting  Emergency Internet  Broadband Offers
 

Premium Customer Support

Win Amazon Vouchers!

Visit our Support Pages E-mail a Support Request Contact Us

Build Your Own Web Site In Minutes!

nothing
You Are Here Chat Home (42) Internet  Web Design  ""click to activate a..."
Just lurking around? Why not join in? You could win free games just by chatting. Choose your Nickname in MyFreeola or Sign Up Here.
 
 
"click to activate and use this control" - annoying message!
"Are you sure?"
Moderator
on 15/10/2007 at 2:45:38PM
Edited: 15/10/07 15:55
Total Posts: 878
Original Post:
"click to activate and use this control"

Here's a simple tip to remove this annoying message often seen when Macromedia Flash content is used in a web page - I've even seen it here on Freeola ;¬)

This problem only affects Internet Explorer.
Not only do your visitors see this message, but worse they have to "click twice" to follow any hypertext links!

A simple get-a-round to stop the message and the need for 'two clicks' is to add a small JavaScript after the </object> tag.

Add this:
<script language="javascript" type="text/javascript" src="flashfix.js"></script>

Then create a file named 'flashfix.js' containing the following:

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[ i].outerHTML = objects[ i].outerHTML;
}


To demonstrate the problem and see the fix working visit: www.hmmm.ip3.co.uk/flash
View More Threads Post a Reply  
   Delicious   Digg   Reddit      StumbleUpon
Displaying 1 - 16 of 16 Replies:
Hmmm...
"Are you sure?"
Moderator
on 01/05/2008 at 6:02:10PM
Edited: 1/5/08 18:03
Total Posts: 878
...but I notice on Freeola's SWF advert, where before clicking twice would make the link work, now for me the link doesn't work at all, other swf links seem to be working fine...


*Eccles*...!
If you're not interested just say...




Search Freeola Chat
Hmmm...
"Are you sure?"
Moderator
on 22/04/2008 at 11:25:59AM
Edited: 22/4/08 11:27
Total Posts: 878
Update:
Earlier this month the normal Windows Updates introduced the changes to remove "click to activate" for IE.
ieblog.

The "click to activate" certainly seems to have gone, but I notice on Freeola's SWF advert where before clicking twice would make the link work, now for me the link doesn't work at all, other swf links seem to be working fine. 

I don't use Flash, so I'm not sure how you've added the link to your swf file but you might want to take a look at it.

I'm using IE7 and the latest Flash Player (9,0,124,0).


Search Freeola Chat
Eccles
"Aargh! Broken..."
Staff Moderator
Send a message
on 09/11/2007 at 10:56:30AM
Total Posts: 424
Ah thanks!
Not sure if we should bother to change the code site wide then. We'll only have to change some of it back.
Surely MS had enough money to pay Eolas the license fee in the first place instead of the court battle.
Hmmm...
"Are you sure?"
Moderator
on 09/11/2007 at 9:22:59AM
Total Posts: 878
Thanks for that cjh.

Windows XP SP3 - I thought Vista had killed that off, but it appears not.

I hope it doesn't cause as much trouble as SP2 did!

BSODS etc.
I can still remember the phone calls...





Search Freeola Chat
cjh
"It goes so quickly"
Regular
on 08/11/2007 at 7:49:14PM
Edited: 8/11/07 19:49
Total Posts: 348
Just a heads up that Microsoft will be removing "click to activate" in April 2008.
Puniksem™
"We are not alone!"
Regular
on 22/10/2007 at 10:22:04AM
Edited: 22/10/07 10:23
Total Posts: 30
I've recently been adding more flash content to my website, then noticed that after upgrading to IE7, I was receiving the click here to activate message, how annoying!

So I searched around for a script or method of properly embedding the flash object into the page. I stumbled by chance across this 'SWFObject' guide that allows you to not only add flash with javascript, but to ensure that the user automatically updates the browser flash plugin, or installs it on the fly if it doesn't exist, without leaving your site. Very handy!

Here's the information:
http://blog.deconcept.com/swfobject/

I hope you find it as useful as I did...
Hmmm...
"Are you sure?"
Moderator
on 16/10/2007 at 12:16:01PM
Total Posts: 878
Garin wrote:
> The "dont use flash" fix is pretty good too. :)


:¬)
That's my favourite one as well!

It was only Freeola's recent "Could your PC be possessed?" banner advert Click Here that made me think this could be useful to people...
Garin
"Devil in disguise"
Regular
on 16/10/2007 at 12:06:02PM
Total Posts: 1743
The "dont use flash" fix is pretty good too. :)
Eccles
"Aargh! Broken..."
Staff Moderator
Send a message
on 16/10/2007 at 11:08:12AM
Total Posts: 424
I'm trying to persuade them to use the proper Adobe one, as it seems to cover all possibilities. At the moment there are several different Javascript/VBScript methods in use.
Hmmm...
"Are you sure?"
Moderator
on 16/10/2007 at 8:47:37AM
Total Posts: 878
Sorry Eccles, I should have mentioned it was a MS 'feature' in my post. As you mentioned it was introduced a few years back when applying normal Windows Updates.

Which fix are Freeola going to use?
;¬P
Eccles
"Aargh! Broken..."
Staff Moderator
Send a message
on 15/10/2007 at 7:25:02PM
Total Posts: 424
Just to clarify. This is not a bug caused by the developer of the web page. This is caused by a browser update Microsoft introduced after they lost a patent battle to do with the way Internet Explorer displays OBJECT and EMBED tags in web pages.
It affects Flash, Java, Realplayer Acrobat content in pages viewed in IE.
AS well as using the fix supplied here you can also use the more comprehensive flash detection script supplied by Adobe here.
Garin
"Devil in disguise"
Regular
on 15/10/2007 at 4:32:15PM
Total Posts: 1743
Hmmm... wrote:
> Looks like you even found an old AppleMac to try and see an
> error ;¬)

Are you suggesting I own a Mac? No need for insults you know. :(

It was windows Safari I tried.
Hmmm...
"Are you sure?"
Moderator
on 15/10/2007 at 4:23:53PM
Total Posts: 878
Thanks for the feedback Garin.

Looks like you even found an old AppleMac to try and see an error ;¬)
Garin
"Devil in disguise"
Regular
on 15/10/2007 at 3:55:03PM
Total Posts: 1743
It doesnt create problems as such.  In fact looking at your page in Firefox not even that reports it.  I really thought it did in the past though (not that I'd trust my memory).
outerHTML is an IE invention (Opera supports it as well), its not available in other browsers.  So technically such code should be wrapped in

if (document.body.outerHTML) {
...
}


But if Firefox isnt reporting any error, doesnt really matter.  So basically, ignore me. :)
Hmmm...
"Are you sure?"
Moderator
on 15/10/2007 at 3:19:04PM
Total Posts: 878
Thanks Garin,
Firefox and IE don't seem to have a problem with it.

What browser do you think would have a problem?
Not that I use any other than IE and FF...
Garin
"Devil in disguise"
Regular
on 15/10/2007 at 3:01:52PM
Total Posts: 1743
Hmmm... wrote:
> objects =
> document.getElementsByTagName("object");
> for (var i = 0; i < objects.length; i++)
> {
> objects[ i].outerHTML = objects[ i].outerHTML;
> }


This should really be wrapped in a check to see if outerHTML is valid, otherwise it creates errors on the page for those browsers that dont support it.
Hmmm...
"Are you sure?"
Moderator
on 15/10/2007 at 2:45:38PM
Edited: 15/10/07 15:55
Total Posts: 878
"click to activate and use this control"

Here's a simple tip to remove this annoying message often seen when Macromedia Flash content is used in a web page - I've even seen it here on Freeola ;¬)

This problem only affects Internet Explorer.
Not only do your visitors see this message, but worse they have to "click twice" to follow any hypertext links!

A simple get-a-round to stop the message and the need for 'two clicks' is to add a small JavaScript after the </object> tag.

Add this:
<script language="javascript" type="text/javascript" src="flashfix.js"></script>

Then create a file named 'flashfix.js' containing the following:

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[ i].outerHTML = objects[ i].outerHTML;
}


To demonstrate the problem and see the fix working visit: www.hmmm.ip3.co.uk/flash
 
Change Chat Area
 
Your Details MyFreeola Internet Settings Control Panel Your Details
Login or create a free account.
Forgotten your password?
Free Account Sign-Up
 
 
Fantastic FREE Unlimited Services for every freeola internet customer in the UK!
Register Domain Names. Buy from £2.99
e.g. yourcompany.com
or just yourcompany.
MORE ABOUT DOMAIN NAMES