使页面自动刷新或者是隔一段时间跳转特效实现 dn001 2009-06-21 08:31:38 <!-- http://www.knowsky.com/js --> <!-- bbs http://www.knowsky.com/bbs--> <!-- 完整的HTML代码如下 --> <html> <HEAD><title>Meta 标签生成器</title> <SCRIPT LANGUAGE="JavaScript"> function create(form) { if (confirm("确认生成代码?")) { form.story.value = " Meta 标签生成器 knowsky.cm欢迎您光临n"; if (form.title.value != "") { form.story.value +="<META NAME="Title" CONTENT="" + form.title.value + "">n"; } if (form.author.value != "") { form.story.value +="<META NAME="Author" CONTENT="" + form.author.value + "">n"; } if (form.subject.value != "") { form.story.value +="<META NAME="Subject" CONTENT="" + form.subject.value + "">n"; } if (form.descript.value != "") { form.story.value +="<META NAME="Description" CONTENT="" + form.descript.value + "">n"; } if (form.keyword.value != "") { form.story.value +="<META NAME="Keywords" CONTENT="" + form.keyword.value + "">n"; } if (form.gen.value != "") { form.story.value +="<META NAME="Generator" CONTENT="" + form.gen.value + "">n"; } if (form.input7.value != "") { form.story.value +="<META NAME="Language" CONTENT="" + form.input7.value + "">n"; } if (form.input8.value != "") { form.story.value +="<META NAME="Expires" CONTENT="" + form.input8.value + "">n"; } if (form.input9.value != "") { form.story.value +="<META NAME="Abstract" CONTENT="" + form.input9.value + "">n"; } if (form.input10.value != "") { form.story.value +="<META NAME="Copyright" CONTENT="?" + form.input10.value + "">n"; } if (form.input11.value != "") { form.story.value +="<META NAME="Designer" CONTENT="" + form.input11.value + "">n"; } if (form.input12.value != "") { form.story.value +="<META NAME="Publisher" CONTENT="" + form.input12.value + "">n"; } if (form.input13.value != "") { form.story.value +="<META NAME="Revisit-After" CONTENT="" + form.input13.value + " Days">n"; } if (form.input14.value != "") { form.story.value +="<META NAME="Distribution" CONTENT="" + form.input14.options[form.input14.selectedIndex].value + "">n"; } if (form.input15.value != "") { form.story.value +="<META NAME="Robots" CONTENT="" + form.input15.options[form.input15.selectedIndex].value + "">n"; } } } // End --> </script> <BODY BGCOLOR="BLACK" VLINK="BLUE" ALINK="BLUE"> <CENTER><font color=white><font size="5">Meta 标签生成器<br>By, knowsky.com</font></font> <form> <div align="center"> <center> <table class=normal border="0" cellpadding="8" width="405" cellspacing="0"> <tr> <td width="82" bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Title:</font></td> <td width="291" bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="title" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Author:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="author" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Subject:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="subject" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Description:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="descript" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Keywords:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="keyword" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Generator:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="gen" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Language:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input7" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Expires:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input8" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Abstract:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input9" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Copyright:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input10" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Designer:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input11" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Publisher:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input12" size="40"> </font></td> </tr> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Revisit-After:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <input type="text" name="input13" size="40"> </font></td> </tr> <tr> <td bgcolor="#E9E9E9"><font face="Arial, Helvetica, sans-serif" size="2">Distribution:</font></td> <td bgcolor="#E9E9E9"> <font face="Arial, Helvetica, sans-serif" size="2"> <select name="input14" size="1"> <option value="" SELECTED>Select One</option> <option value="Global">1. Global</option> <option value="Local">2. Local</option> <option value="IU">3. Intern Use</option> </select> </font></td> <tr> <td bgcolor="#F9F9F9"><font face="Arial, Helvetica, sans-serif" size="2">Robots:</font></td> <td bgcolor="#F9F9F9"> <font face="Arial, Helvetica, sans-serif" size="2"> <select name="input15" size="1"> <option value="" SELECTED>Select One</option> <option value="All">1. All</option> <option value="None">2. None</option> <option value="Index">3. Index</option> <option value="No Index">4. No Index</option> <option value="Follow">5. Follow</option> <option value="No Follow">6. No Follow</option> </select> </font></td> </tr> <tr bgcolor="#E9E9E9"> <td colspan="2"> <div align="center"> <input type="button" value="生成 META 标签" onClick="create(this.form)" name="button"> <input type="reset" value="清除" name="reset"> </div></td> </tr> <tr> <td colspan="2"> <div align="center"> <textarea WRAP name="story" rows="12" cols="50"></textarea> </div></td> </tr> </table> </center> </div> <blockquote> <p>;</p> </blockquote> </form></td> </table></td> </tr> </table> </div> <P align="center"> </TD> </TR> </TABLE></TD> </TABLE></TD> </TR> <TR> <TD WIDTH="100%" BGCOLOR="WHITE" VALIGN=TOP> <P> </TD> </TR> </TABLE> </CENTER> </BODY> </HTML> <br><br><br> <p><font color=red>//作者:闪电儿,网站:http://www.knowsky.com</font></p>