[jQuery] Re: IE Draggable Bug using Interface

2008-01-17 Thread Eric Teubert
someone has a solution to this. - Original Message - From: Eric Teubert [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, January 16, 2008 4:27 PM Subject: [jQuery] IE Draggable Bug using Interface Hi there, I work on a very strange bug at the moment

[jQuery] IE Draggable Bug using Interface

2008-01-16 Thread Eric Teubert
Hi there, I work on a very strange bug at the moment .. it occurs in IE6/7 but not in Firefox. I use jQuery and the draggable-Plugin from http://interface.eyecon.ro/. Using the demo, all works fine - but testing it on another platform always causes the same bug: the object can be dragged once

[jQuery] creating own callback

2007-12-21 Thread Eric Teubert
Hi, I spend some time in browsing through the documentation but I didn't find anything about creating own functions with callback- functionality. How do I do this? What I want to do: Write a function that preloads an image and returns a callback when the image is loaded. It looks like

[jQuery] Re: creating own callback

2007-12-21 Thread Eric Teubert
jQuery.extend({ preloadImage: function(imagePath,callback) { var image = new Image(); if(jQuery.isFunction(callback)) image.onload = callback; image.src = gfx/+imagePath; } }); Looks good, I'll give it a try. Thanks a lot! Eric

[jQuery] $.append(html, callback); ?

2007-12-14 Thread Eric Teubert
Hi there, I struggle with execution time of JS. As any line after some other does not wait for the line before to be executed, my script works sometimes ... and sometimes not. It looks like that: $.ajax({ ... success: function(msg){

[jQuery] Re: AJAX memory leak

2007-11-25 Thread Eric Teubert
Well .. I found out this happens even without jQuery, one _has to_ refresh the website to clear the RAM. Eric

[jQuery] AJAX memory leak

2007-11-23 Thread Eric Teubert
Hi, Had some trouble with leaking memory and finally found out that it is not my fault but jQuerie's. The testscript is quite simple: for (var i=1; i=100; i++) $(#testarea).load(testload.php); The memory grows about 6MB everytime I press F5. I only get the memory back by closing the browser.