Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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ÏÔʾͼƬ,²¢¶¨Ê±Ë¢ÐÂ.


Ïà¹ØÎĵµ£º

ASP¼ÓÃÜ

¸øÄãÒ»¸ö΢ÈíµÄ¼ÓÃܺö«¶«£º  
  Script   Encoder   ÏÂÔØµØÖ·£º  
http://msdn.microsoft.com/scripting/vbscript/download/x86/sce10en.exe
  Windows   Script   Engine   5.0    
  Windows ......

Ãæ¶ÔHTML¿Ø¼þÎÒÔÙÒ»´Î´óÒâÁË

µ±HTML¿Ø¼þµÄid="ctl00_contentPlaceHolder_ddl_academy",name="ctl00$contentPlaceHolder$ddl_academy"ʱ
Request.Form["ctl00$contentPlaceHolder$ddl_academy"]¶ø²»ÊÇ
Request.Form["ctl00_contentPlaceHolder_ddl_academy"] ......

HTML ¿ò¼Ü noframes ×÷ÓÃ

<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>
<!--  ÔÚä¯ÀÀÆ÷²»Ö§³ÖÊ ......

HTMLͼƬÐýת

<html>
<head>
<title> </title>
<script type="text/javascript">
function rotateImage() {
imageToRotate = document.getElementById('imgRotate');         
imageToRotate.style.filter= "progid:DXImageTransform.Microsoft ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ