ソースのまとめ 今回の記事で作ったすべてのソースを以下にまとめて掲載しておきます。 HTMLファイルへコピー&ペーストして試してみる際などにご活用下さい。 ■head要素内に書くJavaScript <script type="text/javascript"><!-- // 画像・URLリストを配列で作る var imglist = [ [ "photoA.jpg", "写真A", "pageA.html" ] , [ "photoB.jpg", "写真B", "pageB.html" ] , [ "photoC.jpg", "写真C", "pageC.html" ] , [ "photoD.jpg", "写真D", "pageD.html" ] //注 ]; // 1つ選んで表示する関数 function DailyImageLink() { // 日付を元にどれか1つを選ぶ var