Difference between revisions of "ChangingMouseoverText"

(copyedit)
 

(3 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]].
+
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.
  
'''Example:'''
+
'''Examples:'''
<br>
+
 
The following link:
+
External example:
 
<pre>
 
<pre>
 
[http://www.gunthergifts.com/flasks.html
 
[http://www.gunthergifts.com/flasks.html
 
<span title="Flasks">Liquor Flasks</span>]
 
<span title="Flasks">Liquor Flasks</span>]
 
</pre>
 
</pre>
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:
+
If you hover over [http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>], you will see the text ''Flasks'' only.
[http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>]
+
 
 +
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 ==
 
== See Also ==
Line 21: Line 26:
  
 
__NOTOC__
 
__NOTOC__
[[Category:AboutUs Help]]
+
[[Category:AboutUs_Help]]

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


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