You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.7 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var swfVersionStr = "10.0.0";
var xiSwfUrlStr = "expressInstall.swf";
var flashvars =
{
bookId: "1", //资源id
userId: "1", //用户id
viewMode: "0", //显示模式0为单页显示1为双页显示
paging: "false", //资源加载方式0或false为一次性加载1或true为分页加载
bookUrl: "", //资源地址
//bookmarkUrl: "assets/data/bookmark.xml", //书签数据地址
//commentUrl: "assets/data/comment.xml,/assets/data/comment2.xml", //获取批注数据的URL可以有多个批注地址用逗","隔开
skinStyle: "2", //皮肤样式1.易资源皮肤样式。2.数字化校园皮肤样式
skinUrl: "/Content/FlashReader/ReaderSkin.swf", //皮肤地址
toolbarVisible: "1", //是否显示工具栏:0.不显示1.显示
toolbarPosition: "1",
showMiddleButton: "0",
showMoveArrow:"0",
backgroundColor: "0xffffff", //背景色
backgroundAlpha: "1", //背景透明度
resourceNotFoundMessage: "资源加载失败", //资源不存在时提示信息
//toolbarItems: "singlePage,doublePage,,separator,zoomIn,zoomOut,separator,previousPage,currentPage,totalPage,nextPage,separator,link,comment,pencil,delete,browse,edit,separator,catalog,separator,fullScreen", //自定义工具栏元素
toolbarItems: "singlePage,doublePage,separator,zoomIn,zoomOut,separator,previousPage,currentPage,totalPage,nextPage,separator,fullScreen" //自定义工具栏元素
};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
params.wmode = "transparent";
var attributes = {};
attributes.id = "TextReader";
attributes.name = "TextReader";