On Fri, Jun 09, 2006 at 02:30:10PM +1000, Joel Cass wrote:
> > Andrew Scott asked:
> > With the new updates to IE is there a way to tell the browser to not
> > have to click the object to activate it, or is this something that
> > will break the law suit against M$?
> 
> Hi,
> 
> You have to call a function to write the flash from script (this was
> adapted from macromedia's solution).
> 
> <snip nifty js>
> 
> Then, use it as follows
> 
> -----------------------------------------
> <head>
>       <script language="javascript" src="scripts/flash.js" />
> </head>
> <body>
> ................
> <script language="javascript">
>       createFlash (movie, width, height, flashVars, allowscale, 
> allowtransparent)
> </script>
> -----------------------------------------
> 
> Now I'm just being too helpful
> 
> joel

Of course you'll want to add the 'standard' version in a <noscript> tag
below this.  Folks without js enabled will get the notification in IE,
but that seems unavoidable.  

Don't have it handy, but one of the guys here started work on some JS
that looped over embed tags within noscript tags and automatically did
the equivalent of your createFlash() call.  The approach showed a lot of
promise.

-T

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to