Author: marcus
Date: Tue Jun 3 20:07:15 2014
New Revision: 1599778
URL: http://svn.apache.org/r1599778
Log:
Changed the link 'Update the table' into a button
Modified:
openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
Modified: openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html?rev=1599778&r1=1599777&r2=1599778&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html
(original)
+++ openoffice/ooo-site/trunk/content/download/test/analyze_droplist.html Tue
Jun 3 20:07:15 2014
@@ -82,12 +82,12 @@
// Select boxes.
+ "<form name='download'>"
- + "<select class='sel-os' id='os' name='os' title='Select your favorite
operating system' onchange='getLinkSel()'>"
- + "</select>"
- + "<select class='sel-lang' id='lang' name='lang' title='Select your
favorite language' onchange='getLinkSel()'>"
- + "</select>"
- + "<select class='sel-ver' id='ver' name='ver' title='Select your
favorite release version' onchange='getLinkSel()'>"
- + "</select>"
+ + "<select class='sel-os' id='os' name='os' autofocus='autofocus'
title='Select your favorite operating system' "
+ + "onchange='getLinkSel()'></select>"
+ + "<select class='sel-lang' id='lang' name='lang' title='Select your
favorite language' "
+ + "onchange='getLinkSel()'></select>"
+ + "<select class='sel-ver' id='ver' name='ver' title='Select your
favorite release version' "
+ + "onchange='getLinkSel()'></select>"
+ "</form>"
// Both download text buttons.
@@ -162,12 +162,25 @@
</div>
<div style="clear: both; float: left;">
- <p>
- <a style="padding: 0px 0px 0px 15px; font-size: 1.2em;"
href="javascript:void( 0 )"
- title="Put the selected options as values into the table below."
onclick="updateTable(); return false;">
- <b>Update the table</b>
- </a>
- </p>
+ <form name="update_and_copy">
+<!--
+ <input style="padding: 0px 15px 0px 15px; font-size: 1.2em; cursor:
pointer;" type="button" name="update"
+-->
+ <input class="btn_analyze" type="button" name="update"
+ href="javascript:void( 0 )" title="Put the selected options as values into
the table below"
+ onclick="updateTable(); return false;" value="Update the table" />
+ </input>
+
+ <a style="padding: 0px 0px 0px 30px;"></a>
+<!--
+ <input class="btn_analyze" type="button" name="copy"
+ href="javascript:void( 0 )" title="Copy the table data into the clipboard"
onclick="copyTable( document.getElementById('copy_dummy').value ); return
false;"
+ value="Copy the table to clipboard" />
+ </input>
+
+ <textarea id="copy_dummy" style="width: 0px; height: 0px; padding:
0px;"></textarea>
+-->
+ </form>
<p> </p>
</div>
@@ -263,6 +276,15 @@
return;
}
+/*
+ function copyTable() {
+ // Copy all table data into the clipboard.
+
+ alert( "TODO: Implement" );
+
+ return;
+ }
+*/
</script>
</div>