일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 첫주 및 마지막주 날짜 전체 포함
- String 배열
- 아이폰키보드
- Oracle
- 주소 좌표변환
- group by max
- 한국소프트웨어산업협회
- 접속ip
- 폐업자에 대한 업종등의 정보내역
- map api v3
- 컴퓨터 드라이버
- ant path pattern
- eclipse hotdeploy
- mysql trigger
- 2개 테이블
- partition by
- ajax 동기방식처리
- extundelete
- remote ip
- TM128
- KOSA
- mysql
- jquery selectbox change
- checkbox 값처리
- String[]
- update
- multipart
- http https
- ajax async
- 서브쿼리
Archives
- Today
- Total
하은양 믿음군 효실맘 호홍홍집s
부모 iframe의 url을 확인하여 리다이렉트시키기 본문
***************** xyz.hohong.kr/animation/index.jsp 파일(iframe 이용페이지)
<head>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding:0;
border:0;
overflow:hidden;
}
</style>
</head>
<body scrolling="no">
<iframe src="http://abc.hong.kr/index.jsp" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
</body>
</html>
********* abc.hong.kr/index.html 에
<head>
<script type="text/javascript">
if(parent && parent != this){
location.href='index.jsp';
}else{
location.href='http://xyz.hohong.kr/animation/';
}
</script>
</head>
<body>
</body>
</html>
index 파일의 우선권을 이용한 iframe 이용 sub디렉토리 도메인 연결...^^
'가벼운 배움 > javascript' 카테고리의 다른 글
날짜비교하여 팝업열기 샘플 (0) | 2017.01.19 |
---|---|
Naver Map api v3 TM128좌표 사용기 (0) | 2017.01.18 |
다음지도 API 기본 코딩자료 (0) | 2016.10.13 |
input box click시 submit 처리하기 (0) | 2016.06.14 |
네이버 지도API 이용한 좌표계값확인(LatLng -> TM128) (0) | 2016.05.27 |