How to add ext:qtip to image?

  1. #1

    How to add ext:qtip to image?

    The following isn't working for me. What am I doing wrong?

    <img alt="" src="images/add.png" style="position: absolute; left: 80px; top: 4px; cursor: pointer; ext:qtip="Click to view/edit agency data" />
  2. #2

    RE: How to add ext:qtip to image?

    Your html is not well formed. You're missing the closing double-quote (") after your style attribute.*

    Example


    cursor: pointer;" <-- missing the closing double-quote

    Geoffrey McGill
    Founder
  3. #3

    RE: How to add ext:qtip to image?

    Woops, but still doesn't work:

    <img id="imgAddNotification" runat="server" alt="" src="images/add.png" style="position: absolute; left: 80px; top: 3px; cursor: pointer;" ext:qtip="Click to add notification" />
    I have this directly in markup, not calling JavaScript to add it. Can it not be added this way? I have seen another example where you must call some JavaScript render function, but I find it much cleaner to have it inline if possible.
  4. #4

    RE: How to add ext:qtip to image?

    It appears the .NET runtime is stripping the ext:qtip parameter when you set the runat="server" attribute. I'm not sure why, but it does. This is not related to anything with the coolite toolkit and appears to be the default functionality of the .NET runtime.*

    The attribute needs to present in the html source for the qtip to be rendered.*


    If you remove the runat="server" attribute from the <img> tag, then everything works as expected.*



    Geoffrey McGill
    Founder
  5. #5

    RE: How to add ext:qtip to image?

    Perfect! In this case, I don't need runat so it works fine. Thanks.

Similar Threads

  1. ext:qtip and delay before disappearing
    By Rod in forum 1.x Help
    Replies: 8
    Last Post: Nov 13, 2013, 4:23 AM
  2. [CLOSED] '<' and '>' not showing properly in qtip
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 22, 2011, 6:05 AM
  3. [CLOSED] qtip leaks out
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 14, 2011, 2:46 PM
  4. QTip on cell not having any content
    By mansi752 in forum 1.x Help
    Replies: 5
    Last Post: Dec 21, 2010, 9:40 AM
  5. [CLOSED] Bug in ext:qtip in asp image button
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 20, 2009, 2:54 AM

Posting Permissions