Difference between revisions of "ChangingMouseoverText"

(Changing MouseOver Text for Links: formatting)
Line 1: Line 1:
 
==Changing MouseOver Text for Links==
 
==Changing MouseOver Text for Links==
Depending on whether a link is internal or external, when you rollover a link with your mouse, the mouseover/rollover text that appears above the link displays either the name of the local wiki page (in case of internal links) or displays the external link saying it will open in a new window (in case of external links e.g '''http://www.google.com will open in a new window''').
+
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.
 
In order to change the mouseover/rollover text for these links, the span title tags need to be used.

Revision as of 17:02, 6 October 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.

Example:
The following link:

[http://www.gunthergifts.com/flasks.html
<span title="Flasks">Liquor Flasks</span>]

would make the words 'Liquor Flasks' an external link to http://www.gunthergifts.com/flasks.html, while rolling over the words 'Liquor Flasks' would display the text 'Flasks' only.

This would then display as the following: Liquor Flasks

See Also

  • WikiLink for internal linking (to other pages on the wiki)
  • ExternalLink for linking to pages on other websites


Retrieved from "http://aboutus.com/index.php?title=ChangingMouseoverText&oldid=16652548"