ChangingMouseoverText
Revision as of 12:21, 6 October 2008 by AyeshaAslam (talk | contribs) (creating a Help page for Changing MouseOver Text for Links)
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]
- The following link would go directly to 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]
- The following link would make the word 'Google' a link which would go directly to http://www.google.com:
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