0
我試過編輯Shutter Reloaded腳本來簡單地添加一點CSS時按下調整大小按鈕,但我不能讓它工作作爲我的JavaScript知識是可怕的。這是我一直在做綁:Javascript,添加刪除按鈕按下按鈕(快門重新加載CSS)
Resize : function(ln) {
if (this.resizing) return;
if (! this.I('shShutter')) return;
var W = this.I('shWrap');
if (W) W.style.visibility = 'hidden';
window.setTimeout(function(){shutterReloaded.resizing = null},500);
window.setTimeout(new Function('shutterReloaded.VP = null;shutterReloaded.Make("'+ln+'");'),100);
this.resizing = true;
document.getElementById("colour").style.property=display="none";
},
我想補充:display: "none";
到div #colour,
但是,是似乎無法得到它的工作。
頁它對是這樣的:Link
它可能有助於有代碼的其餘部分也:
任何想法的傢伙?
啊你真棒,謝謝!這是我所需要的,謝謝你花時間回答! – user2684403
不客氣。 :) – eggshot