核心提示:评分表自动刷新功能代码实现教程!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhtmlheadmeta http-equiv=Co...
评分表自动刷新功能代码实现教程
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!--10秒后自动刷新--> <meta http-equiv="refresh" content="10"> <title>管理评论</title> <link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css"> <script> function CheckAll(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != 'chkall') e.checked = form.chkall.checked; } }; function Trim(str) { return str.replace(/(^\s*)|(\s*$)/g, ""); }; window.location.reload(); setTimeout('myrefresh()',1000); </script> <style> .ecomment {margin:0;padding:0;} .ecomment {margin-bottom:12px;overflow-x:hidden;overflow-y:hidden;padding-bottom:3px;padding-left:3px;padding-right:3px;padding-top:3px;background:#FFFFEE;padding:3px;border:solid 1px #999;} .ecommentauthor {float:left; color:#F96; font-weight:bold;} .ecommenttext {clear:left;margin:0;padding:0;} </style> </head> <body> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">