본문 바로가기

반응형

HTML5

HTML5 table align 테이블을 오른쪽 이나 중앙 정렬하고 싶을때 다음과 같이 사용했었는대 하나 둘 하나 둘 이게 html5 에서는 지원하지 않는다. HTML5 에서 사용하려면 다음과 같이 사용해야 한다. CSS syntax: 더보기
HTML5를 이용하여 위치/좌표정보(GPS)를 사용하기 HTML5에서는 GPS 수신기기를 탑재한 스마트폰의 위치정보를 javascript를 통해 쉽게 이용할 수 있도록 하고 있습니다. 단순한 2개의 실수값(위도, 경도)이지만 위치정보는 매우 민감한 개인정보 중 하나이므로 웹페이지에서 이 기능을 사용할경우 브라우저는 사용자에게 위치정보 제공 여부를 선택할 수 있습니다. HTML5 Geolocation은 IE9, 파이어폭스, 크롬 등 대부분의 브라우저에서 지원하고 있습니다. 1. 위치정보 가져오기 -위치정보를 가져오기 위해서는 getCurrentPosition() 함수를 사용하면 됩니다. 2. 에러 처리 -위의 예에서 getCurrentPosition의 첫 번째 매개변수로 showPosition가 들어가 있습니다. 이 함수의 두 번째 매개변수는 에러 처리를 위한.. 더보기
Jquery 를 이용하여 HTML5 placeholder 를 적용시키기 HTML5 의 Placeholder 를 지원하는 브라우저 Browsers Placeholder Support IE 9 이하 X Firefox 3.7 + ✓ Safari 4.0 + ✓ Chrome 4.0 + ✓ Opera 11 ✓ 출처 : http://www.simpleeditions.com/34001/placeholder-in-html5 With HTML5, you can let browsers give text input boxes a pre-filled value that serves as a hint for the user regarding what to type. When they start typing, the pre-filled value is replaced. You've probably s.. 더보기
jplayer - jquery (flash) 를 사용한 음악 or 동영상 플레이어 (html5) Jplayer 사이트 http://www.jplayer.org/ 샘플사이트 http://happyworm.com/jPlayerLab/single-page-app/ Choose jPlayer easy to get started, deploy in minutes totally customizable and skinnable using HTML and CSS lightweight - only 8KB minified and Gzipped free and open source, no licensing restrictions active and growing community providing support free plugins available for popular platforms extensive platf.. 더보기

반응형