Advanced Search

Results 1 to 3 of 3

Thread: On Mouseover help message appears

  1. #1
    Join Date
    Aug 2005
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default On Mouseover help message appears

    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?

  2. #2
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    check out qTip
    Ryan
    Sevierville, TN

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    For the button:
    Code:
    <img src="path/to/theimage.png" onclick='showHelp(0);">
    And the showHelp(); function:
    Code:
    <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.
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •