모달팝업 익스플로러에서 클릭이 안되는 문제..ㅠㅠ

모달팝업 익스플로러에서 클릭이 안되는 문제..ㅠㅠ

QA

모달팝업 익스플로러에서 클릭이 안되는 문제..ㅠㅠ

본문

문제사이트


익스플로러에서 메인 고객문의를 모달창으로 만들려고 했는데 
크롬에선 정상동작하는데 
익스플로러에서는 클릭이안먹네요 밑에 소스만 넣으면 
다른 링크도 클릭이 안되네요 ; 해결방법이 있을까요  

 

<script type="text/javascript"> 

// IFrame script Ver 1.0 

  

//여러개의 IFrame는 다음과 같이 사용합니다. 

// 예 : ["myframe1", "myframe2"] or ["myframe"] or [] for none: 

var iframeids=["ifrm"] 

var iframehide="yes" 

  

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1] 

var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 

  

function resizeCaller() { 

var dyniframe=new Array() 

  

for (i=0; i<iframeids.length; i++) { 

if (document.getElementById) 

resizeIframe(iframeids[i]) 

  

if ((document.all || document.getElementById) && iframehide=="no") { 

var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i]) 

tempobj.style.display="block"

  

function resizeIframe(frameid) { 

var currentfr=document.getElementById(frameid) 

  

if (currentfr && !window.opera){ 

currentfr.style.display="block"

  

if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) 

currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight; 

else if (currentfr.Document && currentfr.Document.body.scrollHeight) 

currentfr.height = currentfr.Document.body.scrollHeight; 

  

if (currentfr.addEventListener) 

currentfr.addEventListener("load", readjustIframe, false) 

else if (currentfr.attachEvent){ 

currentfr.detachEvent("onload", readjustIframe) 

currentfr.attachEvent("onload", readjustIframe) 

  

function readjustIframe(loadevt) { 

var crossevt=(window.event)? event : loadevt 

var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement 

  

if (iframeroot) 

resizeIframe(iframeroot.id); 

  

function loadintoIframe(iframeid, url) { 

if (document.getElementById) 

document.getElementById(iframeid).src=url

  

if (window.addEventListener) 

window.addEventListener("load", resizeCaller, false) 

else if (window.attachEvent) 

window.attachEvent("onload", resizeCaller) 

else 

window.onload=resizeCaller

</script> 

  

   

  <style>

  .modalDialog {

    position: fixed;

    font-family: Arial, Helvetica, sans-serif;

    top: 0;

    right: 0;

    bottom: 0;

    left: 0;

    background: rgba(0,0,0,0.8);

    z-index: 99999;

    opacity:0;

    -webkit-transition: opacity 400ms ease-in;

    -moz-transition: opacity 400ms ease-in;

    transition: opacity 400ms ease-in;

    pointer-events: none;

  }

  

  .modalDialog:target {

    opacity:1;

    pointer-events: auto;

  }

  

  .modalDialog > div {

    width: 340px;

    position: relative;

    margin: 10% auto;

    padding: 30px;

    border-radius: 10px;

    background: #fff;

}

   

  

  .close {

    background: #606061;

    color: #FFFFFF;

    line-height: 25px;

    position: absolute;

    right: -12px;

    text-align: center;

    top: -10px;

    width: 24px;

    text-decoration: none;

    font-weight: bold;

    -webkit-border-radius: 12px;

    -moz-border-radius: 12px;

    border-radius: 12px;

    -moz-box-shadow: 1px 1px 3px #000;

    -webkit-box-shadow: 1px 1px 3px #000;

    box-shadow: 1px 1px 3px #000;

  }

  

  .close:hover { background: #39729B; }

  </style>

  

  

<a href="#openModal">Open Modal</a>

<div id="openModal" class="modalDialog">

  <div>

<a href="#close" title="Close" class="close">X</a>

    <?php

include_once(G5_PATH.'/customer1.php');

?>

  </div>

</div>


이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 125,873 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT