摘要: 我们知道用close()可以无提示关闭一些用open()方法打开的窗口。只要被关的窗口有一个opener,就不会有提示。我们可以用脚本给window.opener赋值(任何值,包括字符串、数值、现有的变量、甚至是null),执行close()时就不会有提示了。以下内容为程序代码:<html><script>functionclosewin(){window.opener='anyone';window.close();}</script><body><divonclick="closewin()"> 阅读全文
posted @ 2004-10-23 15:43 greystar 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Randomly Sorting Query Results 查询结果随机排序 Q. How can I randomly sort query results?问:怎样才能对查询结果随机排序?A. To randomly order rows, or to return x number of randomly chosen rows, you can use the RAND function inside the SELECT statement. But the RAND function is resolved only once for the entire query, so e 阅读全文
posted @ 2004-10-23 15:40 greystar 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1、<style type="text/css"><!--textarea { overflow: hidden; z-index: y; clip: rect( )}--></style></head><body bgcolor="#FFFFFF" text="#000000"> <textarea name="textfield" rows="3"></textarea></body></h 阅读全文
posted @ 2004-10-23 15:38 greystar 阅读(1363) 评论(0) 推荐(0) 编辑