Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Tools\FlexPaper\Viewer.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Viewer.aspx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Tools.FlexPaper.Viewer" %> <!DOCTYPE html> <html> <head> <title> <%--<%= this.Title %>--%></title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <%= Import.CSS("js", "/JQueryUI/css/redmond/jquery-ui-1.8.9.custom.css")%> <%= Import.ScriptTheme("js/libs/jquery-1.7.1.min.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.ScriptTheme("js/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("js", "/global.js")%> <%= Import.CSS("style.css")%> <%= new HeadInstance(this) { }.ToHtml() %> <script src="js/flexpaper_flash_debug.js" type="text/javascript"></script> <script src="js/flexpaper_flash.js" type="text/javascript"></script> </head> <body> <% var fileUri= Request.QueryString["File"]; //var fileType = fileName.Substring(fileName.LastIndexOf(".")+15); //var fileUri = fileName.Substring(0,fileName.LastIndexOf(".")+1) + fileType; //fileUri = Request.WebPath() + "/Upload/VideoAttachment/Paper.pdf.swf"; %> <%-- <a id="" style="overflow:hidden;width: 100%; height: 100%"></a>--%> <!--???????????????????????????????--> <%-- <input type="hidden" id="file" value='<%= fileUri %>' />--%> <div id="viewerPlaceHolder" ></div> <script> $(window).on('load resize', function () { var doc = document.getElementById("viewerPlaceHolder"); $("#viewerPlaceHolder").width($(document).width()-2) .height($(document).height()-4); }); </script> <script type="text/javascript"> var fileURL = $("#file").val(); var fp = new FlexPaperViewer( 'FlexPaperViewer', 'viewerPlaceHolder', { config: { SwfFile: escape('<%=fileUri%>'), Scale: 0.6, ZoomTransition: 'easeOut', ZoomTime: 0.5, ZoomInterval: 0.2, FitPageOnLoad: false, FitWidthOnLoad: true, PrintEnabled: true, FullScreenAsMaxWindow: false, ProgressiveLoading: false, MinZoomSize: 0.2, MaxZoomSize: 5, SearchMatchAll: false, InitViewMode: 'Portrait', ViewModeToolsVisible: true, ZoomToolsVisible: true, NavToolsVisible: true, CursorToolsVisible: true, SearchToolsVisible: true, localeChain: 'en_US' } } ); </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de