solved it myself, just whilst collecting the code to post.

Late night early morning splurge of coding to excited to sleep after see this wonderful code

yep thats solved but I would like to be able to hide replace code in the nested div

looking at the sifr example I see that after the version object you  have a function(htmlOptions) {...}

when I try this

//   
                $('#hdr').flash(sharkOptions.ufo, {version: 7}).find('embed').each(function(){
                       fc = new JSFCommunicator(this);
                        $('#hdr').addClass('flash-replaced');
                        sharkOptions.page.isFC = true;
                }).end();

it works though this is different from the sifr example since the class is added to the #hdr from within the each call
that might not be crucial anyway - just perplexing - would like to know more to further my understanding though.

thx -S

On 11/11/06, Luke Lutman <[EMAIL PROTECTED]> wrote:
Can you post the code (or a link to it)?

What error does it throw?

...

Also, my text-replacement example
(http://jquery.lukelutman.com/plugins/flash/example-text-replacement.html )
isn't fully cooked yet -- it's functional, but I'm planning to develop
it as a proper plugin (soon, hopefully!). If you do want to try it, make
sure you grab the fla, as that's custom too -- css (flash 7) and better
anti-aliasing (flash 8).

Luke

Sam Sherlock wrote:
> astonishing stuff!!! That works a treat!
>
> I am also using the sifr jquery plugin (really feature filled site this)
> and have tried
> to alter the code to use your flash plugin instead.  I guess its one
> stage at a time!!
>
> However I am unable to set the version it aways throws an error whatever
> I do!?!
>
> I updated to jquery 1.0.3 (had to make other changes json - getJSON)
> this did not solve the issue
>
> any idea about that?  I think the issue with the version setting is
> causing some issue with using it instead of the sifr thingy since I need
> to have a htmloptions callback function



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to