代碼: 選擇全部
<!-- BEGIN img --><img src="{URL}" border="0" onload="if(this.width>screen.width*0.6) {this.resized=true; this.width=screen.width*0.6;this.alt='按左鍵於新視窗查看全圖, 滾輪縮放大小';}" onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(this.resized) {window.open(this.src);}" onmousewheel="return imgzoom(this);" /><!-- END img -->
發現改完後沒作用\r
測了半天 發現 this.width = 0
難怪判斷式都無作用\r
有誰知道這是怎麼回事嗎??