View Full Version : On Mouseover help message appears
Mozie
04-13-2007, 12:42 PM
I need to add a help message to a section on a form. It will be a small graphic with a '?' on it that they mouseover and a popup appears with instruction/help message. But the '?' graphic is not a link. Possible?
NXArmada
04-13-2007, 12:49 PM
check out qTip (http://solardreamstudios.com/learn/css/qtip/)
mburt
04-13-2007, 01:12 PM
For the button:
<img src="path/to/theimage.png" onclick='showHelp(0);">
And the showHelp(); function:
<script type="text/javascript">
var help = [];
help[0] = "This is my first help tooltip.";
function showHelp(index) {
var hwnd = window.open(); //apply your window attrbutes
hwnd.document.write(help[index]);
}
</script>
This is a simplified version of the window.open() method.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.