OSDN Git Service

Execute embedded scripts on overlay-page load.
[mingw/website.git] / terms.html
index 481933d..7863dc9 100644 (file)
  *    ”   right (closing) typographic double quote
  *
 -->
-<dl class="masthead"><!-- hidden for masthead class -->
-<!-- FIXME: is there a better way to do this?  We need to propagate
- content to the "as-page-title" and "as-page-subtitle" place-holders,
- within the "page-content" div of "index.html"; our javascript page
- loader will explicitly look for these hidden elements, and copy
- their content into the corresponding visible place-holders.
--->
- <dt id="page-title">MinGW.OSDN Licensing</dt>
- <dt id="page-subtitle">Terms of Use for MinGW.OSDN Products and Resources</dt>
-</dl><!-- masthead -->
+<script class="masthead">
+/* Script fragment, to assign titles specific to this page; this is
+ * encapsulated within the "masthead", where such titles are displayed,
+ * to ensure that whatever page content may follow will be correctly
+ * positioned, relative to the masthead content.
+ */
+ set_page("title", "MinGW.OSDN Licensing");
+ set_page("subtitle", "Terms of Use for MinGW.OSDN Products and Resources");
+</script><!-- masthead -->
 <div class="h3-numbered">
 <p>Each of the various packages,
 which are distributed by MinGW.OSDN,