I cannot get my rollovers to work when the javascript is inside the <cfoutput> tags....However, my javascript window.open works fine....and when i comment out the <cfoutput> tags, the rollover works fine....
FYI: I need the cfoutputs because this a a table returning a search query...
Please help!
Here's the code for the rollover:
<cfoutput>
<a href="##" onmouseover="preview.src='../Images/preview_over.gif'" onmouseout="preview.src='../Images/preview.gif'" onclick="window.open('print.cfm?recordid=#id#&cfid=#cfid#&cftoken=#cftoken#','help','width=636,height=580,scrollbars=yes,resizable=yes,menubar=yes');preview.src='..Images/preview_check.gif'" title="View Printable Record"><img src="../Images/preview.gif" border="0" name="preview"></a>
</cfoutput>
FYI: I need the cfoutputs because this a a table returning a search query...
Please help!
Here's the code for the rollover:
<cfoutput>
<a href="##" onmouseover="preview.src='../Images/preview_over.gif'" onmouseout="preview.src='../Images/preview.gif'" onclick="window.open('print.cfm?recordid=#id#&cfid=#cfid#&cftoken=#cftoken#','help','width=636,height=580,scrollbars=yes,resizable=yes,menubar=yes');preview.src='..Images/preview_check.gif'" title="View Printable Record"><img src="../Images/preview.gif" border="0" name="preview"></a>
</cfoutput>