묻고답하기
퀵메뉴 질문이요 부탁좀 드려요~~ㅠ
2010.07.24 17:08
고수님들 다른게 아니라 xe로 레이아웃을 짜서 홈페이지를 만들었는대
퀵메뉴가 제대로 작동을 하지를 않아요 분명 스크립트 문제 일듯 한대..
<link rel="stylesheet" href="/link.css">
<!-- LOG corp Web Analitics & Live Chat START -->
<script type="text/javascript">
var HTTP_MSN_MEMBER_NAME="";/*member name*/
var _HUsrSvrAddr="http://asp15.http.or.kr",_HRndTmpGuid="r"+(new Date().getTime()*Math.random()*9*Math.random()*0.9);
function _HLogChkHead(){
if(document.getElementsByTagName("head")[0]){_HDwnLogSrc()}else{window.setTimeout(_HLogChkHead,30)}
}
function _HDwnLogSrc(){
var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.type="text/javascript";
if(h){h.appendChild(s);s.src="_HUsrSvrAddr+"/HTTP_MSN/UsrConfig/neuronfit/js/ASP_Conf.js?s="+_HRndTmpGuid;}
};
document.write('<img src='+_HUsrSvrAddr+'/[sr].gif?d='+_HRndTmpGuid+'" style="width:1px;height:1px;display:none;position:absolute;" onload="_HLogChkHead()" />');
</script>
<noscript><img src="http://asp15.http.or.kr/HTTP_MSN/Messenger/Noscript.asp?key=neuronfit" border="0" style="display:none;width:0;height:0;" /></noscript>
<!-- LOG corp Web Analitics & Live Chat END -->
<script src="/swf/js/flashObj.js" type="text/javascript"></script>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<!-- 스크롤 배너 내용 시작-->
<div id=divMenu style="position:absolute; left:1007px; top:164px; width: 96; height: 243;">
<table width="96" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" style="padding :40 0 0 0"><script type="text/javascript">
FlashObject("/swf/quick.swf", 100, 300, "#Fbfbfb", "quick","myvar=none");
</script></td>
</tr>
</table>
</div>
<!-- 스크롤 배너 내용 끝 -->
<!-- 스크롤 배너 스크립트 시작 -->
<script language="javascript">
<!--
var bNetscape4plus = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
function CheckUIElements(){
var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;
if ( bNetscape4plus ) {
yMenuFrom = document["divMenu"].top;
yMenuTo = top.pageYOffset + 295; //넷스케이프용 최초 레이어 좌표 값
}
else if ( bExplorer4plus ) {
yMenuFrom = parseInt (divMenu.style.top, 10);
yMenuTo = document.body.scrollTop + 115; //익스플로러용 최초 레이어 좌표 값
}
timeoutNextCheck = 500;
if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
setTimeout ("CheckUIElements()", timeoutNextCheck);
return;
}
if ( yButtonFrom != yButtonTo ) {
yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
if ( yButtonTo < yButtonFrom )
yOffset = -yOffset;
if ( bNetscape4plus )
document["divLinkButton"].top += yOffset;
else if ( bExplorer4plus )
divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;
timeoutNextCheck = 10;
}
if ( yMenuFrom != yMenuTo ) {
yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
if ( yMenuTo < yMenuFrom )
yOffset = -yOffset;
if ( bNetscape4plus )
document["divMenu"].top += yOffset;
else if ( bExplorer4plus )
divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
timeoutNextCheck = 10;
}
setTimeout ("CheckUIElements()", timeoutNextCheck);
}
function OnLoad()
{
var y;
if ( top.frames.length )
if ( bNetscape4plus ) {
document["divMenu"].top = top.pageYOffset + 135; //넷스케이프용 로딩시 시작 레이어 좌표 값
document["divMenu"].visibility = "visible";
}
else if ( bExplorer4plus ) {
divMenu.style.top = document.body.scrollTop + 135; //익스플로러용 로딩시 시작 레이어 좌표 값
divMenu.style.visibility = "visible";
}
CheckUIElements();
return true;
}
OnLoad();
//-->
</script>
<!-- 스크롤 배너 스크립트 끝 -->
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="1445"><table border="0" cellspacing="0" cellpadding="0" width="100%" background="/images/top_bg.gif" style="background-repeat:repeat-x">
<tr>
<td width="980" valign="top">
<!-- 로고 및 메뉴부분 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="Main"><img src="/images/logo.gif" border="0" alt="로고"></a></td>
<td width="690" valign="top">
<!-- 탑메뉴 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="473"></td>
<td><img class="zbxe_widget_output" widget="login_info" skin="slim" colorset="olcol_000" /></td>
</tr>
</table>
<!-- /탑메뉴 -->
<!-- 메인메뉴플래시적용부분 -->
<script type="text/javascript">
FlashObject("/swf/index.swf", 690, 85, "", "menu","myvar=none");
</script>
<!-- /메인메뉴플래시적용부분 -->
</td></tr>
</table>
<!-- /로고 및 메뉴부분 -->
</td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%" background="/images/sub_bg.gif" style="background-repeat:repeat-x">
<tr>
<td width="100%" valign="top"><!-- 내용 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/images/sub_pi.gif" border="0" /></td>
<td width="970" valign="top"><!-- 비쥬얼플래시 적용 부분-->
<script type="text/javascript">
FlashObject("/swf/subvisual01.swf", 970, 290, "#FFFFFF", "menu","myvar=none");
</script>
<!--/비쥬얼플래시 적용 부분--></td>
</tr>
</table>
<table width="950" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="218" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="0" width="218">
<tr>
<td width="218"><img src="/images/left_tit.gif" /></td>
</tr>
<tr>
<td valign="top"><!-- 왼쪽메뉴플래시 적용 부분-->
<script type="text/javascript">
FlashObject("/swf/left_nav01.swf", 198, 202, "#Fbfbfb", "menu","myvar=none");
</script>
<!--/왼쪽메뉴플래시 적용 부분--></td>
</tr>
<tr>
<td><img src="/images/left_menu_back.gif" border="0" /></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="218" align="right"><a href="Online"><img src="/images/left_banner01.gif" alt="온라인견적" width="193" height="87" border="0" /></a></td>
</tr>
<tr>
<td align="right"><a href="Qna"><img src="/images/left_banner02.gif" alt="문의사항" width="193" height="87" border="0" /></a></td>
</tr>
</table></td>
<td width="8" valign=""> </td>
<td width="864" valign="top">{$content}</td>
</tr>
<tr>
<td colspan="3"><table border="0" cellspacing="0" cellpadding="0" width="990" background="/images/b_back.gif">
<tr>
<td height="14"></td>
</tr>
<tr>
<td width="31"></td>
<td width="756" valign="top"><!-- 하단메뉴 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="Company_01"><img src="/images/b_menu01.gif" alt="회사소개" width="48" height="18" border="0"></a></td>
<td><a href="http://neuron0915.cafe24.com/?mid=Notice&act=dispMemberSignUpForm"><img src="/images/b_menu02.gif" border="0" alt="이용약관"></a></td>
<td><a href="http://neuron0915.cafe24.com/?mid=Notice&act=dispMemberSignUpForm"><img src="/images/b_menu03.gif" alt="개인보호정책" width="63" height="18" border="0"></a></td>
<td><a href="Company_06"><img src="/images/b_menu04.gif" alt="회사위치" width="46" height="18" border="0"></a></td>
<td><a href="#"><img src="/images/b_menu05.gif" alt="사이트맵" width="45" height="18" border="0"></a></td>
</tr>
</table>
<!-- 하단메뉴 -->
<!-- 하단로고 및 이메일부분 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="94" rowspan="2"><a href="Main"><img src="/images/b_logo.gif" alt="로고" width="94" height="41" border="0" /></a></td>
<td width="661"><img src="/images/b_fam.gif" width="423" height="22" border="0" /><a href="mailto:neuronfit@neuronfit.com"><img src="/images/email.gif" alt="" width="169" height="22" border="0" /></a></td>
</tr>
<tr>
<td><img src="/images/copyright.gif" width="280" height="19" border="0" /></td>
</tr>
</table>
<!-- /하단로고 및 이메일부분 --></td>
<td width="203" align="center" valign="top"><!-- 패밀리사이트 -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14"></td>
</tr>
<tr>
<td style="font-size:10px;color:#969696"><select name="jumpMenu" class="ten" id="jumpMenu" onchange="window.open(this.options[this.selectedIndex].value,'_blank')">
<option selected="selected">패밀리 사이트</option>
<option value="뉴런테크http://neurontech.co.kr">뉴런테크</option>
</select></td>
</tr>
</table>
<!-- /패밀리사이트 --></td>
</tr>
</table></td>
</tr>
</table>
<!-- /내용 --></td>
</tr>
</table></td>
</tr>
</table>
위에 소스가 레이아웃 소스 그대로 입니다.. 문제가 뭘까요.. 답변좀 부탁드립니다.