Results 1 to 2 of 2

Thread: Cool DHTML tooltip - image in text

  1. #1
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Cool DHTML tooltip - image in text

    1) Script Title: Cool DHTML tooltip

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tmltooltip.htm

    3) Describe problem: I am using this script to add glossary words to some online training. The glossary terms are medical and therefore sometimes it's useful to have a picture in the description. I would like to add an image in there but do to all the " and ' usage in the code I can't get the image tag to recognize the src location.

    So here is the code I have at the moment for one word.

    Code:
    <a onmouseout="hideddrivetip()" onmouseover="ddrivetip('<strong>Bar coding system:</strong> A system that scans bar codes on patient wristbands as well as on their medications and incorporates the information into an EHR while electronically checking against the Five Rights of Medication Administration.<br /><img src=\'barcode_system.jpg\'')"><font color="#aca242"><strong>bar coding system</strong></font></a>
    So far I can't get it to recognize the image. Any ideas?

  2. #2
    Join Date
    Jun 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    It is working as it should now.

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
  •