• R/O
  • SSH
  • HTTPS

sotp: Commit


Commit MetaInfo

Revision121 (tree)
Time2009-09-17 22:42:13
Authormiyabe

Log Message

(empty log message)

Change Summary

Incremental Difference

--- reiki/trunk/htdocs/style/common-statute.xsl (revision 120)
+++ reiki/trunk/htdocs/style/common-statute.xsl (revision 121)
@@ -13,11 +13,17 @@
1313 <!-- ヘッダ -->
1414 <xsl:template name="head">
1515 <title><xsl:value-of select="$title"/> - <xsl:value-of select="r:title/text()" /></title>
16+ <script type="text/javascript">
17+var appVersion = window.navigator.appVersion.toLowerCase();
18+if (appVersion.indexOf("msie 6.0") > -1) {
19+ document.write('<style type="text/css">div.sidebar {position: absolute;}</style>');
20+}
21+ </script>
1622 </xsl:template>
1723
1824 <!-- サイドバー -->
1925 <xsl:template name="sidebar">
20- <div class="sidebar">
26+ <div class="sidebar" id="sidebar">
2127 <xsl:call-template name="navigator" />
2228 <xsl:apply-templates select="r:statutes" mode="navigation" />
2329 <div><xsl:apply-templates select="r:title/r:kana/node()" mode="html"/></div>
@@ -375,8 +381,8 @@
375381 <style type="text/css">
376382 @import '../style/browse-statute.css';
377383 </style>
384+ <xsl:call-template name="head" />
378385 <script type="text/javascript" src="../style/browse-statute.js"></script>
379- <xsl:call-template name="head" />
380386 </head>
381387 <body>
382388 <div class="wrapper">
--- reiki/trunk/htdocs/style/browse-toc.xsl (revision 120)
+++ reiki/trunk/htdocs/style/browse-toc.xsl (revision 121)
@@ -53,7 +53,7 @@
5353 </xsl:template>
5454
5555 <xsl:template name="sidebar">
56- <div class="sidebar">
56+ <div class="sidebar" id="sidebar">
5757 <xsl:call-template name="navigator" />
5858 <div class="buttons">
5959 <a href="../data/toc.xml" target="_blank">XML</a>
--- reiki/trunk/htdocs/style/browse-aiueo.xsl (revision 120)
+++ reiki/trunk/htdocs/style/browse-aiueo.xsl (revision 121)
@@ -244,7 +244,7 @@
244244 </xsl:template>
245245
246246 <xsl:template name="sidebar">
247- <div class="sidebar">
247+ <div class="sidebar" id="sidebar">
248248 <xsl:call-template name="navigator" />
249249 <h3>五十音</h3>
250250 <div class="links">
--- reiki/trunk/htdocs/style/common-statute.css (revision 120)
+++ reiki/trunk/htdocs/style/common-statute.css (revision 121)
@@ -28,7 +28,7 @@
2828 top: 0;
2929 font-size: 10pt;
3030 padding: .5em;
31- overflow: scroll;
31+ overflow: auto;
3232 }
3333
3434 div.sidebar h1 {
@@ -72,9 +72,10 @@
7272 border: 1px solid Black;
7373 background-color: White;
7474 padding: .5em 0;
75- overflow: scroll;
75+ overflow: auto;
7676 white-space: nowrap;
77- max-height: 400pt;
77+ max-height: 300pt;
78+ margin-bottom: 1em;
7879 }
7980 div.sidebar div.outline ul {
8081 margin: 0;
--- reiki/trunk/htdocs/style/browse-search.xsl (revision 120)
+++ reiki/trunk/htdocs/style/browse-search.xsl (revision 121)
@@ -50,7 +50,7 @@
5050 </xsl:template>
5151
5252 <xsl:template name="sidebar">
53- <div class="sidebar">
53+ <div class="sidebar" id="sidebar">
5454 <xsl:call-template name="navigator" />
5555 <xsl:if test="query">
5656 <h3>キーワード</h3>
--- reiki/trunk/htdocs/style/browse-publish.xsl (revision 120)
+++ reiki/trunk/htdocs/style/browse-publish.xsl (revision 121)
@@ -57,7 +57,7 @@
5757 </xsl:template>
5858
5959 <xsl:template name="sidebar">
60- <div class="sidebar">
60+ <div class="sidebar" id="sidebar">
6161 <xsl:call-template name="navigator" />
6262 <h3>例規集図書印刷</h3>
6363 <p>印刷用のPDFを作成します。右側の一覧から印刷したい部分をチェックして、ダウンロードボタンを押してください。</p>
Show on old repository browser