This Forum has been archived

Visit the new Forums
Forums: Index Community Central Forum Create a pop up?
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3511 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Is there any way to create a small pop up window with no heading or anything complicated, just a bit of text?

For instance,

Quest to complete Description of quest Hint
Visit X You must beat Y to meet X Hint

Where clicking the hint will open a small window giving you a tip on how to do it.

Ideally, it would be great if you simply had to hover over the 'Hint' button and a small description window will appear so if anyone can tell me how to do that it would be great. The other way to do this would be to have a collapsible table, but it's not practical for what I need it for. Any help? Thanks. Phalanxii 02:29, November 20, 2010 (UTC)

Tooltips might do the trick for you. If you're searching for a simple solution, css only tooltips are easy to implement, more advanced tooltips need both css and js. Have a look at [1], hover over any of the Portal Types and see if that's what you have in mind. I can help you with making such tooltips on your wiki if you're unable to copy the method yourself. Cheers! Sovq 13:49, November 20, 2010 (UTC)
Yes! That's perfect! I was going to say I'll just copy the html coding across, but it's a .css thing so I might need your help... I tried copying the html but it doesn't work. I notice this is used on pictures... can I use this hover technique on a word without doing the word as a picture? Phalanxii 15:14, November 20, 2010 (UTC)
Thank you Sovq very very much! This can be closed/deleted or whatever now Phalanxii 15:39, November 20, 2010 (UTC)
I'm glad you didn't mean a real pop up box. Those would be annoying as hell.
 Nidek   (Talk)  309 edits made  16:18, November 20, 2010 (UTC)
My tooltips stopped working??
I uploaded 1 a while ago, and that was working. Then I uploaded a load and that was working too. The next day, they stopped working... I don't understand: (scroll down to the bottom)... oops forgot to sign Phalanxii 20:01, December 2, 2010 (UTC)
I fixed that for you, for the tooltips to work you need to maintain a proper syntax, like the one in My Sandbox, otherwise you can easily break them. There were too many additional and unclosed <span> and <p> tags - I removed them, should work fine now. Sovq 21:21, December 2, 2010 (UTC)
Thanks a lot (again)! Phalanxii 21:33, December 2, 2010 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.