官方QQ群:127876820【C#编程技术-全国站--未满人】
摘要: <html><body><script type="text/javascript">var r=Math.random()if (r>0.5) {document.write("<a href='http://www.ccc.com.cn'>hello!</a>")}else{document.write("<a href=... 阅读全文
posted @ 2010-09-20 20:00 碧海蓝天_C# 阅读(172) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">onerror=handleErrvar txt=""function handleErr(msg,url,l){txt="本页中存在错误。\n\n"txt+="错误:" + msg + "\n"txt+="URL: " + url + "\n"txt+="行:" + l + ... 阅读全文
posted @ 2010-09-20 19:59 碧海蓝天_C# 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <html><body><script type="text/javascript">document.write("<p>浏览器:")document.write(navigator.appName + "</p>")document.write("<p>浏览器版本:")document.write(navigator.ap... 阅读全文
posted @ 2010-09-20 19:58 碧海蓝天_C# 阅读(280) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">function startTime(){var today=new Date()var h=today.getHours()var m=today.getMinutes()var s=today.getSeconds()// add a zero in front of nu... 阅读全文
posted @ 2010-09-20 19:56 碧海蓝天_C# 阅读(228) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">function mouseOver(){document.b1.src ="/i/eg_mouse.jpg"}function mouseOut(){document.b1.src ="/i/eg_mouse2.jpg"}</script></head>... 阅读全文
posted @ 2010-09-20 19:55 碧海蓝天_C# 阅读(226) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">function detectBrowser(){var browser=navigator.appNamevar b_version=navigator.appVersionvar version=parseFloat(b_version)if ((browser=="Net... 阅读全文
posted @ 2010-09-20 19:54 碧海蓝天_C# 阅读(162) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <script type="text/javascript"> function myfunction(txt) { alert(txt) } </script> </head> <body> <form> <input type="button" onclick="myfunct... 阅读全文
posted @ 2010-09-20 19:53 碧海蓝天_C# 阅读(180) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">function disp_alert(){alert("再次向您问好!在这里,我们向您演示" + '\n' + "如何向警告框添加折行。")}</script></head><body><input type="button" onc... 阅读全文
posted @ 2010-09-20 19:52 碧海蓝天_C# 阅读(230) 评论(0) 推荐(0) 编辑
摘要: <script><!--function windowopen(){var target="http://www.hello.com"newwindow=window.open("","","scrollbars")if (document.all){newwindow.moveTo(0,0)newwindow.resizeTo(screen.width,screen.heigh... 阅读全文
posted @ 2010-09-20 19:36 碧海蓝天_C# 阅读(152) 评论(0) 推荐(0) 编辑
摘要: <script language="javascript">function folder(){window.external.AddFavorite('http://www.hello.com', '您好,我是收藏')}</script>onUnload=folder() 阅读全文
posted @ 2010-09-20 19:35 碧海蓝天_C# 阅读(135) 评论(0) 推荐(0) 编辑
官方QQ群:127876820【C#编程技术-全国站--未满人】