Use tooltips instead of <details>.

This commit is contained in:
2023-01-04 14:42:08 +01:00
parent c7d29781ee
commit dc2d5dd866
2 changed files with 115 additions and 89 deletions
+88 -89
View File
@@ -135,24 +135,23 @@
<div id="Other" class="tabcontent">
<table cellpadding="5">
<tr>
<td>
<details>
<summary>EF</summary>
Cutoff energy of projectiles (in eV);
must be greater than zero.
Used for low projectile energies (< 1000 eV) and ESB = 0.
EF should be of the order of ~0.2 eV,
but not above SBE (for sputtering data).
With increasing projectile energy,
EF can be increased to save computing time.
</details>
<td class="tooltip">
EF
<span class="tooltiptext">
Cutoff energy of projectiles (in eV); must be
greater than zero. Used for low projectile energies
(< 1000 eV) and ESB = 0. EF should be of the order
of ~0.2 eV, but not above SBE (for sputtering
data). With increasing projectile energy, EF can be
increased to save computing time.
</span>
</td>
<td>
<input name="parEF" id="parEF" type="number" size="7" step="0.1" value="0.5">
</td>
<td>
<details>
<summary>KK0</summary>
<td class="tooltip">
KK0
<span class="tooltiptext">
Maximum order of weak (simultaneous) collisions between projectile and target atoms:
<ol>
<li value="0">No weak collisions included.</li>
@@ -161,29 +160,29 @@
<li value="3">Only useful for very heavy particles; increases computing time.</li>
<li value="4">Only useful for very heavy particles; increases computing time.</li>
</ol>
</details>
</span>
</td>
<td>
<input name="parKK0" id="parKK0" type="number" step="1" min="0" max="4" value="2">
</td>
</tr>
<tr>
<td>
<details>
<summary>ESB</summary>
<td class="tooltip">
ESB
<span class="tooltiptext">
Surface binding energy for projectiles (in eV).
This value is zero for the noble gases,
but ESB should be larger than zero if the projectile is an active
chemically species.
ESB = SBE for self-sputtering calculations.
</details>
</span>
</td>
<td>
<input name="parESB" id="parESB" type="number" size="7" step="0.1" value="0.0">
</td>
<td>
<details>
<summary>KK0R</summary>
<td class="tooltip">
KK0R
<span class="tooltiptext">
Maximum order of weak (simultaneous) collisions between target atoms:
<ol>
<li value="0">No weak collisions included.</li>
@@ -192,26 +191,26 @@
<li value="3">Only useful for very heavy particles; increases computing time.</li>
<li value="4">Only useful for very heavy particles; increases computing time.</li>
</ol>
</details>
</span>
</td>
<td>
<input name="parKK0R" id="parKK0R" type="number" step="1" min="0" max="4" value="2">
</td>
</tr>
<tr>
<td>
<details>
<summary>SHEATH</summary>
<td class="tooltip">
SHEATH
<span class="tooltiptext">
Sheath potential (in eV);
typically 3 * kT (i.e., 3 * |projectile energy|).
</details>
</span>
</td>
<td>
<input name="parSHEATH" id="parSHEATH" type="number" size="7" step="0.1" value="0.0">
</td>
<td>
<details>
<summary>KDEE1</summary>
<td class="tooltip">
KDEE1
<span class="tooltiptext">
Inelastic energy loss model for projectiles:
<ol>
<li value="1">Nonlocal (Lindhard-Scharff).</li>
@@ -229,127 +228,127 @@
</li>
</ol>
Note: options 1, 2, and 3 can only be used at energies below the stopping power maximum.
</details>
</span>
</td>
<td>
<input name="parKDEE1" id="parKDEE1" type="number" step="1" min="1" max="5" value="4">
</td>
</tr>
<tr>
<td>
<details>
<summary>ERC</summary>
<td class="tooltip">
ERC
<span class="tooltiptext">
Recoil cutoff energy (in eV);
usually equal to the surface binding energy.
</details>
</span>
</td>
<td>
<input name="parERC" id="parERC" type="number" size="7" step="0.1" value="0.0">
</td>
<td>
<details>
<summary>KDEE2</summary>
Inelastic energy loss for target atoms:
<ol>
<li value="1">Nonlocal (Lindhard-Scharff).</li>
<li value="2">Local (Oen-Robinson).</li>
<li value="3">
Equipartition of local and nonlocal models (i.e., options 1 & 2).
</li>
</ol>
Note: options 1, 2, and 3 can only be used at energies below the stopping power maximum.
</details>
</td>
<td class="tooltip">
KDEE2
<span class="tooltiptext">
Inelastic energy loss for target atoms:
<ol>
<li value="1">Nonlocal (Lindhard-Scharff).</li>
<li value="2">Local (Oen-Robinson).</li>
<li value="3">
Equipartition of local and nonlocal models (i.e., options 1 & 2).
</li>
</ol>
Note: options 1, 2, and 3 can only be used at energies below the stopping power maximum.
</span>
</td>
<td>
<input name="parKDEE2" id="parKDEE2" type="number" step="1" min="1" max="3" value="3">
</td>
</tr>
<tr>
<td>
<details>
<summary>RD</summary>
Depth (in Å) to which recoils are followed.
RD = 50 is usually sufficient for sputtering
(if the projectile energy is not too high).
Use RD = 100 * CW (i.e., the depth increment)
for following the full collision cascade.
</details>
</td>
<td class="tooltip">
RD
<span class="tooltiptext">
Depth (in Å) to which recoils are followed.
RD = 50 is usually sufficient for sputtering
(if the projectile energy is not too high).
Use RD = 100 * CW (i.e., the depth increment)
for following the full collision cascade.
</span>
</td>
<td>
<input name="parRD" id="parRD" type="number" size="7" step="0.1" value="50.0">
</td>
<td>
<details>
<summary>IPOT</summary>
<td class="tooltip">
IPOT
<span class="tooltiptext">
Interaction potential between projectile and target atoms:
<ol>
<li value="1">Krypton-Carbon (Kr-C) potential.</li>
<li value="2">Molière potential.</li>
<li value="3">Ziegler-Biersack-Littmark (ZBL) potential.</li>
</ol>
</details>
</span>
</td>
<td>
<input name="parIPOT" id="parIPOT" type="number" step="1" min="1" max="3" value="2">
</td>
</tr>
<tr>
<td>
<details>
<summary>CA</summary>
<td class="tooltip">
CA
<span class="tooltiptext">
Correction factor to the Firsov screening length for
collisions between projectile and target atoms
(only used in the application of the Molière potential);
usually on the order of ~1.0.
</details>
</span>
</td>
<td>
<input name="parCA" id="parCA" type="number" size="7" step="0.1" value="1.0">
</td>
<td>
<details>
<summary>IPOTR</summary>
<td class="tooltip">
IPOTR
<span class="tooltiptext">
Interaction potential between target atoms:
<ol>
<li value="1">Krypton-Carbon (Kr-C) potential.</li>
<li value="2">Molière potential.</li>
<li value="3">Ziegler-Biersack-Littmark (ZBL) potential.</li>
</ol>
</details>
</span>
</td>
<td>
<input name="parIPOTR" id="parIPOTR" type="number" step="1" min="0" max="3" value="1">
</td>
</tr>
<tr>
<td>
<td class="tooltip">
<input type="checkbox" id="flagICRU">
</td>
<td>
<details>
<summary>Use ICRU parameters</summary>
<span class="tooltiptext">
Force the TRIM.SP code to use stopping power
parameters from the old ICRU tables.
</details>
</span>
</td>
<td>
<details>
<summary>IRL</summary>
Collision recoils:
<ol>
<li value="0">
No recoils are generated (i.e., no sputtering effects);
used to speed up the calculation if only projectile ranges are of interest.
</li>
<li value="1">Calculate collision recoils.</li>
</ol>
</details>
Use ICRU parameters
</td>
<td class="tooltip">
IRL
<span class="tooltiptext">
Collision recoils:
<ol>
<li value="0">
No recoils are generated (i.e., no sputtering effects);
used to speed up the calculation if only projectile ranges are of interest.
</li>
<li value="1">Calculate collision recoils.</li>
</ol>
</span>
</td>
<td>
<input name="parIRL" id="parIRL" type="number" step="1" min="0" max="1" value="0">
</td>
</tr>
</table>
</table>
<p>
For further details see:
</p>
+27
View File
@@ -175,3 +175,30 @@ td {
line-height: 30px; /* To center it vertically */
color: white;
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
/* border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 320px;
background-color: black;
color: #fff;
text-align: left;
padding: 5px;
border-radius: 6px;
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}