http://scad.co.kr/ (참고도메인)
레이어팝업창이 플래쉬에 가려서 플래쉬 뒤쪽으로 나오는것이 문제입니다...ㅠㅜ;
ie10 버전 까지는 문제없이 잘나옵니다만
ie11 에서는 위에 말씀드린 것처럼 팝업창이 플래쉬에 가려져서 나옵니다.
혼자 찾아본다고 이래저래 찾아보았더니
position / z-index
이런게 있던데 어떻게 적용해야할지를 몰라서 이렇게 질문드립니다~
참고소스를 보시면 순서상으로...
26번 라인에 있는 popup창을
39번라인에 있는 플래쉬가 도대체 왜 가리는건지...ㅠㅠ
(참고소스)
Copy
<?if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");include_once("$g4[path]/lib/outlogin.lib.php");include_once("$g4[path]/lib/poll.lib.php");include_once("$g4[path]/lib/visit.lib.php");include_once("$g4[path]/lib/connect.lib.php");include_once("$g4[path]/lib/popular.lib.php");include_once("$g4[path]/lib/popup.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=euc-kr" /><title>SJ SAMJUNG</title><script language="JavaScript" src="/js/embed.js">/*function popup(){ if(cookieVal("notice") != "1"){ window.open("popup.php", "notice", "height=330, width=300, left=200, top=150"); }}*/</script><link rel="stylesheet" type="text/css" href="/css/css.css" /></head>
<body style="background:#f2f2f2;"><? echo popup("basic", popup, "공지"); ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <? if ($member['mb_id']) include_once ("$g4[path]/include/top.2.html"); else // 로그인 전이라면 include_once ("$g4[path]/include/top.1.html"); ?> </td> </tr> <tr> <td align="center" valign="bottom" style="background:url('/images/main/main_bg.gif') repeat-x;"><script>printSWF("/swf/main.swf", "1050", "435")</script></td> </tr> <tr> <td align="center">
|
답변 1개
채택된 답변
+20 포인트
2014-03-12 (수) 17:24:20
레이어 팝업은 당연히 position:absolute; 지정되어 있을거구요
css 에서
.팝업 {z-index:99} 를 추가해주시면 됩니다.
z-index 가 높을수록 앞쪽에 배치됩니다.
답변을 작성하려면 로그인이 필요합니다.