蓝雨 发表于 2009-5-25 10:57:26

517圈子相册BUG解决方法:IE6不能删除大图,不能点图片查看大图

无法删除图片BUG(修改后需要关闭所有浏览器重新打开)
mode\\o\\js\\global.js
查找


function pwConfirm(title,position,callback){ if (typeof(callback) != function) alert(error); var container = elementBind(div,,,width:200px;height:100px;margin:20px auto;position: absolute;); document.body.appendChild(container);var center_con= elementBind(div,,menu-post,width:200px;position:absolute;); var inner_con= elementBind(div,,menu-b); var content= elementBind(div,,f14 b p10); content.innerHTML = title; var input_con= elementBind(div,,tar pdD); var ok= elementBind(input,,bt3,width:80px;); ok.type = button; ok.value= 确 定; ok.onclick = function(){ container.parentNode.removeChild(container); callback(); } input_con.appendChild(ok); var cancel = elementBind(input,,bt,margin-left:4px;); cancel.type = button; cancel.value= 取消; cancel.onclick = function(){ container.parentNode.removeChild(container); } input_con.appendChild(cancel); var angle = elementBind(b,,angle); inner_con.appendChild(content); inner_con.appendChild(input_con); inner_con.appendChild(angle); center_con.appendChild(inner_con); container.appendChild(center_con); if (typeof(position)!=object) { container.style.top= (ietruebody().clientHeight - container.offsetHeight)/3 + getTop() + px; container.style.left = (ietruebody().clientWidth - container.offsetWidth)/2 + px; } else { var top= findPosY(position); var left = findPosX(position); top = getTop() + top - container.offsetHeight - position.offsetHeight; left = left - container.offsetWidth + position.offsetWidth/2 + 35; container.style.top= top+ px; container.style.left = left + px; } container.style.display = ; }

修改为

**** Hidden Message *****
页: [1]
查看完整版本: 517圈子相册BUG解决方法:IE6不能删除大图,不能点图片查看大图