[jQuery] Re: FF3 really slow on a mousemove with lots of divs (more then 5000)

2009-05-23 Thread alexander farkas
Hello, instead of: $(".town").live("mousemove",function(ev){ clearTimeout($timeout); $target = ev.target; $timeout = setTimeout("showstuff()", 100);}); try something like this: $('#zoom').bind('mouseover', function(e){ if(e.target.className.indexOf('town') != -1){ $target

[jQuery] Re: 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-23 Thread alexander farkas
Hello, i forgot to return the jQuery-object in my live-/die- replacement. So please add ' return this; ' to the last line of each-methods. regards alex

[jQuery] Re: 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-23 Thread alexander farkas
@Gordon mouseover and mouseenter is not the same. mouseover bubbles mouseenter not. This means with mouseover/mouseout your handler will be called everytime you mouseover/mouseout a descendant element. With mouseenter your eventhandler is pnly called, if the mouse enters your element. This is the

[jQuery] Re: 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-23 Thread alexander farkas
.live('mouseenter', add, true) .live('mouseleave', remove, true); }); regards alex On 20 Apr., 16:23, Walther wrote: > Thank you! > > I'll have a go when I get home later today and let you know how it > works out. At the very least you've

[jQuery] Re: 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-17 Thread alexander farkas
You can try the following code for this (only testet with firefox). (function($){ var contains = document.compareDocumentPosition ? function(a, b){ return a.compareDocumentPosition(b) & 16; } : function(a, b){ return a !== b && (a.contains ? a.cont

[jQuery] Text Replacement with Luteman´s Flash Plugin [Character-Problem]

2007-05-16 Thread Alexander Farkas
Hi, I use Luteman´s Flash Plugin for Text Replacement. But the script has some problems with several special characters, especally with (german) vowel mutations (ä,ö,ß etc.), even if i embed more charcters to the flash-file, it does not work. The character encoding of my website is ISO-8859-