ok i kind of managed, if anyone interested, i did it like this:
$('a.jqmodal').bind('click',function(){
imgPreloader = new Image();
//var mOffset = $('#modalWindow').show().offset();
//$.log(mWidth = + mWidth);
//$.log(mHeight = + mHeight);
10:40 AM
To: jQuery (English)
Subject: [jQuery] Re: jqmodal autosize to fit contained image in window
ok i kind of managed, if anyone interested, i did it like this:
$('a.jqmodal').bind('click',function(){
imgPreloader = new Image();
//var mOffset = $('#modalWindow').show
-- Original Message --
To: Jquery-en (jquery-en@googlegroups.com)
From: Rick Faircloth ([EMAIL PROTECTED])
Subject: [jQuery] Re: jqmodal autosize to fit contained image in window
Date: 15/1/2008 16:51:16
Hi, Alexandre...
I'm going to be working with having images sized
!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Alexandre
Plennevaux
Sent: Tuesday, January 15, 2008 11:02 AM
To: Jquery-en
Subject: [jQuery] Re: jqmodal autosize to fit contained image in window
-- Original Message
Are you returning a the imgPreloader variable back to the server to process
your image
server-side, or is everything being done on the fly client-side?
nope, all done on the client side
Well, after looking more closely at your code, I can see you're setting the img
attributes
based on the
Sounds good... good luck to you, too!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Alexandre
Plennevaux
Sent: Tuesday, January 15, 2008 11:41 AM
To: Jquery-en
Subject: [jQuery] Re: jqmodal autosize to fit contained image
6 matches
Mail list logo