ie中隐藏显示div中的flash不会重新播放(Hidden in IE shows that the div in flash will not be replayed).doc
- 1、本文档共12页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ie中隐藏显示div中的flash不会重新播放(Hidden in IE shows that the div in flash will not be replayed)
ie中隐藏显示div中的flash不会重新播放(Hidden in IE shows that the div in flash will not be replayed)
In a project, the demand is HTML page click on the button will be in the way of BlockUI display contains a SWF animation DIV, click on SWF if this DIV can be hidden, if the user clicks on the HTML button again, the DIV will show up again and play SWF animation.
In Chrome, the Firefox browser can achieve the above requirements, but to hide the DIV IE browser, and then display, which SWF does not seem to be re loaded, it will stay in the last frame last play, still do not know this is IE for Flash or Bug this is normal, after a to try out the solution way.
Of course, can also be used in the SWF JavaScript call replay events to solve, but this is not the way to solve.
The following is an example of the original HTML (excerpt):
DOCTYPE HTML PUBLIC! -//W3C//DTD XHTML Transitional//EN /TR/xhtml1/DTD/xhtml1-transitional.dtd 1
html xmlns= /1999/xhtml
head
meta http-equiv= Content-Type content= text/html; charset=utf-8 /
titleieF/title
script type= text/javascript language= JavaScript
Google.load (jQuery, 1);
/script
script src= Scripts/swfobject.js type= text/javascript /script
script src= Scripts/jquery.blockUI.js type= text/javascript /script said
style type= text/css
#swf {display:none};
/style
/head
body
div id= SWF
div id= swfcontent /div
/div
a href= # /a animation
/body
/html
Then, to use SWFObject embedded SWF player written in a Function JavaScript event:
Function (showSwf) {
Var = {flashvars};
Var params = {};
Params.wmode = transparent;
Params.menu = true;
Params.quality = high;
Var attributes = FlashID {id:, name: FlashID};
Swfobject.embedSWF (flash.swf, swfcontent, 698, 608, 10.0.0, expressInstall.swf, flashvars, params, attributes);
}
Thinking about is this:
Open: the page is loaded, embedded SWF player event (this event CSS is hidden) to SWF DIV, when the user clicks the animation button, display the SWF DIV by BlockUI.
Closing click the SWF button in the BlockUI Clo
您可能关注的文档
- erp中的客户关系管理(Customer relationship management in ERP).doc
- erp优点(ERP advantages).doc
- ercp(ERCP).doc
- erp课程学习方法(ERP Course Learning Methods).doc
- erp项目成功的关键在于团队建设(The key to the success of the ERP project is team building).doc
- etl流程调度设计(ETL process scheduling design).doc
- ettercap简要原理介绍以及使用说明(Ettercap brief introduction to the principle and instructions for use).doc
- erp渠道定位三大能力(ERP channel positioning three capabilities).doc
- eve专业术语(Eve terminology).doc
- eclipseme插件下载与使用(Eclipseme plug-in download and use).doc
- 天津市红桥区2023-2024学年七年级下学期期末数学评估卷(含答案).doc
- 开业活动具体方案.pptx
- 开展十一国庆节庆祝活动的实施方案范文.pptx
- 临沧市沧源佤族自治县2023-2024学年七年级下学期期末数学压轴卷(含答案).doc
- 甘孜白玉2023-2024学年七年级下学期期末数学押题卷(含答案).doc
- 开展营销活动方案.pptx
- 阿坝红原2023-2024学年七年级下学期期末数学易错题整理卷(含答案).doc
- 陇南市西和县2023-2024学年七年级下学期期末数学强化卷(含答案).doc
- 凉山普格2023-2024学年七年级下学期期末数学复习卷(含答案).doc
- 开展春节主题活动策划方案.pptx
文档评论(0)