[OU] repositioning flash
su weisi
afcn007 at gmail.com
Mon Dec 10 04:04:44 UTC 2007
Maybe u can choose visibility hidden or position absolute and width 0px and
height 0px maybe this can help u, yes, sometimes opera really have some
problems u should be familiar to use some other methods to fix it.
2007/12/9, Marcelo Barbudas <nostef at gmail.com>:
>
> Hi
>
> I am trying to hide a flash movie when a user clicks a button.
>
> Since using display: none would cause all browsers to refresh the movie,
> I used negative margins.
>
> This is the code:
>
> function special_hide(value) {
> $(value).style.margin = '0 0 0 -5000px';
> $(value).height = '1px';
> }
>
> function special_show(value) {
> $(value).style.margin = '1px';
> $(value).height = null;
> }
>
> It seems to be working in Firefox and IE, but not in Opera. While the
> div containing the flash is hidden, the flash movie doesn't move.
>
> --
> M.
> --
> Unsubscribe: mailto:opera-users-request at opera.com?subject=unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.opera.com/pipermail/opera-users/attachments/20071210/f4bd1e0f/attachment.htm
More information about the Opera-Users
mailing list