Got it... I simply used a draggable with an "onDrag" observer. Do a side by side comparison to see what I changed. You may want to try to tweak it just a bit as the image positioning gets a pixel or 2 off centered after the drag is done. You should be able to get that fixed easily just by setting the image positioning on drag end... I'll leave that part for you =).
My changed file is attached... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco M. Jaeger Sent: Monday, January 16, 2006 3:29 PM To: [email protected] Subject: Re: [Rails-spinoffs] resizable window/div - some help needed Thank you Matthias, I'll give it a try - still wondering why it's basically working in Firefox? >From: Matthias Platzer <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: Re: [Rails-spinoffs] resizable window/div - some help needed >Date: Mon, 16 Jan 2006 22:08:53 +0100 >MIME-Version: 1.0 >Received: from wrath.rubyonrails.com ([70.84.143.100]) by >bay0-mc12-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 16 >Jan 2006 13:09:29 -0800 >Received: from 109.70-84-143.reverse.theplanet.com >(localhost.rubyonrails.org [127.0.0.1])by wrath.rubyonrails.com (Postfix) >with ESMTP id 2E6183A091;Mon, 16 Jan 2006 21:08:58 +0000 (GMT) >Received: from smartmx-03.inode.at (smartmx-03.inode.at [213.229.60.35])by >wrath.rubyonrails.com (Postfix) with ESMTP id 9868839F91for ><[email protected]>;Mon, 16 Jan 2006 21:08:54 +0000 >(GMT) >Received: from [62.99.202.58] (port=34164 helo=[192.168.0.126])by >smartmx-03.inode.at with esmtpa (Exim 4.50) id 1Eybau-0003Og-Erfor >[email protected];Mon, 16 Jan 2006 22:08:52 +0100 >X-Message-Info: KtxBqYfPyq1u7TEtrhBN1+8h8qOaosDgwzanosjYVfM= >User-Agent: Thunderbird 1.5 (Windows/20051201) >References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> >X-BeenThere: [email protected] >X-Mailman-Version: 2.1.5 >Precedence: list >List-Id: rails-spinoffs.lists.rubyonrails.org >List-Unsubscribe: ><http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs>, ><mailto:[EMAIL PROTECTED] e> >List-Archive: <http://wrath.rubyonrails.org/pipermail/rails-spinoffs> >List-Post: <mailto:[email protected]> >List-Help: ><mailto:[EMAIL PROTECTED]> >List-Subscribe: ><http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs>, ><mailto:[EMAIL PROTECTED]> >Errors-To: [EMAIL PROTECTED] >Return-Path: [EMAIL PROTECTED] >X-OriginalArrivalTime: 16 Jan 2006 21:09:30.0153 (UTC) >FILETIME=[240E7990:01C61AE1] > > >Hi Marco, > >the problem is, that the image that you use as an indicator for the resize >effect starts to drag. so i found two possible solutions: > >1) stop the drag event: >line 96ff: > >if (this.options.resize) { > this.resizeHandle.onmousedown = > this.initResize.bindAsEventListener(this); > this.resizeHandle.ondragstart = function(evt) {return false;}; >} else { > Element.hide(this.resizeHandle); >} > >-> this is still not perfect, because i repeatingly see the sand-clock >icon, because ie seems to be busy with something. > >2) don't use an image as the indicator. >instead you could use a div, with a background-image. > > >btw: >very cool script! keep on reporting about your progress. > >matthias >_______________________________________________ >Rails-spinoffs mailing list >[email protected] >http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers.Title: Untitled Document
GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them.
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
