- 제 목 외부로그인 문제 질문 드립니다.
- 작성자 박진희 등록일 2010-03-10/15:52 조회수 1023

안녕하세요~ 먼저 좋은 보드 무료로 쓰게 해주셔서 넘 감사합니다^^*
현재 디렉토리 구조는 main 페이지에 top.asp bottom.asp파일을 인클루드 해서 쓰구 있는데요~
<!-- #include file='../../Jsource/Jlogin/OutsideLogin.asp' -->
<%=login_sort_o%>
<td width="23">
<a href="javascript:;" onclick='Login("default_outside","1","100","","707","500","100","200","0","54","../../hic/index.asp","","../../");'>
<img src="images/bt_login.gif" width="23" height="12" border="0"></a></td>
<%=login_sort_c%>
<%=logout_sort_o%>
<td width="23">
<a href='../../Jsource/Jlogin/logout.asp?target_href=../../hic/index.asp'>
<img src="images/bt_logout.gif" border=0></a></td>
<%=logout_sort_c%>
위와같이 외부로그인 팝업창을 띄울려고 top.asp 부분에 외부로그인 추출파일을 삽입하고 링크를 클릭하면 팝업창에 "HTTP 500 내부서버오류" 라고 뜹니다.
현재 어떠한 프로그램 수정이나 변형을 가한적이 없구요~ 사이트 주소는 아래와 같습니다.
http://ncboss.nacomsys.co.kr/hic/index.asp
하나 더 추가질문 좀 드립니다!!!
부모iframe사이즈와 같은 크기로 자동조절하는 스크립트가 전혀 먹질 않고 게시판을 아이프레임으로 연결하면 height=100% 인데도 자꾸 짤리네요!~ 이거 어떤 방법이 없을까요?
참고사이트: http://ncboss.nacomsys.co.kr/webpage/inc/list.asp?ji_num=0
function adjustIFrameSize (iframeWindow) {
if (iframeWindow.document.height) {
var iframeElement = parent.document.getElementById(iframeWindow.name);
iframeElement.style.height = iframeWindow.document.height + 'px';
iframeElement.style.width = iframeWindow.document.width + 'px';
} else if (document.all) {
//var iframeElement = parent.document.all[iframeWindow.name];
var iframeElement = parent.document.all[iframeWindow.name];
if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat') {
/*
iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 5 + 'px';
iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 5 + 'px';
*/
iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 'px';
iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 'px';
} else {
/*
iframeElement.style.height = iframeWindow.document.body.scrollHeight + 5 + 'px';
iframeElement.style.width = iframeWindow.document.body.scrollWidth + 5 + 'px';
*/
iframeElement.style.height = iframeWindow.document.body.scrollHeight + 'px';
iframeElement.style.width = iframeWindow.document.body.scrollWidth + 'px';
}
}
}
현재 디렉토리 구조는 main 페이지에 top.asp bottom.asp파일을 인클루드 해서 쓰구 있는데요~
<!-- #include file='../../Jsource/Jlogin/OutsideLogin.asp' -->
<%=login_sort_o%>
<td width="23">
<a href="javascript:;" onclick='Login("default_outside","1","100","","707","500","100","200","0","54","../../hic/index.asp","","../../");'>
<img src="images/bt_login.gif" width="23" height="12" border="0"></a></td>
<%=login_sort_c%>
<%=logout_sort_o%>
<td width="23">
<a href='../../Jsource/Jlogin/logout.asp?target_href=../../hic/index.asp'>
<img src="images/bt_logout.gif" border=0></a></td>
<%=logout_sort_c%>
위와같이 외부로그인 팝업창을 띄울려고 top.asp 부분에 외부로그인 추출파일을 삽입하고 링크를 클릭하면 팝업창에 "HTTP 500 내부서버오류" 라고 뜹니다.
현재 어떠한 프로그램 수정이나 변형을 가한적이 없구요~ 사이트 주소는 아래와 같습니다.
http://ncboss.nacomsys.co.kr/hic/index.asp
하나 더 추가질문 좀 드립니다!!!
부모iframe사이즈와 같은 크기로 자동조절하는 스크립트가 전혀 먹질 않고 게시판을 아이프레임으로 연결하면 height=100% 인데도 자꾸 짤리네요!~ 이거 어떤 방법이 없을까요?
참고사이트: http://ncboss.nacomsys.co.kr/webpage/inc/list.asp?ji_num=0
function adjustIFrameSize (iframeWindow) {
if (iframeWindow.document.height) {
var iframeElement = parent.document.getElementById(iframeWindow.name);
iframeElement.style.height = iframeWindow.document.height + 'px';
iframeElement.style.width = iframeWindow.document.width + 'px';
} else if (document.all) {
//var iframeElement = parent.document.all[iframeWindow.name];
var iframeElement = parent.document.all[iframeWindow.name];
if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat') {
/*
iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 5 + 'px';
iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 5 + 'px';
*/
iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 'px';
iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 'px';
} else {
/*
iframeElement.style.height = iframeWindow.document.body.scrollHeight + 5 + 'px';
iframeElement.style.width = iframeWindow.document.body.scrollWidth + 5 + 'px';
*/
iframeElement.style.height = iframeWindow.document.body.scrollHeight + 'px';
iframeElement.style.width = iframeWindow.document.body.scrollWidth + 'px';
}
}
}