📄 rte_popup_image_preview.asp
字号:
<% @ Language=VBScript %>
<% Option Explicit %>
<!--#include file="common.asp" -->
<%
'****************************************************************************************
'** Copyright Notice
'**
'** Web Wiz Rich Text Editor(TM)
'** http://www.richtexteditor.org
'**
'** Copyright (C)2001-2008 Web Wiz(TM). All Rights Reserved.
'**
'** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS UNDER LICENSE FROM 'WEB WIZ'.
'**
'** IF YOU DO NOT AGREE TO THE LICENSE AGREEMENT THEN 'WEB WIZ' IS UNWILLING TO LICENSE
'** THE SOFTWARE TO YOU, AND YOU SHOULD DESTROY ALL COPIES YOU HOLD OF 'WEB WIZ' SOFTWARE
'** AND DERIVATIVE WORKS IMMEDIATELY.
'**
'** If you have not received a copy of the license with this work then a copy of the latest
'** license contract can be found at:-
'**
'** http://www.webwizguide.com/license
'**
'** For more information about this software and for licensing information please contact
'** 'Web Wiz' at the address and website below:-
'**
'** Web Wiz, Unit 10E, Dawkins Road Industrial Estate, Poole, Dorset, BH15 4JD, England
'** http://www.webwizguide.com
'**
'** Removal or modification of this copyright notice will violate the license contract.
'**
'****************************************************************************************
'*************************** SOFTWARE AND CODE MODIFICATIONS ****************************
'**
'** MODIFICATION OF THE FREE EDITIONS OF THIS SOFTWARE IS A VIOLATION OF THE LICENSE
'** AGREEMENT AND IS STRICTLY PROHIBITED
'**
'** If you wish to modify any part of this software a license must be purchased
'**
'****************************************************************************************
'Clean up
Call closeDatabase()
Response.AddHeader "pragma","cache"
Response.AddHeader "cache-control","public"
Response.CacheControl = "Public"
%>
<!-- #include file="includes/browser_page_encoding_inc.asp" -->
<title>No Preview</title>
<%
'***** START WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******
Response.Write(vbCrLf & "<!--//" & _
vbCrLf & "/* *******************************************************" & _
vbCrLf & "Software: Web Wiz Rich Text Editor " & _
vbCrLf & "Info: http://www.richtexteditor.org" & _
vbCrLf & "Copyright: (C)2001-2008 Web Wiz(TM). All rights reserved" & _
vbCrLf & "******************************************************* */" & _
vbCrLf & "//-->")
'***** END WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******
%>
<script language="JavaScript">
//function to upadte image properties
function imageProperties(oImage){
if (document.getElementById('prevFile').width != 1 && document.getElementById('prevFile').height != 1){
window.parent.document.getElementById('width').value = document.getElementById('prevFile').width
window.parent.document.getElementById('height').value = document.getElementById('prevFile').height
}
}
</script>
<style type="text/css">
<!--
.text {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
}
html,body {
border: 0px;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
<img src="<% = strImagePath %>clear_pixel.gif" id="prevFile" onError="alert('<% = strTxtErrorLoadingPreview %>')" onLoad="imageProperties(this)"><span class="text">Sample text for previewing image alignment; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas interdum nulla ut arcu varius ornare. Duis neque nulla, porttitor in, interdum nec, tempor nec, erat. Integer wisi erat, consequat at, sagittis et, tristique lacinia, ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas interdum nulla ut arcu varius ornare. Duis neque nulla, porttitor in, interdum nec, tempor nec, erat. Integer wisi erat, consequat at, sagittis et, tristique lacinia, ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas interdum nulla ut arcu varius ornare. Duis neque nulla, porttitor in, interdum nec, tempor nec, erat. Integer wisi erat, consequat at, sagittis et, tristique lacinia, ipsum. </span>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -