【求助】在网页中,设置多个iframe下执行任务,遇到的问题?
情况如下:
本地网页地址为:http://127.0.0.1/index.php
index.php设置了多个iframe来执行任务,
echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=one&id=0\" width=100%></iframe>"; echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=two&id=0\" width=100%></iframe>"; echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=three&id=0\" width=100%></iframe>";
多个iframe地址为执行不同类别的相同任务!
**遇到的问题就是:
任务都是一秒,一个iframe运行一下,再一下,下一个iframe再执行一下,并不是多个iframe同时执行的!**
第一秒 one 1/10 tow 1/10 three 1/10
第二秒 one 2/10 tow 1/10 three 1/10
第三秒 one 2/10 tow 2/10 three 1/10
第四秒 one 2/10 tow 2/10 three 2/10
第五秒 one 3/10 tow 2/10 three 2/10
我想要的效果是同时让多个iframe运行
免费 盛世企业网站管理系统(SnSee)系统完全免费使用,无任何功能模块使用限制,在使用过程中如遇到相关问题可以去官方论坛参与讨论。开源 系统Web代码完全开源,在您使用过程中可以根据自已实际情况加以调整或修改,完全可以满足您的需求。强大且灵活 独创的多语言功能,可以直接在后台自由设定语言版本,其语言版本不限数量,可根据自已需要进行任意设置;系统各模块可在后台自由设置及开启;强大且适用的后台管理支
0
第一秒 one 1/10 tow 1/10 three 1/10
第二秒 one 2/10 tow 2/10 three 2/10
第三秒 one 3/10 tow 3/10 three 3/10
第四秒 one 4/10 tow 4/10 three 4/10
第五秒 one 5/10 tow 5/10 three 5/10
【求助】在网页中,设置多个iframe下执行任务,遇到的问题?
情况如下:
本地网页地址为:http://127.0.0.1/index.php
index.php设置了多个iframe来执行任务,
echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=one&id=0\" width=100%></iframe>"; echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=two&id=0\" width=100%></iframe>"; echo "<iframe frameborder=0 height=35 scrolling=no src=\"/index.php?action=three&id=0\" width=100%></iframe>";
多个iframe地址为执行不同类别的相同任务!
**遇到的问题就是:
任务都是一秒,一个iframe运行一下,再一下,下一个iframe再执行一下,并不是多个iframe同时执行的!**
第一秒 one 1/10 tow 1/10 three 1/10
第二秒 one 2/10 tow 1/10 three 1/10
第三秒 one 2/10 tow 2/10 three 1/10
第四秒 one 2/10 tow 2/10 three 2/10
第五秒 one 3/10 tow 2/10 three 2/10
我想要的效果是同时让多个iframe运行
第一秒 one 1/10 tow 1/10 three 1/10
第二秒 one 2/10 tow 2/10 three 2/10
第三秒 one 3/10 tow 3/10 three 3/10
第四秒 one 4/10 tow 4/10 three 4/10
第五秒 one 5/10 tow 5/10 three 5/10
用js做延时
执行任务 消息队列 是你需要的
iframe 是一种诡异实现
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号