Hello All,
I have been trying to find out a way to do the following:
a) First I am getting a list of values from a database,
looping over the query and displaying them, as below:
<cfquery datasource="ows" name="getFilms">
SELECT MOVIETITLE, PITCHTEXT, SUMMARY FROM FILMS
</cfquery>
<cfoutput>
<cfloop query="getFilms">
<table>
<tr>
<td
title="<cfoutput>#PITCHTEXT#</cfoutput>">#MOVIETITLE#</td>
</tr>
</table>
</cfloop>
</cfoutput>
b) Second I was trying to show up a small box on moving the
mouse over the movie title. The small box should display the value
of PITCHTEXT related to that movie. I could do that with simple
alert or with the title attribute. How can this be done by opening
a small pop up box? Can this be done just with JavaScript or should
I be using something else like AJAX?
It would be great if somebody can provide any hints on this.
Thanks.