Hi all, CF server 6.1... I've got a screen where I view property details. Attached to the property details are a number of images - of varying sizes... I currently do this: <cfif trim(products.Picture) NEQ ""> <a href="javascript:PopupWindow('ViewProductImage.cfm?name=#URLEncodedFormat(replace(products.Picture,"\","/"))#',900,1000);"><img src="images/camera.gif" border="0" width="16" height="16" alt="Click to view product image"></a>
This has a number of problems: * it doesn't force fit the image * I can only view one image at the time * If I return to the calling screen without closing - when I want to view the next image the PopUpWindow doesn't automatically get focus (although the image is updated). 1) What would be the best method to open another window where the various images can be displayed - but forced to fit the size of the newly opened window? 2) Do I pass in to the new window a list of images to be displayed (as image names) and then go and get the images when the user go next / prev? 3) How do I force the PopUp to be brought to the front (again)? Any help (especially if a snippet of code is included) would be greatly appreciated. Kind regards, Knut --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277212 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4