ShowJsPath.asp
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:2k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- <% Option Explicit %>
- <!--#include file="../../FS_Inc/Const.asp" -->
- <!--#include file="../../FS_Inc/Function.asp" -->
- <%'Copyright (c) 2006 Foosun Inc. Code by awen
- Function getCodePath(selectedJS)
- Dim Path
- Path = "/Vote/VoteJs.asp?TID="&selectedJS&"&InfoID=Vote_HTML_ID&PicW=60"
- getCodePath=getCodePath & "<script src='http://"&request.Cookies("FoosunMFCookies")("FoosunMFDomain") & path&"' language=""javascript""></script>"&vbNewLine
- getCodePath=getCodePath & "<span id=""Vote_HTML_ID"">正在加载...</span>"
- End function
- %>
- <HTML>
- <HEAD>
- <TITLE>CMS4.0</TITLE>
- <link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet" type="text/css">
- </HEAD>
- <BODY>
- <table width="75%" border="0" align="center" cellpadding="0" cellspacing="1">
- <tr>
- <td colspan="2">该JS调用代码为:</td>
- </tr>
- <tr>
- <td colspan="2">
- <div align="center">
- <textarea name="textfield" style="width:90%;height:140" id="codepath"><%=getCodePath(Trim(NoSqlHack(request.queryString("jsid"))))%></textarea>
- </div></td>
- </tr>
- <tr>
- <td> <div align="center">
- <input type="button" name="Submit" value=" 关 闭 " onClick="window.close();">
- </div></td>
- <td> <div align="center">
- <input type="button" name="copy" value=" 复 制 " onClick="copyToClipBoard();">
- </div></td>
- </tr>
- <tr>
- <td height="10" colspan="2"> </td>
- </tr>
- </table>
- </BODY>
- <script language="JavaScript">
- <!--
- function copyToClipBoard()
- {
- var clipBoardContent=document.getElementById("codepath").value
- window.clipboardData.setData("Text",clipBoardContent);
- alert("复制成功n<%=G_COPYRIGHT%>");
- }
- //-->
- </script>
- </HTML>
- <!-- Powered by: FoosunCMS4.0系列,Company:Foosun Inc. -->