aspÏÂÔØÆäËüÍøÕ¾µÄͼƬÀ´¸øhtmlÏÔʾ
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Option Explicit
Response.Buffer = True '»º´æÍ¼Æ¬
Dim objXMLHTTP, XML
Set XML = Server.CreateObject("Microsoft.XMLHTTP") '½¨Á¢ÏÂÔØ¶ÔÏó
XML.Open "GET","http://www.google.cn/images/nav_logo7.png",False '¿ªÊ¼»ñȡͼƬ,http://xxx/pngÕâ½Ú¿ÉÒԸijÉ×Ô¼ºÒªµÄ.ÆäËü±ð¶¯
XML.Send '·¢ËÍÏÂÔØÇëÇó
Response.AddHeader "Content-Disposition", "attachment;filename=png.png" 'ÉèÖÃaspÊä³öÀàÐÍ,²»ÈÃä¯ÀÀÆ÷µ±³ÉhtmlÏÔʾ,ÏÖÔÚÉèÖóÉpng
Response.ContentType = "image/png" 'ÏÔʾ³Épng
Response.BinaryWrite XML.responseBody 'Êä³öÏÂÔØºÃµÄpngÄÚÈÝ,Óöþ½øÖÆÊä³ö
Set XML = Nothing
%>
get_png.aspÊä³öpng
<!---ͼƬ¿ªÊ¼//-->
<!---ͼƬid²»Äܱä,µ«ÊÇ¿ÉÒÔ×Ô¼º¼ÓÉÏ´óС=ÊôÐÔ//-->
<img src="get_png.asp" mce_src="get_png.asp" id=png_img>
<mce:script type="text/javascript"><!--
setInterval(
function ()
{
var png_asp = "get_png.asp";//pngµÄaspÎļþ
png_asp += "?t=" + Math.random();//¼ÓÉÏʱ¼ä²Å¿ÉÒÔÿ´ÎÏÂÔØÐµÄ.
document.getElementById("png_img").src = png_asp;
}
,1000*1);//1000ÊÇÒ»Ãë,*60=ÓÚÒ»·ÖÖÓ,¿ÉÒÔ×Ô¼º¸Ä³ÉÏëÒªµÄʱ¼ä.
// --></mce:script>
<!---ͼƬ½áÊø//-->
xx.htmÏÔʾͼƬ,²¢¶¨Ê±Ë¢ÐÂ.
Ïà¹ØÎĵµ£º
insertAtCurson º¯Êý´úÁ½²ÎÊý·Ö±ðΪ¶ÔÏóºÍÊäÈëµÄ×Ö·û
function insertAtCursor(myField, myValue)
{
if (document.selection)
{
&nb ......
Êó±êµÄ¶àÖÖÑùʽ...
<P><a href="help.htm" style="cursor:hand">ÊÖ</a>
<a href="help.htm" style="cursor:text">Îı¾</a>
<a href="help.htm" style="cursor:MOVE">Ëĸö·½ÏòµÄ¼ýÍ·</a>
<a href="help.htm" st ......
Ö÷ÒªÊǽ«jsonÎÞ·¨Ê¶±ðµÄ×Ö·û½øÐÐתÒå
function dotran($str) {
$str = str_replace('"','\\"',$str);
$str = str_replace("\r\n",'\\r\\n',$str);
$str = str_ ......
µ±HTML¿Ø¼þµÄid="ctl00_contentPlaceHolder_ddl_academy",name="ctl00$contentPlaceHolder$ddl_academy"ʱ
Request.Form["ctl00$contentPlaceHolder$ddl_academy"]¶ø²»ÊÇ
Request.Form["ctl00_contentPlaceHolder_ddl_academy"] ......
<html>
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
<noframes>
<!-- ÔÚä¯ÀÀÆ÷²»Ö§³ÖÊ ......