Forum:Display infobox or table upon mouse-over

Hi guys. I know how hover text works but I've been wondering if we can further format the hover text so that when we hover the mouse over a link (or if we click the link), an infobox or a table appear? A similar thing can be done using this domtooltip but with CSS and javascript. Is there anyway to make this work with wikia?  |Arcius| 17:31, June 22, 2011 (UTC)


 * Well I know there is some code you can type, but I cannot find it. You can use the code from this template, or even copy the template to the wiki.  DaRanger ( Chat With Me ) 17:59, June 22, 2011 (UTC)


 * Yeah, I know how this works. What I'm trying to do is turning this simple tooltip into an infobox or a table.  |Arcius| 18:03, June 22, 2011 (UTC)
 * Okay, Found It! Use this:

">

 DaRanger ( Chat With Me ) 18:07, June 22, 2011 (UTC)


 * You can put CSS and JS on Wikia with MediaWiki:Common.js and MediaWiki:Wikia.css.

Thank you for your help, I didn't know I can implement JS on wikia till now. Back to the problem, I recently found this thread where this Pjc guy explain how to make this tooltip, which is exactly what I need. I followed his instruction but I couldn't make it works and I've not been able to contact him yet. I wonder if you might know about this? So far what I've done are:  |Arcius| 05:15, June 23, 2011 (UTC)
 * Copied his JS code into our MediaWiki:Common.js
 * Copied his CSS code into our MediaWiki:Wikia.css
 * Tested it on this page like this Gallian-1
 * And wrapped the infobox that I want to display in the tooltip with  ( edit Gallian-1 to see)


 * Pcj has left Wikia when wowwiki forked. His tooltips need to be modified to work in the new Wikia skin. See this diff to see what to change to make it work. — Sovq 08:40, June 23, 2011 (UTC)


 * Thanks a lot Sovq! It works! ^^  |Arcius| - Check out Valkyria Wiki:Projects to see what you can do to help! 14:49, June 23, 2011 (UTC)