2011-04-02から1日間の記事一覧

Flashオブジェクトのz-index問題

現象 youtubeを以下のようにロードできる。 <iframe title="YouTube video player" width="450" height="368" src="http://www.youtube.com/embed/動画ID" frameborder="0" allowfullscreen></iframe> こうした場合、読込んだFlashがz-indexを無視して一番上に表示される。 z-inex の有効化 Flash要素にz-indexを有効化させるには一般的に次のように指定する。 <object> </object>