wincc弹出画面窗口脚本

tech2024-05-06  86

wincc弹出画面窗口脚本

This tutorial will show you how to create a cool pop up windows with no toolbars.

本教程将向您展示如何创建没有工具栏的超酷弹出窗口。

1. Create a button in your Flash file.

1.在Flash文件中创建一个按钮。

2. Right click the button and go to actions give actions:

2.右键单击该按钮,然后转到动作进行动作:

getURL ("JavaScript:openWin('test.html', '250', '250')");

3. Publish your movie, selecting the HTML and Flash options you prefer.

3.发布电影,选择您喜欢HTML和Flash选项。

4. Open the html page in notepad, and insert the following code in between the <head> and </head> tags.

4.在记事本中打开html页面,然后在<head>和</head>标记之间插入以下代码。

<script language="JavaScript"> function openWin(url, w, h) { var winprop = "width=" + w + ",height=" + h; openwin = window.open(url,'',winprop); } </script>

That's it! Preview your page in a browser.

翻译自: https://www.sitepoint.com/script-popup-windows-flash/

wincc弹出画面窗口脚本

相关资源:wincc使用技巧
最新回复(0)