12월, 2015의 게시물 표시

[JS] 접근성 윈도우 팝업 띄우기

분명 어디다가 적어 놨는데 또 까먹었다. 쉽게 가져다 쓸수 있게 다시 정리 함; 아 이넘의 건망증... <script type="text/javascript"> function windowOpen(e,width,height){ var url = e.href; window.open(url,'newWindow','width='+width+', height='+height+',top=0, left=0,toolbar=0, status=0, menubar=0, scrollbars=0, resizable=0,'); //window.open(url,'newWindow','width='+width+', height='+height+',top='+((screen.availHeight - height)/2 - 40) +', left='+(screen.availWidth - width)/2+',toolbar=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0'); } </script> <a href="http://www.daum.net" onclick="windowOpen(this,300,200); return false;" target="_blank">Window Open</a> window.open(url, name, features, replace); url : 표시 할 문서의 URL을 지정합니다. name : 새창의 윈도우의 이름을 지정합니다. 공백문자를 사용할 수 없습니다. 표시되는 부분은 없습니다. 링크에 대한 이름이라고 생각하시면 됩니다. features : 기능. 추가 할 수 있는 옵션 들입니

에디터 플러스 구문강조 하기

이런 기능이 있는지 몰랐다가 다른 분이 쓰는 PC에서 신기해서 찾아 보았습니다. 아 정말 쓸수록 끝이 없는 에디터 플러스의 기능들이란 ♡ http://demun.tistory.com/2028