FANDOM


Here some ways to create mouse-over effects.

Using mouse-over effects on wiki text can improve usability.

ExamplesEdit

Hover over me.

Syntax: <span title="Hello, how are you ?" >Hover over me.</span>


Using: Template:H:title

The default is a dotted underline

Hover here

Syntax: {{H:title|This is mouse-over text|Hover here}}

Main page (with link)

Syntax: {{H:title|link=yes|This link will take you to the Main page|Main page}}

To not have a dotted underline, add dotted=no

Hover here

Syntax: {{H:title|dotted=no|This is mouse-over text|Hover here}}

Main page (with link)

Syntax: {{H:title|link=yes|dotted=no|This link will take you to the Main page|Main page}}

Notes

Template:H:title could be further developed with a 3rd paramter to deal with the situation where one wants to create a link (page name), a link alias, and mouse-over text.

In wiki text, this can presently be done like this:

link alias (note that the link goes to Wikiversity:Sandbox)

Syntax: [[Wikiversity:Sandbox|<span title="mouse-over text">link alias</span>]] (note that the link goes to [[Wikiversity:Sandbox]])

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.