Dax Pandhi's nAESTHETIC Dax Pandhi's nAESTHETIC Dax Pandhi's nAESTHETIC Subscribe to this Blog's RSS feed Subscribe to my DeviantArt RSS feed

Popular art from my DeviantArt account:


  Saturday, August 05, 2006


Workaround for the CLICK TO ACTIVATE irritant

If you have a Flash control that needs to be "activated" - especially on a fully Flash site - you know how problematic and anti-productive it can be. Here's a workaround:

//work-around for IE "click to activate" object
var objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
    objects[i].outerHTML = objects[i].outerHTML;
}

This code will "activate" all OBJECT tags in your page. Use with care. The irritant in IE may not fun, but the security concern is valid.









8/6/2006 12:19:46 AM (India Standard Time, UTC+05:30)
What security concerns do you mean? The "click to activate this control" has nothing to do with security. It's because of a lost patent lawsuit with Eolas. The clicking or space bar lets them work around a technicality in the patent language.

Anyhow, doesn't this script wind up restarting the flash animation if it's already started? I tried doing something similar in window.onload and had problems.
8/17/2006 3:23:42 AM (India Standard Time, UTC+05:30)
Another solution. It uses javascript generation of the flash object.

http://www.chaliy.com/Sources/FlashControl/Default.aspx

This is wrapper on that solution.
6/2/2007 1:47:50 AM (India Standard Time, UTC+05:30)
What is the most important information I should know about levitra? You can buy cheap levitra at my homepage :)
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Copyright � 2005-2007 Dax Pandhi. All rights reserved.
designed by nukeation
Sign In