Hi, Diego... and thanks for the reply.

I know that I can use the Dimensions plug-in to get
exactly the data that I need, I'm just not sure how to
get it back to the server.

Ajax?  Or I guess I could set a cookie and ColdFusion read it.
An ajax method might seem to be more practical.

Thoughts?

Rick

> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Diego 
> A.
> Sent: Monday, January 14, 2008 4:44 PM
> To: jQuery (English)
> Subject: [jQuery] Re: Method to convert dimenions value to ColdFusion 
> variable?
> 
> 
> There are components you can use, but usually, the only way is to use
> javascript on the client to calculate the dimensions and then
> 1. post it back to the server
> OR
> 2. set a cookie that can be read by the server-side script
> 
> On Jan 14, 7:34 pm, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> > Hi, all.
> >
> > I guess this would be aimed at those of us who use
> > jQuery and ColdFusion, but.
> >
> > Is there a way to convert the dimensions of the browser window
> > to a variables that ColdFusion can use?
> >
> > I'd like to try to get the browser window size of a user,
> > and create an image on-the-fly using the new image handling tags
> > in CF8 that would create the largest image possible for the browser
> > window.
> >
> > To prevent the images based on browser window size from taking too
> > long to display, I may create a variety of image sizes when the image
> > is first uploaded and then just call the most appropriate image size
> > for the browser window.  (That would, however, take up a *lot* of
> > disk space)
> >
> > Anyone know if this possible or has anyone done it?
> >
> > Thanks,
> >
> > Rick


Reply via email to