작동하지window.close(); 자바 스크립트 코드는, 내가 크롬에서 작동하지 않는 그것은`자바 스크립트 버튼 이미지가 크롬
당신은 사전에 나에게 감사를 도와 주시겠습니까!
난 그냥 팝업을 숨기기 : 여기
코드입니다편집 :이 기능을 사용하여 난`을 닫는
그냥 숨기
function hideBulle() {
$("bullepopup").style.display="none";
hideoverlay();
}
상자 하나와이 버튼을 작성하는 코드는 다음과 같습니다.
function showBulle(obj) {
showoverlay();
coo = $("content").getPosition();
$("bullepopup").style.width = "555px";
$("bullepopup").style.height = "555px";
$("bullepopup").position({x: (coo.x+((650-555)/2)), y: (coo.y+(440-250)/2)});
$("bullepopup").style.display="";
$("bullepopup").set('html','');
new Element('img',{src:'images/br588.gif',styles: {float:'right',cursor:'pointer'},
events: {
click: function(){
hideBulle();
}
}
}).inject($('bullepopup'));
new Element('br').inject($('bullepopup'));
new Element('div',{html:obj.get('html')}).inject($('bullepopup'));
}
function hideBulle() {
$("bullepopup").style.display="none";
hideoverlay();
}
미리 감사드립니다.
어떤 라이브러리를 사용하고 있습니까? 그 태그가 있어야합니다 –
무엇'Element' 함수는 무엇입니까? 그 기본 자바 스크립트? '주사'란 무엇입니까? – jbabey
@JuanMendes 나는 /mootools-more-1.4.0.1.js를 이미 사용하고 있습니다. –