js腳本程序
介绍了一些JS编辑的一些例子
源代码在线查看: 0012.htm
点击鼠标右键启动收藏夹 BODY { MARGIN: 25px 25px 25px } #all TD { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体" } INPUT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体" } SELECT { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体" } P { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体" } TEXTAREA { FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体" } #all A:active { COLOR: #7d070c } #all A:visited { COLOR: #7d070c } #all A:hover { COLOR: #336699 } #all A:link { COLOR: #7d070c } function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i } function JM_cc(ob){ ob.select();js=ob.createTextRange();js.execCommand("Copy"); } //--> document.write(""+document.title+""); 提示: 请点击鼠标的右键,然后你会看到收藏夹自动启动。 if (document.all) document.body.onmousedown=new Function("if (event.button==2||event.button==3)window.external.addFavorite('http://www.ie-zone.com','中文论坛')") 1.将下面的代码复制到 <body> 或者 <head> 内 if (document.all) document.body.onmousedown=new Function("if (event.button==2||event.button==3)window.external.addFavorite('http://www.ie-zone.com','中文论坛')")