Archive for the ‘Web’ Category
CSS Naked Day is approaching, again.
Saturday, April 5th, 2008CSS Naked Day의 의미는 일모리님이 잘 정리해 주셨네요.
CSS Naked Day는 표준이 의도하고 있는 문서와 스타일의 분리를 선전하는 의미에서 시작된 “하룻동안 스타일을 꺼 놓는 날” 입니다. 문서와 스타일이 이렇게 분리될수도 있다는걸 보여주기도 하고 스타일 없이도 문서적인 의미로도 페이지가 작동할수 있다는것을 보여주게 됩니다. 물론 “전 테이블로 레이아웃이 짜여져 있지 않아요” 라고 외칠수도 있는 의미를 담고 있습니다.
Quote from 일모리와 웹표준
The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words. It’s time to show off your <body>.
Quote from CSS Naked Day
CSS Naked Dayの意味は公式ウェブサイトを見てください。
[JS] Copying flash object with FlashVars parameter.
Tuesday, April 1st, 2008IE에서 자바스크립트를 이용하여 플래시 오브젝트를 클립보드로 복사할 때, object 객체를 선택, 복사하면 FlashVars 속성이 누락되어 복사되는 문제가 있습니다. 그러나 embed 객체를 복사하면 그런 문제가 없습니다.
그러므로 아래 코드와 같이 object 객체의 altHtml 속성을 이용하여 embed 객체를 동적으로 생성, 이 embed 객체를 복사하도록 하면 됩니다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | // Gets Flash object. var obj = document.getElementById("flashObjectID"); var alt = obj.altHtml; // embed tag // Creates a temporary embed object in the "tempLayer" layer. var temp = document.getElementById("tempLayer"); temp.innerHTML = alt; // Selects and copies the temporary embed object to the clipboard. var range = document.body.createTextRange(); range.moveToElementText(temp); range.select(); range.execCommand('copy'); range.moveToPoint(0,0); range.select(); range = null; // Removes the temporary embed object. temp.innerHTML = ""; |
IE에서 object 태그를 사용하지 않고 직접 embed 태그만 사용하는 경우나, 파이어폭스 등 비IE 브라우저에서는, 이럴 필요가 없이, 바로 embed 객체를 선택하여 복사해주면 되죠.
Useful browser add-ons.
Wednesday, March 19th, 2008Firefox Add-ons
- Web Developer: https://addons.mozilla.org/en-US/firefox/addon/60
- Firebug: https://addons.mozilla.org/en-US/firefox/addon/1843
- DOM Inspector: https://addons.mozilla.org/en-US/firefox/addon/6622
Internet Explorer Add-ons
- Internet Explorer Developer Toolbar: http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en
- HttpWatch Basic Edition: http://www.httpwatch.com
IE ACA Preview #2 update is available.
Tuesday, February 19th, 2008http://support.microsoft.com/kb/947518
IE Automatic Component Activation Preview Available
Goodbye to “Click To Activate”


