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

ÄãÕæµÄÖªµÀÒ»¸öHTML¼°×ÊÔ´ÊÇÈçºÎloadµÄÂð?

 
ÄãÕæµÄÖªµÀÒ»¸öHTML¼°×ÊÔ´ÊÇÈçºÎloadµÄÂð(Á˽â¸÷¸ö²¿·ÖÊǺÎʱÏÂÔØºÍÖ´ÐеÄ)
Ô­ÎĵØÖ·£ºhttp://www.cnblogs.com/mindsbook/archive/2009/12/03/sequence_of_response.html
±¾²©¿ÍËùÓÐÄÚÈݲÉÓàCreative Commons Licenses Ðí¿ÉʹÓÃ. ÒýÓñ¾ÄÚÈÝʱ£¬Çë±£Áô ÖìÌÎ, ³ö´¦ £¬²¢ÇÒ ·ÇÉÌÒµ .
µã»÷ ¶©ÔÄ À´¶©Ôı¾²©¿Í.(ÍÆ¼öʹÓàgoogle reader, Èç¹ûÄãµÄä¯ÀÀÆ÷²»Ö§³ÖÖ±½Ó¶©ÔÄ,ÇëÖ±½ÓÔÚ google reader ÖÐÊÖ¶¯Ìí¼Ó).
µã»÷ ÏÂÔØpdfÔĶÁ (Èç¹ûä¯ÀÀÆ÷²»Ö§³ÖÖ±½Ó´ò¿ª,Çëµã»÷ÓÒ¼üÁí´æ)
ÕªÒª
±¾ÎÄÖ÷Òª½éÉÜä¯ÀÀÆ÷ÇëÇóÒ»¸öURIºó, ÏàÓ¦µÄhtml¼°Æä°üº¬µÄÍⲿ×ÊÔ´(Èçjs/css/image/flash)µÄÏÂÔØË³Ðò¼°ÆäÖ´ÐÐ˳Ðò.
ÔÚÎÄÖлáÓÐÒ»¸ö¾ßÌåµÄÀý×ÓÀ´ËµÃ÷.
Contents
ÕªÒª
ÒýÈë
¾ßÌå·ÖÎö
ÇëÇó·ÖÎö
¶ÔFirefoxºÍchromeµÄÇëÇó·ÖÎö
Firefox
chrome
ÓÐÒâ˼µÄÒ»¸ö²åÇú
½áÂÛ
ºó¼Ç
²Î¿¼×ÊÁÏ
±¾ÎĵÄÔ´Âë
ÒýÈë
Íê³ÉÁËÈô¸É¸ö»ùÓÚWEBµÄÏîÄ¿, Ò²Á˽âÁË´Óǰ¶ËµÄjs,css,htmlµ½ºó¶Ëpython/phpµÈ, ¶þÕßÈçºÎ½»»¥, ×îÖÕä¯ÀÀÆ÷ÈçºÎÖ´ÐÐ, ÕâЩÔÚÐÄÀïÒ²ÒѾ­ºÜÃ÷È·ÁË. ²»¹ýÒ»¸öÎÊÌâÒ»Ö±ÝÓÈÆÔÚÐÄÖÐ,ÄǾÍÊÇ:
Ò»¸öhtmlÓÐÈô¸É¸öÍⲿ×ÊÔ´(js,css,flash,imageµÈ),ÕâЩÇëÇóÊǺÎʱÏÂÔØµÄ,ÓÖÊǺÎʱִÐеÄ?
²»Çå³þ,²»Ã÷°×, ËùÒÔÒ²¾Í²»ÖªµÀÎÒдµÄjs¾¿¾¹ºÎʱִÐеÄ, Ò²¾Í²»ÖªµÀΪʲôºÜ¶à¸ßÐÔÄܵĽ¨ÒéÊÇÒª½«jsÖÃÓÚÒ»¸ö htmlµ×¶ËµÄ</body>֮ǰ.
Èç¹ûÄãÒ²²»ÊǺÜÃ÷È·,ÇëÀ´ºÍÎÒÒ»Æðѧϰ°É.
¾ßÌå·ÖÎö
Ê×ÏÈÎÒÃÇÀ´¿´Ò»¸öʾÀýµÄhtmlÒ³Ãæ,ÈçÏÂ:
<html>
<head>
<script src="/static/jquery.js" type="text/javascript"></script>
<script src="/static/abc.js" type="text/javascript">
</script>
<link rel="stylesheets" type="text/css" href="/static/abc.css"></link>
<script>
$(document).ready(function(){
$("#img").attr("src", "/static/kkk.png");
});
</script>
</head>
<body>
<div>
<img id="img" src="/static/abc.jpg" style="width:400px;height:300px;"/>
<script src="/static/kkk.js" type="text/javascript"></script>
</body>
</html>
ËüÓÐÈçϼ¸ÖÖ×ÊÔ´:
3¸öÍⲿjsÎļþ,1¸öinline js´úÂë
1¸öÍ


Ïà¹ØÎĵµ£º

html inputÖÐ buttonºÍsubmitµÄÇø±ð

type=button      ¾Íµ¥´¿Êǰ´Å¥¹¦ÄÜ   
type=submit      ÊÇ·¢ËÍ±íµ¥
µ«ÊǶÔÓÚ´ÓÊÂWEB UIµÄÈËÓ¦¸ÃҪעÒâµ½£¬Ê¹ÓÃsubmitÀ´Ìá¸ßÒ³ÃæÒ×ÓÃÐÔ£º
ʹÓÃsubmitºó£¬Ò³ÃæÖ§³Ö¼üÅÌenter¼ü²Ù×÷£¬¶øºÜ¶àWEBÈí¼þÉè¼ÆÊ¦£¬¿ÉÄÜûÓÐ×¢Òâµ½submitͳһ.
ÓÃbuttonºóÍùÍù ......

Jasperreportµ¼³öHtml¡¢Pdf¡¢Excel¡¢Rtf¡¢Xml´íÎó»ã×Ü


ת×Ô£ºhttp://lbccheng.blog.163.com/blog/static/314120920095525627390/
ÎÊÌâÒ»£ºÊ¹ÓÃJasperReportÉú³ÉHtml±¨±íºó£¬Êý¾ÝÏÔʾÕýÈ·£¬µ«¸÷ÖÖÏßÌõÏÔʾ²»³öÀ´
           ²úÉúÔ­Òò£ºÔÚ Éú³ÉHTMLÒ³ÃæÊ±JRHtmlExporterParameter.IMAGES_URI²ÎÊýÉèÖò»ÕýÈ·£¬Ö÷ÒªÊÇͼƬµÄ ......

AxureÉú³ÉhtmlºóÏÔʾһ¼¶¹¦ÄÜÄ£¿é

×î½üÓÃAxureÉú³ÉµÄÔ­Ð͸ø¿Í»§£¬¿Í»§ÈÏΪ×ó²àµÄĿ¼Ê÷È«²¿Õ¹¿ª²»±ãÓڲ鿴¡£¹ÊÔö¼ÓÁËһЩjs½Å±¾£¬¹Ø±ÕÒ»¼¶ÒÔϵÄĿ¼¡£
¾ßÌå·½·¨£º
ÔÚÉú³ÉµÄÎļþ¼ÐÖÐÕÒµ½_SiteTree.html Îļþ£¬Ö®ºóÔÚhtml´úÂë×îºóÒ»ÐмÓÈëÈçÏ´úÂ룺
<SCRIPT   LANGUAGE="JavaScript">   
function CloseDiv(id)
{
&nb ......

phpÈ¥³ýhtmlÖеÄscript

//È¥³ý script ½Å ±¾
function delScript($string){
$pregfind = array("/<script.*>.*<\/script>/siU",'/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i');
$pregreplace = array('','');
$string = preg_replace($pregfind, $pregreplace, $string);
return $str ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ