Ok, my attempt of wrestling with dynamically setting iframe attributes inside a
CFWINDOW has been in vain, some of you may have a solution, Andrew Scott? Terry
Schmitt? and more...
a CFWINDOW-launched template looks like this:
(Please note the template would run just fine if not launched via the CFWINDOW
tag, but that's not a choice at this point)
-- run a query named "myData" here
<html>
<head>
<title>Couldn't you be cooperative?</title>
</head>
<body>
<script type="text/javascript">
function init() {
<cfoutput query="myData">
frames.dataRow#currentrow#.document.designMode = "On";
...
</cfoutput>
</script>
<body onload="init()">
....
<cfoutput query="myData">
<iframe id=="dataRow#currentrow#" name="dataRow#currentrow#"></iframe>
</cfoutput>
....
</body>
</html>
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301821
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4