I am getting the error âException Thrown and not caughtâ on IE7, code works on Firefox. Have been working on this for more than 8 hours. I need to capture the coordinates of a CFWINDOW so that if the user goes to another page on the site the window can be recreated in the same place. Just put this in any CFM file. (If anyone knows how to fix or a better way of doing it I would be very appreciative). Here is very simple code to reproduce:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> moveListener = function() { if (ColdFusion.Window != null) { var w = ColdFusion.Window.getWindowObject('testWindow'); w.on('move',setCoords,w); } } setCoords = function(ob,x,y) { alert(x); } </script> </head> <body onload="javascript:moveListener()"> <CFWINDOW closable="true" initshow="true" name="testWindow"> Test test </CFWINDOW> </body> </html> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:294802 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

