2010-05-09 4 views
0

jquery.simplemodal 1.3.5 (이전 버전을 시도 함) 닫기 버튼이 Firefox에서 모달을 닫지 않습니다. (IE를 시도해도 정상적으로 작동합니다.) 이것은 테스트 페이지입니다. 나는 다음을 사용하고있다 :jquery simplemodal close firefox에서 작동하지 않을 것임

<html> 
<head> 
    <title>Untitled Page</title> 
    <style> 
    #simplemodal-overlay { 
    background-color:#000; 
    cursor:wait; 
} 
#simplemodal-container a.modalCloseImg { 
    background: url(../images/modal_close.png) no-repeat; 
    width:25px; 
    height:29px; 
    display:inline; 
    z-index:3200; 
    position:absolute; 
    top:15px; 
    right:18px; 
    cursor:pointer; 
} 
.modala 
{ 
    width: 372px; 
    height: 206px; 
    background: url(../images/modal.png) no-repeat; 
} 
    </style> 
</head> 
<body> 
test page 
    <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> 
    <script language="javascript" src="/include/jquery.simplemodal-1.3.5.js" type="text/javascript"></script> 
    <script type="text/javascript"> 
    $("body").click(function() { $.modal("<div class=\"modala\"><h1>SimpleModal</h1></div>", {overlayClose: true}); }); 
    </script> 
</body> 
</html> 

무엇이 문제 일 수 있는가? 그것은 simplemodal과 FF의 알려진 문제입니까?

답변

0

simplemodal은 더 이상 사용되지 않는 라이브러리입니다. 당신은 더 나은 것을 사용하십시오. http://docs.jquery.com/UI/Dialog

+0

[Simplemodal은 플러그인입니다] (http://www.ericmmartin.com/projects/simplemodal/), 라이브러리가 아닙니다. 여전히 유지 보수되고 개발 중입니다. – HertzaHaeon

관련 문제