[jQuery] Re: Scale effect and hover

2009-01-24 Thread jay
One way would be to create a boolean property on the rollover object, which starts as true, and if this value is true, execute your function and then set the property to false within the function. On Jan 24, 9:12 am, "-=AmBaRaDaN=-" wrote: > Wonderful Mike, that's what i was looking for! > Thank

[jQuery] Re: Scale effect and hover

2009-01-24 Thread -=AmBaRaDaN=-
Wonderful Mike, that's what i was looking for! Thanks too Jay and Mauricio, but i was looking for something more scalable, for tons of thumbnails, with centered position scale! Anyway, is there a way to execute just one time a function within the hover event? (and no repeated multiple times during

[jQuery] Re: Scale effect and hover

2009-01-23 Thread Mike Alsup
> Hi guys! I'm looking for a simple image hover effect, but with the > scale effect... > I just want make an image bigger on mouse over. This might help: http://www.malsup.com/jquery/hoverpulse/

[jQuery] Re: Scale effect and hover

2009-01-23 Thread Mauricio (Maujor) Samy Silva
h: imgWidth, height: imgHeight}) }) Maurício -Mensagem Original- De: "jay" Para: "jQuery (English)" Enviada em: sexta-feira, 23 de janeiro de 2009 20:40 Assunto: [jQuery] Re: Scale effect and hover this works for me.. style is bad though sorry had to

[jQuery] Re: Scale effect and hover

2009-01-23 Thread jay
this works for me.. style is bad though sorry had to do it quick: something $(function(){ scaleImg = $("#scale_img"); scaleImg.w = scaleImg.width(); scaleImg.hover(function(){ scaleImg.width(scaleImg.w*2); }, function(){ scaleImg.width(scaleImg.w); }); }); On Jan 23, 4:44 pm, "-=A