You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Options are controlled with the <strong>title</strong> attribute. Enter function arguments as noted above, but the title attribute follows this logic: <br>
<strong>A.</strong> - the definition or hint for the displayed html text. <em><strong>required</strong></em>
243
+
<strong>B.</strong> - Alternative text to reference source link (default is "Source Page"). Separate with "," using "\[l\]" (defaults to first item) to denote which text is nested in link (when one link); and if multiple links leave blank, or denote with: a. "\[l\]" (matches link order with or without \[l\]) or b. "\[i\]" (where i links index in array and can be used with or without \[l\]). <em>optional</em>
244
+
<strong>C. </strong> - The link(s) that the definition was derived from. Separate with "-:-" if over one. <em>optional</em>
245
+
**To Use** - Paste one of the below examples (as is) into and HTML tag (as attribute), then modify **title** attribute only: <br>
237
246
```markdown
238
247
onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition. ::https ://change_source_linke.com"
239
248
```
240
-
1. <strong>this</strong>: Required
241
-
2. <strong>curData</strong>: Required
242
-
3. <strong>curTitle</strong>: Required.
243
-
For best results set arguments as such - (this, this.dataset, this.dataset.title). Example:
<p>Hover over the bold words below to see how setting title attribute will alter how the funciton created title block.</p>
13
+
<br>
14
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition."</code><br>
15
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.">ONE</strong><br>
16
+
<br>
17
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: https://example.com"</code><br>
18
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: https://example.com">TWO</strong><br>
19
+
<br>
20
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article, John Smith::https://example.com"</code><br>
21
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article, John Smith::https://example.com">THREE</strong><br>
22
+
<br>
23
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article, John Smith[l]::https://en.wikipedia.org/wiki/John_Smith_(explorer)"</code><br>
24
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article, John Smith[l]::https://en.wikipedia.org/wiki/John_Smith_(explorer)">FOUR</strong><br>
25
+
<br>
26
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article[1], John Smith[0]::https://en.wikipedia.org/wiki/John_Smith_(explorer)-:-https://example.com"</code><br>
27
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article[1], John Smith[0]::https://en.wikipedia.org/wiki/John_Smith_(explorer)-:-https://example.com">FIVE</strong><br>
28
+
<br>
29
+
<p><strong>NOTE</strong> - As there is really no need for "[l]" after text, index mark in link text can be omitted if links are in correct order.</p>
30
+
<code>onmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article[0], John Smith[l]::https://example.com-:-https://en.wikipedia.org/wiki/John_Smith_(explorer)"</code><br>
31
+
<strongonmouseover="showTermTitleWithLink(this, this.dataset, this.dataset.title)" title="Change the definition.:: Some Article[0], John Smith[l]::https://example.com-:-https://en.wikipedia.org/wiki/John_Smith_(explorer)">FIVE</strong><br>
0 commit comments