| |
| |
| |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title></title> |
| |
| <style type="text/css" media="screen"> |
| html,body { |
| height: 100%; |
| } |
| |
| body { |
| margin: 0; |
| padding: 0; |
| overflow: auto; |
| } |
| |
| #flashContent { |
| display: none; |
| } |
| </style> |
| |
| <script type="text/javascript"src="http://oa.cscec82.com:9000/SWF/js/swfobject/swfobject.js"></script> |
| <script type="text/javascript" src="http://oa.cscec82.com:9000/SWF/js/flexpaper_flash.js"></script> |
| <script type="text/javascript" src="http://oa.cscec82.com:9000/SWF/js/jquery.js"></script> |
| <script type="text/javascript"> |
| // alert($(window).height()); |
| // alert($(window).width()); |
| |
| //<!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. --> |
| var swfVersionStr = "10.0.0"; |
| //<!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. --> |
| /* var xiSwfUrlStr = "playerProductInstall.swf"; */ |
| var xiSwfUrlStr = ""; //值可以任意 |
| |
| var flashvars = { |
| SwfFile : escape("../files/zlyzz.swf"), //swf文件路径(lucene4.6和页面同一个位置) |
| Scale : 0.6, |
| ZoomTransition : "easeOut", |
| ZoomTime : 0.5, |
| ZoomInterval : 0.1, |
| FitPageOnLoad : true, |
| FitWidthOnLoad : true, |
| PrintEnabled : false, |
| FullScreenAsMaxWindow : false, |
| ProgressiveLoading : true, |
| |
| PrintToolsVisible : false, |
| ViewModeToolsVisible : true, |
| ZoomToolsVisible : true, |
| FullScreenVisible : true, |
| NavToolsVisible : true, |
| CursorToolsVisible : false, |
| SearchToolsVisible : false, |
| |
| localeChain : "zh_CN,en_US" |
| }; |
| |
| var params = {}; |
| params.quality = "high"; |
| params.bgcolor = "#ffffff"; |
| params.allowscriptaccess = "sameDomain"; |
| params.allowfullscreen = "true"; |
| params.menu = "false"; |
| |
| var attributes = {}; |
| attributes.id = "FlexPaperViewer"; |
| attributes.name = "FlexPaperViewer"; |
| swfobject.embedSWF("../FlexPaperViewer.swf", "flashContent", $(window).width(), $(window).height(), swfVersionStr, xiSwfUrlStr, flashvars, params, attributes); |
| swfobject.createCSS("#flashContent", "display:block;text-align:center;"); |
| </script> |
| |
| </head> |
| <body> |
| |
| <div style="position:absolute;"> |
| <div id="flashContent"></div> |
| </div> |
| |
| </body> |
| </html> |