[jQuery] Image preload - stack everflow in IE

2007-08-20 Thread JDStar
I need preload images to memory like this: $(window).bind('load', function(){ var preload = [ 'image/b01_click.gif','image/b01_over.gif', 'image/b02_click.gif','image/b02_over.gif' ]; $(document.createElement('img')).bind('load', function(){ if(preload[0]) this.src = preload.shif

[jQuery] Re: A Simple Question ! (mouseover)

2007-08-19 Thread JDStar
On Aug 19, 11:33 am, Kixe <[EMAIL PROTECTED]> wrote: > > > $("span").html(""); > Mouse point to IMG1, all of it hover, > How can I piont to IMG1, IMG1 hover, and IMG2 , IMG2 hover only . Try like this: $(this).prev("span").html(""); -- JDStar http://www.jdstar.pl

[jQuery] Re: A Simple Question ! (mouseover)

2007-08-19 Thread JDStar
On Aug 19, 11:33 am, Kixe <[EMAIL PROTECTED]> wrote: > > > > > > > > $(document).ready(function() { > >$("img").mouseover(function(){ > $("span").html(""); > > }); > > $("span").mouseout(function(){ >$(this).html(""); > > }); > }); > > Mouse point to IMG