日期:2014-05-17 浏览次数:20605 次
{loop $docurl $r}
<script type="text/javascript" src="/viewer/history/history.js"></script>
<script type="text/javascript" src="/viewer/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {
SwfFile : escape("{$r[filename]}"),
Scale : 0.6,
ZoomTransition : "easeOut",
ZoomTime : 0.5,
ZoomInterval : 0.1,
FitPageOnLoad : false,
FitWidthOnLoad : true,
PrintEnabled : true,
FullScreenAsMaxWindow : false,
ProgressiveLoading : true,
PrintToolsVisible : true,
ViewModeToolsVisible : true,
ZoomToolsVisible : true,
FullScreenVisible : true,
NavToolsVisible : true,
CursorToolsVisible : true,
SearchToolsVisible : true
};
var params = {};
var attributes = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
attributes.id = "wenkuplays";
attributes.name = "wenkuplays";
swfobject.embedSWF("{APP_PATH}viewer/wenkuplays.swf","flashContent","700","550", "10.0.0","{APP_PATH}viewer/playerProductInstall.swf",flashvars,params,attributes);
swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script>
<div id="flashContent">
<p> 本文档播放器要确保Adobe Flash Player版本10.0.0或更高版本。</p>
<script type="text/javascript">
var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"+ pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
</script>
</div>
{/loop}
SwfFile : escape("{$r[filename]}"),
SwfFile : decodeURI("{$r[filename]}"),
SwfFile : decodeURI("a.swf"),
SwfFile : decodeURI("/a.swf"),
SwfFile : decodeURI("{APP_PATH}/a.swf"),
推荐阅读更多>
-
想把php中提交的表单内容写到各个不同的文件中,该怎么解决
-
php加快 PHP APC 浅析
-
浅谈PHP语法(1)_PHP基础教程
-
搞了一天半了,可恶的加密代码解决方案
-
php curl 登录163邮箱并抓取邮箱好友列表的代码(经测试)
-
PHP瓜分失败,郁闷啊苦逼的还在加班调试
-
zf数组传参有关问题.
-
smarty 循环,该怎么解决
-
php中分页显示文章标题
-
PHP+MYSQL如何查询数据库里面符合条件的列
-
if话语前能打印出来,却到后面打印不出来
-
curl数据提交 在nginx中报错
-
PHP栏目导航类_PHP应用实例
-
PHP,21世纪的霸主(一)_其它文章
-
社区(php&&mysql)四
-
简单算法
-
IIS 6 的 PHP 最佳配置方法
-
smarty如何给这种布局赋值多谢
-
php编程实现获取excel文档内容的代码实例
-
mysql 能不能像SQLServer一样 添加外联服务器,该如何处理