You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/04 21:01:06 UTC

svn commit: r1607911 - /openoffice/ooo-site/trunk/content/download/test/boxed_download.js

Author: marcus
Date: Fri Jul  4 19:01:06 2014
New Revision: 1607911

URL: http://svn.apache.org/r1607911
Log:
Updated comments

Modified:
    openoffice/ooo-site/trunk/content/download/test/boxed_download.js

Modified: openoffice/ooo-site/trunk/content/download/test/boxed_download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/boxed_download.js?rev=1607911&r1=1607910&r2=1607911&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Fri Jul  4 19:01:06 2014
@@ -4,11 +4,13 @@
 
 /*
  * Download box
- * Show the select boxes, both download text buttons and the sub-box
+ * Show the select boxes, both download text buttons, the sub-box and help icons and links
+ * @param:  None
+ * @return: None
  */
 function createDownloadBox() {
   document.write( "<div class='first button green-sel' id='optionitem2'>"
-    + "<div class='green-icon'></div>"
+    + "<div class='green-sel-icon'></div>"
 
     // Headline.
     + "<h2 title='" + l10n_download_green_box_headline_title + "'>"
@@ -36,7 +38,7 @@ function createDownloadBox() {
       + "</select>"
     + "</form>"
 
-    // Both download text buttons: First for "full install", then for "langpack".
+    // Both download text buttons: First (left) for "full install", then (right) for "langpack".
     + "<div style='margin: 0px 0px -15px 3%;'>"
       + "<div class='btn_dl' style='display: inline-block;'>"
         + "<h3>"
@@ -55,10 +57,8 @@ function createDownloadBox() {
   + "<br /><br />"
   + "</div>"
 
-  /*
-   * Download sub-box
-   * Show release info, filesizes, checksum links and help links
-   */
+   // Sub-box
+   // Show release info, filesizes, checksum links and help links
   + "<div id='sub_box' class='button sub-green-sel'>"
     + "<div>" // The 3 lines of release info
 
@@ -96,10 +96,8 @@ function createDownloadBox() {
       + "</p>"
     + "</div>"
 
-   /*
-    * Download box
-    * Show the help icons and links
-    */
+    // Help items
+    // Show the help icons and links
     + "<div>"
       + "<p>"
 
@@ -123,6 +121,8 @@ function createDownloadBox() {
 /*
  * Social network box
  * Show the clickable icons for the social networks
+ * @param:  None
+ * @return: None
  */
 function createShareBox() {
   document.write( "<div class='button lightblue' id='optionitem4'>"
@@ -172,6 +172,9 @@ function createShareBox() {
 
 /*
  * Extensions and dictionaries
+ * Show the clickable text to get extensions and dictionaries
+ * @param:  None
+ * @return: None
  */
 function createExtensionsBox() {
   document.write( "<div class='blue button' id='optionitem5' "
@@ -193,6 +196,9 @@ function createExtensionsBox() {
 
 /*
  * Templates
+ * Show the clickable text to get templates
+ * @param:  None
+ * @return: None
  */
 function createTemplatesBox() {
   document.write( "<div class='button blue' id='optionitem6' "
@@ -214,6 +220,9 @@ function createTemplatesBox() {
 
 /*
  * Navigation bar
+ * Show the navigation bar with 3 areas and their items
+ * @param:  None
+ * @return: None
  */
 function createNavigationBar() {
   document.write( "<div>"
@@ -342,7 +351,10 @@ function createNavigationBar() {
 }
 
 /*
- * Show logos
+ * Logos
+ * Show the clickable logos
+ * @param:  None
+ * @return: None
  */
 function createLogoSection() {
   document.write( "<div id='SupportedAndSupporters'>"