Difference between revisions of "ChangingMouseoverText"

(creating a Help page for Changing MouseOver Text for Links)
 
Line 31: Line 31:
  
 
'''Example:'''
 
'''Example:'''
 +
<br>
 
The following link:
 
The following link:
 
<pre>[http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>]</pre>
 
<pre>[http://www.gunthergifts.com/flasks.html <span title="Flasks"> Liquor Flasks</span>]</pre>

Revision as of 12:22, 6 October 2008

Changing MouseOver Text for Links

Internal Linking (to other pages on the wiki)

Internal linking to another page on the wiki is done by enclosing the word(s) to be linked in double square brackets.
Examples:

  • Internal linking of the wiki page name itself
[[Google]]
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
[[Google.com|a different display name]]
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.
Examples:

  • External linking without a display name
The following link would go directly to http://www.google.com:
[http://www.google.com]
  • External linking with a display name
The following link would make the word 'Google' a link which would go directly to http://www.google.com:
[http://www.google.com Google]

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).

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



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