[HepData-svn] r1833 - trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Nov 11 15:17:36 GMT 2014


Author: whalley
Date: Tue Nov 11 15:17:36 2014
New Revision: 1833

Log:
changing from tooltip to title in span element

Modified:
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/CombinedPlotAdvanced.tml

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/CombinedPlotAdvanced.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/CombinedPlotAdvanced.tml	Tue Nov 11 11:10:56 2014	(r1832)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/CombinedPlotAdvanced.tml	Tue Nov 11 15:17:36 2014	(r1833)
@@ -45,41 +45,43 @@
 
     <table>
       <tr>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('Set the x-axis to be linear or logarithmic');" onmouseout="tooltip.hide();"><t:label for="xscale"/> </span></td>
+        <td align="right"><span class="hotspot" title="Set the xx-axis to be linear or logarithmic"><t:label for="xscale"/> </span></td>
         <td><t:select  t:id="xscale" model="literal:lin,log" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('Set the y-axis to be linear or logarithmic');" onmouseout="tooltip.hide();"><t:label for="yscale"/> </span></td>
+        <td align="right"><span class="hotspot" title="Set the y-axis to be linear or logarithmic"><t:label for="yscale"/> </span></td>
         <td><t:select  t:id="yscale" model="literal:lin,log" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('Choose whether or not to include the systematic errors in the plot');" onmouseout="tooltip.hide();">Syst... </span></td>
+        <td align="right"><span class="hotspot" title="Choose whether or not to include the systematic errors in the plot">Syst... </span></td>
         <td><t:select  t:id="systematics" model="literal:yes,no" style="font-size:90%;"/></td>
+        <td align="right"><span class="hotspot" title="Set the x-axis number"><t:label for="xid"/> </span></td>
+        <td><t:select  t:id="xid" model="literal:=1,2" style="font-size:90%;"/></td>
       </tr>
       <tr>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('x-axis minumum value');" onmouseout="tooltip.hide();"><t:label for="xmin"/> </span></td>
+        <td align="right"><span class="hotspot" title="x-axis minumum value"><t:label for="xmin"/> </span></td>
         <td><input type="textfield" t:type="textfield" t:id="xmin" t:value="xmin" t:size="6" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('x-axis maximum value');" onmouseout="tooltip.hide();"><t:label for="xmax"/> </span></td>
+        <td align="right"><span class="hotspot" title="x-axis maximum value"><t:label for="xmax"/> </span></td>
         <td><input type="textfield" t:type="textfield" t:id="xmax" t:value="xmax" t:size="6" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('y-axis minumum value');" onmouseout="tooltip.hide();"><t:label for="ymin"/> </span></td>
+        <td align="right"><span class="hotspot" title="y-axis minumum value"><t:label for="ymin"/> </span></td>
         <td><input type="textfield" t:type="textfield" t:id="ymin" t:value="ymin" t:size="6" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('y-axis maximum value');" onmouseout="tooltip.hide();"><t:label for="ymax"/> </span></td>
+        <td align="right"><span class="hotspot" title="y-axis maximum value"><t:label for="ymax"/> </span></td>
         <td><input type="textfield" t:type="textfield" t:id="ymax" t:value="ymax" t:size="6" style="font-size:90%;"/></td>
       </tr>
       <tr>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('size of the x-axis (pixels)');" onmouseout="tooltip.hide();"><t:label for="xsize"/> </span></td>
+        <td align="right"><span class="hotspot" title="size of the x-axis (pixels)"><t:label for="xsize"/> </span></td>
         <td><t:select  t:id="xsize" model="literal:200,300,400,500,600,700,800,900" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('size of the y-axis (pixels)');" onmouseout="tooltip.hide();"><t:label for="ysize"/> </span></td>
+        <td align="right"><span class="hotspot" title="size of the y-axis (pixels)"><t:label for="ysize"/> </span></td>
         <td><t:select  t:id="ysize" model="literal:200,300,400,500,600,700,800,900" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('make the plot as a png (onscreen) or pdf(file)');" onmouseout="tooltip.hide();">png/pdf</span></td>
+        <td align="right"><span class="hotspot" title="make the plot as a png (onscreen) or pdf(file)">png/pdf</span></td>
         <td><t:select  t:id="plottype" model="literal:png,pdf" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('full path/name of the pdf file');" onmouseout="tooltip.hide();">filename</span></td>
+        <td align="right"><span class="hotspot" title="full path/name of the pdf file">filename</span></td>
         <td><input type="textfield" t:type="textfield" t:id="pdfname" t:value="pdfname" t:size="6" style="font-size:90%;"/></td>
       </tr>
       <tr>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('relative x-position of the DP key');" onmouseout="tooltip.hide();"><t:label for="xkey"/> </span></td>
+        <td align="right"><span class="hotspot" title="relative x-position of the DP key"><t:label for="xkey"/> </span></td>
         <td><t:select  t:id="xkey" model="literal:0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('relative y-position of the DP key');" onmouseout="tooltip.hide();"><t:label for="ykey"/> </span></td>
+        <td align="right"><span class="hotspot" title="relative y-position of the DP key"><t:label for="ykey"/> </span></td>
         <td><t:select  t:id="ykey" model="literal:0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('relative x-position of added text');" onmouseout="tooltip.hide();"><t:label for="xtext"/> </span></td>
+        <td align="right"><span class="hotspot" title="relative x-position of added text"><t:label for="xtext"/> </span></td>
         <td><t:select  t:id="xtext" model="literal:0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1" style="font-size:90%;"/></td>
-        <td align="right"><span class="hotspot" onmouseover="tooltip.show('relative y-position of added text');" onmouseout="tooltip.hide();"><t:label for="ytext"/> </span></td>
+        <td align="right"><span class="hotspot" title="relative y-position of added text"><t:label for="ytext"/> </span></td>
         <td><t:select  t:id="ytext" model="literal:0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1" style="font-size:90%;"/></td>
       </tr>
     </table>
@@ -91,11 +93,11 @@
 
     <table>
       <tr>
-        <td><span class="hotspot" onmouseover="tooltip.show('Change the x-axis text');" onmouseout="tooltip.hide();"> X-label </span></td>
+        <td><span class="hotspot" title="Change the x-axis text"> X-label </span></td>
         <td><input type="textfield" t:type="textfield" t:id="xheader" t:value="xheader" t:size="40" style="font-size:90%;"/></td>
       </tr>
       <tr>
-        <td><span class="hotspot" onmouseover="tooltip.show('Change the y-axis text');" onmouseout="tooltip.hide();"> Y-label </span></td>
+        <td><span class="hotspot" title="Change the y-axis text"> Y-label </span></td>
         <td><input type="textfield" t:type="textfield" t:id="yheader" t:value="yheader" t:size="40" style="font-size:90%;"/></td>
       </tr>
 
@@ -104,7 +106,7 @@
         ${addCount()}
       </t:loop>
       <tr>
-      <td><span class="hotspot" onmouseover="tooltip.show('Additional text to be added at relative positions xtext and ytext');" onmouseout="tooltip.hide();">Text</span></td>
+      <td><span class="hotspot" title="Additional text to be added at relative positions xtext and ytext">Text</span></td>
       <td><input type="textarea" t:type="textarea" t:id="optionstring0" t:value="optionstring0" t:cols="60" t:rows="4" style="font-size:90%;"/>
       </td></tr>
 
@@ -124,7 +126,7 @@
         <br />SHAPE options:
         <br />circle,square,triange,star
         <br />open,inverted,left,right
-        ');" onmouseout="tooltip.hide();"> what's this? </span> 
+        ');" onmouseout="tooltip.hide();"> what's this? </span>
       </td></tr>
       </t:if>
       <t:if test="haveOption2">


More information about the HepData-svn mailing list