'나도 서비스를 이용하고 싶다.'에 해당되는 글 5건
- 2009.06.11 이동하지 않는 링크
- 2009.06.05 iframe을 사용한 글보기가 안보임
- 2009.05.28 보이지 않는 게시판 글
- 2009.05.28 겹쳐보이는 레이어(div)
- 2009.05.18 동작하지 않는 메뉴
- 이동하지 않는 링크
- 日常茶飯事
- 2009. 6. 11. 14:14
어떤 WAS 메뉴얼에서 링크를 클릭해도 이동이 안됨
- this.parent.frames('tableFrame').location.href 를 this.parent.frames.mainFrame.location.href 으로 변경하면 된다.
<html><head> <meta http-equiv="content-type" content="text/html; charset=EUC-KR"> <link rel="stylesheet" type="text/css" href="top_data/edocs.css"> <script language="javascript"> function openDoc(docDir) { this.parent.frames('mainFrame').location.href = docDir + '/' + docDir + '-0001.htm'; this.parent.frames('tableFrame').location.href = docDir + '/index.htm'; } document.writeln("<HTML>"); document.writeln(" <HEAD>"); document.writeln(" <TITLE>Overview</TITLE>"); document.writeln(" </HEAD>"); document.writeln(" <BODY style=\"margin:12px 0px 0px 12px;\">"); document.writeln(" <TABLE width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"border-collapse:collapse;\">"); document.writeln(" <TR valign='top'>"); document.writeln(" <TD class='list'><a href=javascript:openDoc('release');>XXX 5.0 릴리즈 노트</a></TD>"); document.writeln(" </TR>");
- this.parent.frames('tableFrame').location.href 를 this.parent.frames.mainFrame.location.href 으로 변경하면 된다.
- iframe을 사용한 글보기가 안보임
- 日常茶飯事
- 2009. 6. 5. 00:16
모 주간지 이벤트 게시판이 FF에서 위와 같이 보인다.
<iframe id="ifrm" width="600" marginheight="0" marginwidth="0" scrolling="no" align="middle" src="/event/eventView.php" frameborder="0"></iframe> <script> <!-- function getReSize()// 아이프레임 사이즈 자동 조절 { try { var objFrame = document.getElementById("ifrm"); var objBody = ifrm.document.body; ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight); if (ifrmHeight > 300) { objFrame.style.height = ifrmHeight; } else { objFrame.style.height = 300; } objFrame.style.width = '650' } catch(e) { }; } function getRetry() { getReSize(); setTimeout('getRetry()',500); } getRetry(); //--> </script>1. 기껏 objFrame을 가져와 놓고 직접 iframe을 참조하고 있다.
2. getRetry()를 계속 호출한다. 왜?
3. 그리고 iframe을 사용하는 이유는 뭘까?
- 보이지 않는 게시판 글
- 日常茶飯事
- 2009. 5. 28. 04:54
D 개발자 포털의 게시판이 FF에서는 보이지 않는다.
소스는 다음과 같다.
document.all 을 쓰고 있다.
IE에서는 개체이름이나 아이디로 직접 접근이 가능하고,
document.all.개체이름 또는 document.all.개체아이디로도 접근이 가능하다.
특이한 점은 보이지 않는 textare에 iframe에 들어갈 내용을 가지고 있다.
document.all 을 쓰고 있다.
IE에서는 개체이름이나 아이디로 직접 접근이 가능하고,
document.all.개체이름 또는 document.all.개체아이디로도 접근이 가능하다.
특이한 점은 보이지 않는 textare에 iframe에 들어갈 내용을 가지고 있다.
- 겹쳐보이는 레이어(div)
- 日常茶飯事
- 2009. 5. 28. 04:54
공지사항과 사업부 공지사항이 각각 div로 되어 있어서 클릭하면 해당 div를 보여준다.
IE에서는 제대로 보이는데 FF에서 겹쳐 보인다.
두 div의 visibility가 visible로 되어 있어서 FF에서 겹쳐 보인다.
IE에서는 첫번째 div가 보임.
간단한 페이지를 만들어 테스트를 해보면 IE, FF 둘다 겹쳐 보이는데
이 경우는 div내에 table이 있고 iframe으로 다른 페이지를 가져오는 구조임.
- 동작하지 않는 메뉴
- 日常茶飯事
- 2009. 5. 18. 12:59
FF로 Q사 사이트를 방문해서 메뉴를 눌러도 화면이 변경되지 않는다.
IE에서는 제대로 동작한다.
음... 소스를 보자.
대충 이렇다.
lnk를 직접 참조하고 있다. IE에서만 가능. 그래서 document.getElementById() 를 사용하라고 나온다.
그리고 anchor 태그에 클릭이벤트를 발생시켰다. 함수가 아니라고 나옴.
이렇게 구현하는 것이 어떨까?
=-=> 근데 굳이 이렇게 할 이유가...http://www.plyfly.net/76 봐봐
IE에서는 제대로 동작한다.
음... 소스를 보자.
대충 이렇다.
lnk를 직접 참조하고 있다. IE에서만 가능. 그래서 document.getElementById() 를 사용하라고 나온다.
그리고 anchor 태그에 클릭이벤트를 발생시켰다. 함수가 아니라고 나옴.
이렇게 구현하는 것이 어떨까?
function goMenu(loc){ location.href = loc; return false; } <body leftmargin="0" topmargin="0" onload="return goMenu('http://daum.net')"> <a href="http://naver.com" onclick="return goMenu(this.href);">LINK_1</a>
=-=> 근데 굳이 이렇게 할 이유가...http://www.plyfly.net/76 봐봐
Recent comment