代码有那么点意思。基本上相当于 firefox和 opera 的 no style 功能了。
function toggleCSS() {
var i=0;
if(document.styleSheets.length>0) {
cs=!document.styleSheets[0].disabled;
for(i=0;i document.styleSheets[i].disabled=cs; }; void(cs=true); }22222222222222@
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
Leave a reply