Forum:How do you make a hover-over text box?

Basically, you hover over a specific text or picture text to get a box to appear. So far I can only do this:

Hover over this!

I've seen more advance scenarios used in signatures like this and this. I've tried copying and replicating the codes used in signatures like those to see how it works, but the hover boxes just won't appear on my wiki. No templates are used on some of these codes too! What am I doing wrong? Is there a hidden button I have to enable on my wiki? :( 02:31, September 14, 2012 (UTC)


 * The only way to enable a hovering feature like that is going to be through CSS over JavaScript in your wiki's site-wide CSS or JavaScript files, so you'd have to be an admin on the wiki in question in order to set up something like this.


 * There's actually some very notable differences between your first and second links. In the first case, you're looking at more of a "basic" hover feature on the Runescape wiki which is powered by CSS. The CSS that makes it work is found at w:c:runescape:MediaWiki:Common.css/nonjstabberdropdown. The second example is a very advanced and complicated JavaScript-powered hover feature, I highly recommend avoiding it unless you have significant coding experience in JavaScript.


 * I set up a very basic CSS hover example for you over on my test wiki, it uses the same kind code that Runescape wiki does like in your first link, although I've simplified the code to make it easier to understand: http://mathmagician.wikia.com/wiki/CSS_hover_example?oldid=5619


 * Done! I've placed the CSS code in my mediawiki:common.css thing. Now the example wikitext you gave me worked!  03:57, September 14, 2012 (UTC)