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
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
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
3 matches
Mail list logo