RE: automatic-click flash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there!

Thanx you all for your solutions!

/Gustav
 

-----Original Message-----
From: Bill Bolte [mailto:billb@xxxxxxxxxxxxxxxx] 
Sent: Friday, May 04, 2007 4:08 PM
To: php-windows@xxxxxxxxxxxxx
Subject: RE:  automatic-click flash?

Here's what we do...

In the head of the html/php file(s):

<!--[if IE]>
<script type="text/javascript" src="flash_fix.js"
defer="defer"></script>
<![endif]-->

And in that JavaScript file goes:

var objects = document.getElementsByTagName("object");

for (var i=0; i<objects.length; i++)
    objects[i].outerHTML = objects[i].outerHTML;


There are other ways out there, some will validate better, if you need
(x)html validation. But those JavaScript methods result in an extremely
large JavaScript file/Section to be loaded. This is nice and short.

Bill

-----Original Message-----
From: Gustav Wiberg [mailto:gustav@xxxxxx] 
Sent: Friday, May 04, 2007 4:06 AM
To: 'php windows' (php-windows@xxxxxxxxxxxxx)
Subject:  automatic-click flash?

Hi there!
 
I searched the Internet about "Click to activate this control"... Why it
is viewd in IE...

"Q. Why do I see "Click to activate this control."?
Microsoft(r) changed the way ActiveX controls behave so Dynamic HTML
(DHTML) events related to user interaction, such as onblur and onclick,
are automatically blocked. To activate an interactive control, either
click it or use the TAB key to set focus on it and then press the
SPACEBAR or the ENTER key. Interactive controls loaded from external
script files immediately respond to user interaction and do not need to
be activated.
 
Basically, you now need to click the control to "approve" it before the
Flash and navigation buttons will work."

and after this reading,... I've been thinking. 


Is it possible to make an automatic click in Javascript to an embedded
flash-object?

 
 
/Gustav
 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux