Notice
잡담소장소
fancybox reload or page 호출 본문
fancybox를 이용하다보면 페이지를 reload가 필요한 경우가 발생한다.
1. fancybox를 닫을 때 호출한 페이지 reload
$.fancybox({ .. onClose: function(){ parent.document.location.reload(); } });
2. fancybox내에서의 페이지 reload
$.get("index.html", {}, function(data){ $.fancybox( data ); });
반응형
'Study ;3' 카테고리의 다른 글
javascript 파일의 오묘함 (0) | 2014.01.10 |
---|---|
context menu 구현 (0) | 2013.11.19 |
세로 탭 메뉴바 구현 (0) | 2013.11.12 |
헤더를 통한 엑셀 export 할 때 숫자를 문자열로 변환 (0) | 2013.10.07 |
javascript, jquery를 이용한 html 문서 내 이동 (0) | 2013.09.30 |
Comments