Archive for the ‘Web’ Category

What happened to the design?

Monday, April 7th, 2008
왜 이 홈페이지에 스타일이 사라졌는지 궁금하다면, Annual CSS Naked Day 사이트를 방문해 주세요.
To know more about why styles are disabled on this website visit the Annual CSS Naked Day website for more information.
To know more about why styles are disabled on this website visit the Annual CSS Naked Day website for more information.

CSS Naked Day is approaching, again.

Saturday, April 5th, 2008
올해로 3번째를 맞이하는 CSS Naked Day가 찾아왔습니다. 저는 작년에 이어서 2번째 참여예정입니다. ^^
CSS Naked Day의 의미는 일모리님이 잘 정리해 주셨네요.

CSS Naked Day는 표준이 의도하고 있는 문서와 스타일의 분리를 선전하는 의미에서 시작된 “하룻동안 스타일을 꺼 놓는 날” 입니다. 문서와 스타일이 이렇게 분리될수도 있다는걸 보여주기도 하고 스타일 없이도 문서적인 의미로도 페이지가 작동할수 있다는것을 보여주게 됩니다. 물론 “전 테이블로 레이아웃이 짜여져 있지 않아요” 라고 외칠수도 있는 의미를 담고 있습니다.

Quote from 일모리와 웹표준

CSS Naked Day ‘08 is approaching, again. This is the third year of the event and it’s my second anticipation. To know about the event, please check the official Web site.

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

今年も3番目のCSS Naked Dayがやっと来ました。私にとって2番目の参加なんです。
CSS Naked Dayの意味は公式ウェブサイトを見てください。

[JS] Copying flash object with FlashVars parameter.

Tuesday, April 1st, 2008

IE에서 자바스크립트를 이용하여 플래시 오브젝트를 클립보드로 복사할 때, 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, 2008
I was a bit suprised when I worked with several Flash developers and Web developers. Becuase they didn’t know about the following browser add-ons, useful tools on debugging. So, here I introduce these extensions.
플래시 개발자나 웹 개발자들과 같이 작업을 하면서 많은 개발자들이 모르고 있는 것 같아서, 알아두면 매우 편리한 브라우저 애드-온 몇 가지를 소개합니다. 디버깅 등의 작업에 정말 많은 도움이 됩니다.
色んなフラッシュ開発者やウェブ開発者と作業しながら、少しびっくりしました。なぜなら、多くの開発者たちがこのアドオンに就いて全然知らなかったからです。だから、便利なアドオンを紹介します。デバグする時本当に役に立ちます。

Firefox Add-ons

Internet Explorer Add-ons

IE ACA Preview #2 update is available.

Tuesday, February 19th, 2008
Microsoft released Internet Explorer Automatic Component Activation (IE ACA) Preview #2 update which will disable the “Click to activate” behavior. You have to install Internet Explorer update 944533 (security bulletin MS08-010) before you install IE ACA preview #2 update.
마이크로소프트에서 인터넷 익스플로어 컴퍼넌트 자동 활성화(IE ACA) 프리뷰 2 업데이트를 공개했습니다. 이 업데이트는 더 이상 “Click to activate” 메세지를 표시하지 않도록 합니다. 이 IE ACA 프리뷰 2를 설치하기 전에, 반드시 인터넷 익스플로어 업데이느 944533 (security bulletin MS08-010)을 설치해야 합니다.
マイクロソフトがInternet Explorer Automatic Component Activation (IE ACA) Preview #2 updateをリリースしました。このアップデートは”クリックしてアクティブ化する”動作を無効にします。このアップデートを展開する前に、必ず Internet Explorer update 944533 (security bulletin MS08-010)が適用されているのか確かめて下さい。

http://support.microsoft.com/kb/947518
IE Automatic Component Activation Preview Available
Goodbye to “Click To Activate”