자바스크립트를 이용하여 "이전으로, 다음으로, 닫기, 새로고침" 버튼 만들기
페이지 정보
작성자 YJNet 작성일13-05-11 01:48 조회9,199회 댓글0건본문
● 이전으로
<a href="javascript:history.back()"
onMouseOver = "window.status='Previous';return true;"
onMouseOut = "window.status='';return true;" >이전으로</a>
<a href="javascript:clickon=history.go(-1)">이전으로</a>
<a href="javascript:history.back()">이전으로</a>
<input type=button value=이전으로 onClick="window.history.go(-1);">
● 다음으로
<a href="javascript:history.forward()"
onMouseOver = "window.status='Next';return true;"
onMouseOut = "window.status='';return true;" > 다음으로</a>
<input type=button value=다음으로 onClick="window.history.go(+1);">
● 닫기버튼
<input type="button" value=" 닫기 "onclick="self.close( )">
<input type="button" value="닫기" onclick="window.close()">
<a href="javascript:self.close()">닫기</a>
● 새로고침 버튼
<a href="javascript:location.reload()">새로고침</a>
<input type="button" value="새로고침" onclick="javascript:location.reload()">
댓글목록
등록된 댓글이 없습니다.