If you havent figured out how to do it yet, send me an email and i'll send
you some code.

Emmet McGovern
sytems blah bla..senio...blah
Bytesize Inc.

-----Original Message-----
From: Dick Applebaum [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 10:10 PM
To: CF-Talk
Subject: Re: OT: dynamically resizing the browser window


not sure exactly what you want, but...

   If you serve a page full of thumbnails/links

   if you know the size of the blowups when you serve the page (create the
   thumbnails/links}

   yoy can serve thumbnail/links that pass the sixe required for the blowup

it is a simple matter to create a client-side JavaScript routine that 
creates a popup window of the correct size to contain the blowup

   Each thumbnail/link passes the required size of its blowup to the popup
   routine

   the popop routine opens the appropriate size window and retrieves the
blowup
   image.

HTH

Dick



At 11:16 PM +0000 2/5/01, Tristram Charnley wrote:
>I'm sure I've seen a way in Javascript to open an image
>in a browser window that sizes dynamically
>to the resolution of that image. I've got lots
>of thumbnails and I don't want to have to hard code
>the image size of the target file in a separate <a href> each
>time.
>
>A JS solution would be preferable to CF in this case
>for portability. Can anyone help?
>
>Tristram Charnley
>-----------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to