Difference between revisions of "ChangingMouseoverText"
AyeshaAslam (talk | contribs) |
(copyedit) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Changing MouseOver Text for Links== | ==Changing MouseOver Text for Links== | ||
+ | When you hold your mouse over a link without clicking, sometimes some text appears. This text is called a mouseover or rollover. Depending on whether a link is internal or external, the mouseover/rollover text is either the name of the local wiki page (in case of [[internal links]]) or the destination URL saying it will open in a new window (in case of [[external links]]). | ||
− | + | In order to change the mouseover/rollover text for these links, the span title tags need to be used. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
'''Examples:''' | '''Examples:''' | ||
− | |||
− | |||
− | |||
− | + | External example: | |
− | + | <pre> | |
+ | [http://www.gunthergifts.com/flasks.html | ||
+ | <span title="Flasks">Liquor Flasks</span>] | ||
+ | </pre> | ||
− | + | If you hover over [http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>], you will see the text ''Flasks'' only. | |
− | |||
− | |||
− | |||
− | + | Internal example: | |
− | < | + | <pre> |
− | + | [[Flasks.com|<span title="Flasks">Liquor Flasks</span>]] | |
− | + | </pre> | |
− | |||
− | + | If you hover over [[Flasks.com|<span title="Flasks">Liquor Flasks</span>]], you will see the text ''Flasks'' only. | |
− | [ | ||
+ | == See Also == | ||
+ | * [[WikiLink]] for internal linking (to other pages on the wiki) | ||
+ | * [[ExternalLink]] for linking to pages on other websites | ||
__NOTOC__ | __NOTOC__ | ||
− | + | [[Category:AboutUs_Help]] | |
− | [[Category: |
Latest revision as of 01:58, 30 December 2008
Changing MouseOver Text for Links
When you hold your mouse over a link without clicking, sometimes some text appears. This text is called a mouseover or rollover. Depending on whether a link is internal or external, the mouseover/rollover text is either the name of the local wiki page (in case of internal links) or the destination URL saying it will open in a new window (in case of external links).
In order to change the mouseover/rollover text for these links, the span title tags need to be used.
Examples:
External example:
[http://www.gunthergifts.com/flasks.html <span title="Flasks">Liquor Flasks</span>]
If you hover over Liquor Flasks, you will see the text Flasks only.
Internal example:
[[Flasks.com|<span title="Flasks">Liquor Flasks</span>]]
If you hover over Liquor Flasks, you will see the text Flasks only.
See Also
- WikiLink for internal linking (to other pages on the wiki)
- ExternalLink for linking to pages on other websites