【覚え書き】 Dreamweaver8は簡単にロールオーバーイメージを入れることができるが、JavaScriptを外部でなくヘッダの部分に書き込むため、ソースが長くなり見栄えがあまり良くない。 それと、BODYタグの部分にあらかじめ読み込む画像をずらずらと並べ立ててしまう。 そこで、JavaScriptの部分を外部に書き出して、ソースをコンパクトにしようと思う。 ■通常吐き出されるソース(例)↓ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <