728x90 반응형 Programming/HTML4 :eq selector http://api.jquery.com/eq-selector/ 123 jquery - > $('#div span:eq(1)).text()); 출력 결과 - > 2 2015. 12. 30. input fie 초기화 - HTML - JAVASCIPRT if ($.browser.msie) { // IE 일 경우 $("#file_upload").replaceWith( $("#file_upload").clone(true) );} else { // IE 외 브라우저 일 경우 $("#file_upload").val("");} * $.browser가 정의 되어 있지 않아 오류가 생길 경우 아래 링크를 참고하세요. http://blog.naver.com/gihyunkwak/220263450053 2015. 12. 30. @font-face 문제 @font-face { font-family: 'Font'; src: url('Font.eot'); /* IE9 Compat Modes */ src: url('Font.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('Font.woff') format('woff'), /* Modern Browsers */ url('Font.ttf') format('truetype'), /* Safari, Android, iOS */ url('Font.svg#svgFontName') format('svg'); /* Legacy iOS */ } 출처 : http://stackoverflow.com/questions/16710972/css-font-face-not-w.. 2015. 12. 30. 마우스 커서 모양 변경 - cursor html 또는 css를 이용하여 마우스 커서 모양을 변경할 수 있다. - 설정 값 auto : 기본값 crosshair : 십자가 커서 default : 기본 마우스 커서 hand : 손 모양 커서 move : 이동용 커서 text : 텍스트 입력창 커서 wait : 로딩 중 커서 help : 물음표 커서 - 사용법 [HTML] [css] #cursor{ cursor: wait; } --> id 값이 cursor인 div 공간에 마우스를 이동시 마우스 커서가 로딩 중 커서로 변경됩니다. 2015. 12. 30. 이전 1 다음 728x90 반응형