ok first i am using cfdirectory to browse for files that i am "trying" to feed back to fckeditor. a can brows the files i want..
i am not able to force the pop up that displays my directory structure to close using the window.close(); inside of cftreeitem. also the window to receive the info isn't getting it.. is this doable with in cfdir & tree? <cftreeitem value="#Global_Images.name#" display="#Global_Images.name#" parent="Global_Images" img="#request.publicurl#/EM/Global_Images/paint10.gif" href='#' onclick="window.setImage(#request.publicurl#/EM/Global_Images/#Global_Images.name#); window.close();" queryasroot="no" expand="yes"> also i am not passing that value back to the window i need to.. ------------------- from there docs If you want to implement your custom browser pay attention to these instructions: After the user selected the file, write in the browser something like this: <SCRIPT language=javascript> window.setImage('" + sFileURL + "') ; window.close() ; </SCRIPT> This will set the new image in the image dialog box and close your custom page. thanks.. -paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4