[jQuery] Re: IE Draggable Bug using Interface

2008-01-17 Thread Eric Teubert
calls in that page. > > I really wish someone has a solution to this. > > - Original Message - > From: "Eric Teubert" <[EMAIL PROTECTED]> > To: "jQuery (English)" > Sent: Wednesday, January 16, 2008 4:27 PM > Subject: [jQuery] IE Draggable B

[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 and

[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] 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.ex

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

2007-12-16 Thread Eric Teubert
Thank you for the answer, I am quite sure to know the main spot now. The eleID-Tag is affected by the following class: .window { border-collapse:collapse; position:absolute; top:-1px; left:-1px; display:none; max-width:500px; } This is bec

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

2007-12-16 Thread Eric Teubert
Hi, very good question - I didn't even think about it. What I could not believe: the box has always been up to date, in any case! With that in mind I searched for other issues and about 5 minutes later I got it: "display:none". I hide my elements until they are completely loaded and set them to "

[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 browse