링크를통해 페이지 이동후 지정된 책갈피로 화면을 이동하는 방법
링크를 걸때 <a href=”test.html#here”></a> test.html 파일 내에 이동후 원하는 위치에 책갈피 추가 ex) <name =”here”>
꿈을 실현합니다.
링크를 걸때 <a href=”test.html#here”></a> test.html 파일 내에 이동후 원하는 위치에 책갈피 추가 ex) <name =”here”>
<script language=”JavaScript”> <!– function autoblur() { if(event.srcElement.tagName==”A”) document.body.focus(); } document.onfocusin=autoblur; //–> </script> 위 부분을 헤더에 넣게 되면 a 로 시작되는 태그 즉, 링크태그에는 점선이 모두 사라집니다.
최신 댓글