2011年12月29日木曜日

フッターを作成する (著作権年号の自動更新機能付き)

ホームページ最下部のフッターを作成します。ホームページ著作権の年号はJavascriptにより自動的に更新されます。

フッターのHTMLは必ず<center></center>で挟みます。
緑色の文字色は任意ですので、ホームページのデザインに合わせて変更します。
******には、ホームページ名、会社名またはドメインに書き換えます。
著作権表示の部分を削除するとGoogle Bloggerの規約に違反しますので、削除をしないでください。

///////////////  sample HTML ////////////////////////

<center><table width=965px border=0 cellpading=0 cellspacing=0><tr><td>
こちらにフッターのコンテンツをHTMLで記述します。
</td></tr></table>
<!-- 著作権表示 -->
<table width=965><tr><td align=center valign=top><font size=1 color=#a7a7a7>Copyright (C) <script type="text/javascript">myDate = new Date() ;myYear = myDate.getFullYear ();document.write(myYear);</script>****** . All Rights Reserved.|produced by <a href="http://jp.0102030405.com"><font color=#a7a7a7>0102030405.com</font></a>|powered by <a href="http://www.blogger.com/"><font color=#a7a7a7>google Blogger</font></a></font>
</td></tr></table>
<!-- 著作権表示 -->
</center>

///////////////  sample HTML ////////////////////////



Footerフッターのカスタマイズ

0 コメント: