Skip to main content
Known Participant
November 30, 2012
質問

CFTOOLTIP problem

  • November 30, 2012
  • 返信数 2.
  • 864 ビュー

I am trying to use a CFTOOLTIP and what comes up in the tooltip is not the info that I am rolling over. The tooltip displays info just not the right info.  Does anyone see anything wrong with this code?

CODE:

<CFSET endcalendar = DateAdd("d", 30, Now())>

                  <CFOUTPUT query="getcalendar" >

                  <CFIF #event_date#  IS NOT "">

            <cfif DateCompare(#event_date#, Now()) IS +1 AND DateCompare(#event_date#, #endcalendar# ) is -1>

            <cftooltip autoDismissDelay="10000" hideDelay="250" preventOverlap="true" sourceForTooltip="tooltipcontent.cfm?proj_key=#getcalendar.proj_key#&ID=#getcalendar.ID#">

            <li><a href="calendar/">#getcalendar.title#</a></li></cftooltip>

                    </CFIF>

          </cfif>

  </CFOUTPUT>

このトピックへの返信は締め切られました。

返信数 2

TheScarecrow作成者
Known Participant
November 30, 2012

Thank you.  I got it figured out.  For some odd reason the server was not updating my file correctly.  Your process helped me figure it out.

Inspiring
November 30, 2012

Step 1 - look at getcalendar and make sure it is producing the expected results.

Step 2- Run tooltipcontent.cfm independently with a variety of url variables to make sure it is working properly.  Run it with variables produce by get calendar to see what the expected result is.

Step 3 - compare the tootip output to the expected output.