Ohhhhh, finally it works :) thanks a lot man, really thanks a lot cause I spent a lot of time on it and couldn't fix it :)
Mahmoud On Sep 1, 4:56 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > You're comparing two jQuery objects which are not equal, even if they > contain the same DOM Element. To do the comparison, access the first (and > presumably only) DOM Element in each one by using .get(0) or [0], then > compare the actual DOM Elements. > > - Richard > > On Sun, Aug 31, 2008 at 7:14 PM, Mahmoud M. Abdel-Fattah > <[EMAIL PROTECTED]>wrote: > > > > > I'm trying to select an image with two ways, here's a demo : > >http://www.duettographics.com/index.php > > > when I apply the img.hover, I made an if statement to check if this > > image is current selected one, if so, it should doesn't apply the fade > > effect, but it does !! > > > What's problem with this !!