OSDN Git Service

更新履歴追加
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / documentation / tips.html
index d8791ed..87edea3 100755 (executable)
@@ -3,7 +3,20 @@
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja-JP" xml:lang="ja-JP">\r
 <head>\r
-       <!-- $Id: tips.html,v 1.7 2007-04-25 07:01:16 kimitake Exp $ -->\r
+       <!--\r
+               Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
+               Copyright (C) 2002-2009 The Nucleus Group\r
+\r
+               This program is free software; you can redistribute it and/or\r
+               modify it under the terms of the GNU General Public License\r
+               as published by the Free Software Foundation; either version 2\r
+               of the License, or (at your option) any later version.\r
+               (see nucleus/documentation/index.html#license for more info)\r
+\r
+               @license http://nucleuscms.org/license.txt GNU General Public License\r
+               @copyright Copyright (C) 2002-2009 The Nucleus Group\r
+       -->\r
+       <!-- $Id$ -->\r
        <!-- $NucleusJP: tips.html,v 1.6 2007/02/04 06:28:45 kimitake Exp $ -->\r
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
     <meta http-equiv="Content-Style-Type" content="text/css" />\r
             font-style: italic;\r
         }\r
     </style>\r
+       <script type="text/javascript">\r
+               function fontSizeChange(size) {\r
+                       var elem = document.getElementsByTagName('body')[0];\r
+                       var flrg = document.getElementById('fontLarge');\r
+                       var fmdl = document.getElementById('fontMiddle');\r
+                       var fsml = document.getElementById('fontSmall');\r
+                       switch(size) {\r
+                               case 'l':\r
+                                       elem.style.fontSize = 'large';\r
+                                       flrg.style.fontWeight = 'bold';\r
+                                       fmdl.style.fontWeight = 'normal';\r
+                                       fsml.style.fontWeight = 'normal';\r
+                                       break;\r
+                               case 'm':\r
+                                       elem.style.fontSize = 'medium';\r
+                                       flrg.style.fontWeight = 'normal';\r
+                                       fmdl.style.fontWeight = 'bold';\r
+                                       fsml.style.fontWeight = 'normal';\r
+                                       break;\r
+                               case 's':\r
+                                       elem.style.fontSize = 'small';\r
+                                       flrg.style.fontWeight = 'normal';\r
+                                       fmdl.style.fontWeight = 'normal';\r
+                                       fsml.style.fontWeight = 'bold';\r
+                                       break;\r
+                       }\r
+                       \r
+               }\r
+       </script>\r
 </head>\r
 <body>\r
+<div id="fontSizeCanger">\r
+<a href="#top" onClick="fontSizeChange('s');return false;" id="fontSmall">小</a>\r
+<a href="#top" onClick="fontSizeChange('m');return false;" id="fontMiddle">中</a>\r
+<a href="#top" onClick="fontSizeChange('l');return false;" id="fontLarge">大</a>\r
+</div>\r
 \r
 <div class="heading">\r
 Tips &amp; Suggestions\r