Hi Mark,
Thank you very much - it did the trick....
Also - found this tool very useful - it resizes an image (or a selection of
images) - thus
I always know the size of my images!
Image Resizer.exe :
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
Kind regards,
Knut
Mark Flewellen <[EMAIL PROTECTED]> wrote:
This is the script I use to open a pop up window, this will also refocus the
window if you click on a new image. As well as this if javascript is disbaled
it will just open in a new window. Normally I record the sizes of the images in
the database so when I load a thumbnail it already knows the size of the image.
var newWin = null;
function popUp(strURL, strType, strHeight, strWidth) {
if (newWin != null && !newWin.closed)
newWin.close();
var strOptions="";
if (strType=="console")
strOptions="resizable,height="+
strHeight+",width="+strWidth;
if (strType=="fixed")
strOptions="status,height="+
strHeight+",width="+strWidth;
if (strType=="elastic")
strOptions="toolbar,menubar,scrollbars,"+
"resizable,location,height="+
strHeight+",width="+strWidth;
newWin = window.open(strURL, 'newWin', strOptions);
newWin.focus();
}
to then open the image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2
Build sales & marketing dashboard RIAâs for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4