묻고답하기
팝업창이 안떠요 ㅠㅠ
2011.01.13 21:36
팝업창을 띄우려고하는데요....
xe 사용중이라... 레이아웃부분에 팝업코드를 넣었어요.
근데 왜 팝업창이 아예안뜰까요...ㅠㅠ
코드가 잘못된게 있나요????
도와주세요 ㅠㅠㅠㅠㅠ
경로지정 잘못이라면 창이라도 뜰텐데 아예 팝업창 조차도 안떠요 ㅠㅠㅠ
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>***에 오신걸 환영합니다</title>
<script type="text/javascript">
// -->
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
function MM_openBrWindow(winName,features) { //v2.0
window.open(winName,features);
}
//-->
<!--
//공지사항 팝업 페이지
function getCookie(name) {
var Found = false
var start, end
var i = 0
while(i <= document.cookie.length) {
start = i
end = start + name.length
if(document.cookie.substring(start, end) == name) {
Found = true
break
}
i++
}
if(Found == true) {
start = end + 1
end = document.cookie.indexOf(";", start)
if(end < start)
end = document.cookie.length
return document.cookie.substring(start, end)
}
return ""
}
if ( getCookie( "notice" ) != "done" ){
noticeWindow = window.open('/new/popup/popup_201101_year.htm','notice','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=363,height=513,top=50,left=50');
noticeWindow.opener = self;
}
-->//공지사항 팝업 페이지 끝//-->
</script>
공지사항 팝업이라면 팝업 관리 애드온을 사용해보십시오.
http://www.xpressengine.com/index.php?mid=download&package_srl=18334979&page=4