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

JavascriptË¢ÐÂÒ³Ãæ

1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refresh')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href
×Ô¶¯Ë¢ÐÂÒ³ÃæµÄ·½·¨:
1¡¢×Ô¶¯Ë¢Ð£º
<script type="text/javascript">setInterval("window.location.reload()",1800000)</script>
1800000ÊǺÁÃ룬ÕâÀïÉèÖõÄÊÇ30·ÖÖÓ
2.×Ô¶¯Ë¢Ð£º
°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
<meta http-equiv="refresh" content="20">
ÆäÖÐ20ָÿ¸ô20ÃëË¢ÐÂÒ»´ÎÒ³Ãæ.
3.Ò³Ãæ×Ô¶¯Ìøת£º
°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
<meta http-equiv="refresh" content="20;url=http://www.wyxg.com">
ÆäÖÐ20Ö¸¸ô20ÃëºóÌøתµ½http://www.wyxg.comÒ³Ãæ
4.Ò³Ãæ×Ô¶¯Ë¢ÐÂjs°æ
<script language="JavaScript">
function myrefresh()
{
window.location.reload();
}
setTimeout('myrefresh()',1000); //Ö¸¶¨1ÃëË¢ÐÂÒ»´Î
</script>
 
ASP.NETÈçºÎÊä³öˢи¸´°¿Ú½Å±¾Óï¾ä
1. this.response.write("<script>opener.location.reload();</script>");
2. this.response.write("<script>opener.window.location.href = opener.window.location.href;</script>");
3. Response.Write("<script language=javascript>opener.window.navigate(''ÄãҪˢеÄÒ³.asp'');</script>")
JSˢпò¼ÜµÄ½Å±¾Óï¾ä
//ÈçºÎˢаüº¬¸Ã¿ò¼ÜµÄÒ³ÃæÓÃ
<script language=JavaScript>
parent.location.reload();
</script>
//×Ó´°¿Úˢи¸´°¿Ú
<script language=JavaScript>
self.opener.location.reload();
</script>
(¡¡»ò¡¡<a href="javascript:opener.location.reload()">Ë¢ÐÂ</a> )
//ÈçºÎË¢ÐÂÁíÒ»¸ö¿ò¼ÜµÄÒ³ÃæÓÃ
<script language=JavaScript>
parent.ÁíÒ»FrameID.location.reload();
</script>
Èç¹ûÏë¹Ø±Õ´°¿ÚʱˢлòÕßÏ뿪´°Ê±Ë¢ÐµĻ°£¬ÔÚ<body>Öе÷ÓÃÒÔÏÂÓï¾ä¼´¿É¡£
<body onload="opener.location.reload()"> ¿ª´°Ê±Ë¢ÐÂ
<body onUnload="opener.location.reload()"> ¹Ø±ÕʱˢÐÂ
<script language="javascript">
window.opener.document.location.reload()
</script>


Ïà¹ØÎĵµ£º

JavaScript »ñÈ¡¶ÔÏóµÄ¸ß¶ÈºÍ¿í¶ÈÏêϸ˵Ã÷

scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......

Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â

ugmbbc·¢²¼ÓÚ 2009-11-14 09:41:43| 7628 ´ÎÔĶÁ ×ÖÌ壺´ó С ´òÓ¡Ô¤ÀÀ
var ReTitle = '»Ø¸´:Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â';
¸ÐлCOMSHARP CMSµÄͶµÝ
ÐÂÎÅÀ´Ô´:tripwiremagazine.com
JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖв»¿É»òȱµÄ¶«Î÷£¬²»¹ÜÊÇÒ»¸ö¼òµ¥µÄÍøÒ³»¹ÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²²»¹ÜÄãÊǸßÊÖ»¹ÊDzËÄñ ......

¸÷ÖÖÒ³ÃæˢдúÂë´óÈ«,asp/javascriptË¢ÐÂÒ³Ãæ´úÂë

Ò³Ãæ×Ô¶¯Ë¢Ð´úÂë´óÈ«£¬»ù±¾ÉÏËùÓÐÒªÇó×Ô¶¯Ë¢ÐÂÒ³ÃæµÄ´úÂ붼ÓУ¬´ó¼Ò¿ÉÒÔ×ÔÓÉ·¢»Ó×ö³öÍêÃÀµÄÒ³Ãæ¡£
1)
10±íʾ¼ä¸ô10ÃëË¢ÐÂÒ»´Î
2)
<script>
window.location.reload(true);
</script>
Èç¹ûÊÇÄãҪˢÐÂijһ¸öiframe¾Í°Ñwindow¸ø»»³ÉframeµÄÃû×Ö»òIDºÅ
3)
<script>
window.navigate("±¾Ò³Ãæurl"); ......

¿Í»§¶Ëä¯ÀÀÆ÷Ö§³Öµ±Ç°JavaScript½Å±¾´æÔڵĽéÉÜ

 ¿Í»§¶Ëä¯ÀÀÆ÷²»Ö§³Öµ±Ç°JavaScript½Å±¾´æÔÚÈçÏÂÈýÖÖ¿ÉÄÜ£º
¿Í»§¶Ëä¯ÀÀÆ÷²»Ö§³ÖÈκÎJavaScript½Å±¾£»
¿Í»§¶Ëä¯ÀÀÆ÷Ö§³ÖµÄJavaScript½Å±¾°æ±¾Óë¸Ã½Å±¾´úÂëʹÓõİ汾ËùÖ§³ÖµÄ¶ÔÏó¡¢ÊôÐÔ»ò·½·¨²»Í¬£»
¿Í»§¶ËΪÁË°²È«Æð¼û£¬ÒѾ­½«ä¯ÀÀÆ÷¶ÔJavaScript½Å±¾µÄÖ§³ÖÉèÖÃΪ½ûÖ¹¡£
  ÒÔÉÏÈýÖÖÇé¿ö×ܽáÆðÀ´£¬¾ÍÊÇä¯ÀÀÆ÷¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ