Author: marcus
Date: Sat Mar 29 12:21:39 2014
New Revision: 1582993

URL: http://svn.apache.org/r1582993
Log:
Update to get the droplists to work

Modified:
    openoffice/ooo-site/trunk/content/download/test/index_droplist.html

Modified: openoffice/ooo-site/trunk/content/download/test/index_droplist.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index_droplist.html?rev=1582993&r1=1582992&r2=1582993&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index_droplist.html 
(original)
+++ openoffice/ooo-site/trunk/content/download/test/index_droplist.html Sat Mar 
29 12:21:39 2014
@@ -6,7 +6,7 @@
   <script type="text/javascript" src="globalvars.js"></script>
   <script type="text/javascript" src="languages.js"></script>
   <script type="text/javascript" src="release_matrix.js"></script>
-  <script type="text/javascript" src="download.js"></script>
+  <script type="text/javascript" src="download_droplist.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -26,13 +26,15 @@
        // Set a specific language ISO code to force to assemble a certain 
localized build as download URL
        var NL_LANGUAGE = "";
        // Get the download URL for released install files (0 = release mode)
-       var LINK        = getLink( 0 );
+       var LINK        = getLink();
+
        /*
        document.write ( "Language ISO: " + LANG_ISO + " - has MirrorLink()?: " 
+ hasMirrorLink() + "<br />"
        + "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " 
+ ARCHIVE + "<br />"
        + "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + 
" - EXTENSION: " + EXTENSION + "<br />"
        + "LINK: " + LINK );
        */
+
        document.write( "<div class='button grey' id='optionitem1'>"
                + "<h2><a>Searching for another version?</a></h2>"
                + "<p style='cursor: default;'>"
@@ -41,7 +43,7 @@
 
                + "<div>"
                + "<form name='download'>"
-               + "<select name='os' onchange=''>"
+               + "<select name='os' onchange='get_os()'>"
                + "<option value='e1' selected='selected'>Choose OS</option>"
                + "<option value='e2'                    
>----------------</option>"
                + "<option value='win32'                 >Windows         
</option>"
@@ -53,7 +55,7 @@
                + "<option value='mac64'                 >Mac OS X x86-64 
</option>"
                + "</select>"
 
-               + "<select name='lang' onchange=''>"
+               + "<select name='lang' onchange='get_lang()'>"
                + "<option value='e1' selected='selected'>Choose 
language</option>"
                + "<option value='e2'                    
>---------------</option>"
                + "<option value='en-US'                 >English (US)   
</option>"
@@ -64,7 +66,7 @@
                + "<option value='nl'                    >Dutch          
</option>"
                + "</select>"
 
-               + "<select name='type' onchange=''>"
+               + "<select name='type' onchange='get_type()'>"
                + "<option value='e1' selected='selected'>Choose install 
type</option>"
                + "<option value='e2'                    
>-------------------</option>"
                + "<option value='full'                  >Full Installation  
</option>"
@@ -72,16 +74,9 @@
                + "</select>"
                + "</form>"
 
-               + "<h3><a href='" + LINK + "' title='" + LINK + "'>Download 
Now!</h3>"
+               + "<h3><a href='" + LINK + "' title='" + LINK + "'>Download 
Now!</a></h3>"
                + "<br />"
                + "</div>"
-
-//             + "<p><a>"
-//             + "Which OS? "           + document.os.options[1].index + "<br 
/>"
-//             + "Which lanuage? "      + document.lang.options[1].value + 
"<br />"
-//             + "Which install type? " + document.type.options[1].value
-//             + "</a></p>"
-
        + "</div>" );
        document.write( "<div class='sub-grey' id='optionitem1_2'>"
                + "<p><a href='other.html'>"


Reply via email to