Author: marcus
Date: Wed Jun 25 22:17:44 2014
New Revision: 1605621

URL: http://svn.apache.org/r1605621
Log:
Updated handling with disabled JavaScript

Modified:
    openoffice/ooo-site/trunk/content/index_alert.html

Modified: openoffice/ooo-site/trunk/content/index_alert.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index_alert.html?rev=1605621&r1=1605620&r2=1605621&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index_alert.html (original)
+++ openoffice/ooo-site/trunk/content/index_alert.html Wed Jun 25 22:17:44 2014
@@ -120,18 +120,11 @@ screen reader.
           + "</a>"
         + "</div>"
       + "</div>"
-    + "</li>" );
-    //-->
-    </script>
-
-    <li>
-      <hr />
-    </li>
-
-    <!-- Show the currently available version, loaded via JavaScript -->
-    <script type="text/javascript">
-    <!--
-    document.write( "<li>"
+    + "</li>"
+    + "<li>"
+      + "<hr />"
+    + "</li>"
+    + "<li>"
       + "<div class='action-download'>"
         + "<div class='action-text action-link'>"
           + "<p>New layout - Better than the old?</p>"
@@ -146,6 +139,20 @@ screen reader.
     //-->
     </script>
 
+    <!-- Download OpenOffice: No JavaScript enabled -->
+    <noscript>
+      <li>
+        <div class="action-download">
+          <div class="action-text action-link">
+            <a href="download/index.html">
+              <h2>I want to download Apache OpenOffice</h2>
+              <p>Download Apache OpenOffice for free, or find out about other 
ways of getting it.</p>
+            </a>
+          </div>
+        </div>
+      </li>
+    </noscript>
+
     <li>
       <hr />
     </li>


Reply via email to