[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
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);

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
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

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
-- 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

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
! 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

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
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

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
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