CSS-Trickserei für Menü-Effekt auf Smartphones
[website] / src / main / webapp / WEB-INF / templates / html5page.jsp
index e15516e..5918e65 100644 (file)
@@ -11,8 +11,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <t:insertAttribute name="htmlhead"/>
   </head>
-  <body class="<t:getAsString name="contentclass"/>" onload="prettyPrint()">
-    <a id="top"></a>
+  <body id="top" class="<t:getAsString name="contentclass"/>" onload="prettyPrint()">
     <div id="page" class="cf">
       <header id="header">
         <t:insertAttribute name="header"/>
@@ -24,7 +23,7 @@
         <ol class="b">
           <t:insertAttribute name="breadcrumb"/>
         </ol>
-        <a class="hide" href="#navigation" title="Show navigation menu">Jump to navigation</a>
+        <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
         <hr class="b" />
       </div>
       <main class="content cf">
@@ -35,7 +34,6 @@
         <div class="marginal">
           <nav id="nav">
             <hr class="n"/>
-            <a id="navigation"></a>
             <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
             <t:insertAttribute name="navigation"/>
             <hr class="n"/>