简单的Javascript窗口开启者表现得很疯狂(Simple Javascript window opener acting crazy)

编程入门 行业动态 更新时间:2024-10-26 08:33:18
简单的Javascript窗口开启者表现得很疯狂(Simple Javascript window opener acting crazy)

看看这个脚本:

<a href="brooklyn.swf" onclick=" window.open( 'brooklyn.swf', 'Start Here: Brooklyn', 'toolbar=no,menubar=no,resizable=no,width=870,height=650,scrollbars=no' ); return false"> Launch animated presentation &gt;&gt; </a>

任何人都可以解释为什么resizable = no在Safari或Firefox中没有用(没有测试过任何其他浏览器)? 也就是说,窗口调用仍然会调整大小。

Look at this script:

<a href="brooklyn.swf" onclick=" window.open( 'brooklyn.swf', 'Start Here: Brooklyn', 'toolbar=no,menubar=no,resizable=no,width=870,height=650,scrollbars=no' ); return false"> Launch animated presentation &gt;&gt; </a>

Can anybody explain why the resizable=no does not work in Safari or Firefox (haven't tested any other browsers)? That is, the window call still be resized.

最满意答案

我认为问题是你在弹出窗口中打开一个独立的.swf文件。 尝试制作一个包含Flash文件的小HTML页面,并将其用作弹出窗口。

I think the problem is that you are opening a standalone .swf file in a popup window. Try to make a small HTML page containing the flash file, and use that as a popup.

更多推荐

本文发布于:2023-07-18 03:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1154175.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:得很   窗口   疯狂   简单   acting

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!