something ideally, rather then an embed) then hide the div.
riches.keith@googlemail.com wrote:
> I am relatively new to javascript but wondered if anyone could help
> me. I am trying to hide flash content on a webpage and am using the
> following script:
>
> $(document).ready(function() {
> $('object').hide();
> });
>
> This seems to work on firefox and opera on a mac (not tested on a pc
> yet) but for some reason it wont hide the object in safari? I guess
> this is a bug but does anyone know of a work around? I have tried
> defining a direct id too but that doesnt make any difference. Any help
> would be greatly received. The script does work as i have tried
> replacing object with div and it works fine.
>
No comments:
Post a Comment