Difference between revisions of "ChangingMouseoverText"

(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]]).
  
===Internal Linking (to other pages on the wiki)===
+
In order to change the mouseover/rollover text for these links, the span title tags need to be used.
Internal linking to another page on the wiki is done by enclosing the word(s) to be linked in double square brackets.
 
<br>
 
'''Examples:'''
 
<br>
 
* '''Internal linking of the wiki page name itself'''
 
:: <pre><nowiki>[[</nowiki>Google]]</pre>
 
:: The word ''''''Google'''''' enclosed in double square brackets would display as: [[Google]] and go to the page for Google.com on AboutUs at http://www.aboutus.org/Google.com
 
  
* '''Internal linking of word(s) with different text appearing'''
 
:: <pre><nowiki>[[</nowiki>Google.com|a different display name]]</pre>
 
:: The words ''''''a different display name'''''' would become a link to to the page for Google.com on AboutUs at http://www.aboutus.org/Google.com
 
 
===External Linking (to other website pages)===
 
External linking to a different website page is done by enclosing the word(s) to be linked in single square brackets.
 
<br>
 
 
'''Examples:'''
 
'''Examples:'''
<br>
 
* '''External linking without a display name'''
 
:: The following link would go directly to http://www.google.com: <pre>[http://www.google.com]</pre>
 
  
* '''External linking with a display name'''
+
External example:
:: The following link would make the word ''''''Google'''''' a link which would go directly to http://www.google.com: <pre>[http://www.google.com Google]</pre>
+
<pre>
 +
[http://www.gunthergifts.com/flasks.html
 +
<span title="Flasks">Liquor Flasks</span>]
 +
</pre>
  
===Changing MouseOver Text for Links===
+
If you hover over [http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>], you will see the text ''Flasks'' only.
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''').
 
 
 
In order to change the mouseover/rollover text for these links, the span title tags need to be used.
 
  
'''Example:'''
+
Internal example:
<br>
+
<pre>
The following link:
+
[[Flasks.com|<span title="Flasks">Liquor Flasks</span>]]
<pre>[http://www.gunthergifts.com/flasks.html <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 [[Flasks.com|<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>]
 
  
 +
== See Also ==
 +
* [[WikiLink]] for internal linking (to other pages on the wiki)
 +
* [[ExternalLink]] for linking to pages on other websites
  
 
__NOTOC__
 
__NOTOC__
__NOEDITSECTION__
+
[[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"