[jQuery] Re: Adding CSS-property & therefore traveling the DOM - Problem.

2008-01-23 Thread Jayzon
Hi! Thanks for your help! The code besh posted works great, I use it with addClass because that's the easiest way to handle it (since the behaviour is already set for the image-link & I only had to add the .hovered-class). To Charles: Thanks for your effort. But there is the class "email" in the

[jQuery] Re: Adding CSS-property & therefore traveling the DOM - Problem.

2008-01-23 Thread besh
Hi again, in the previous post I put "img" to the children() method. Of course it should be "a"... -- Bohdan Ganicky On Jan 22, 11:55 pm, Jayzon <[EMAIL PROTECTED]> wrote: > Hi! > > To get this right, I'll post the html-part first: > > > > >

[jQuery] Re: Adding CSS-property & therefore traveling the DOM - Problem.

2008-01-23 Thread besh
Hi Jayzon, $(document).ready(function(){ $("a.email").hover( function () { $ (this).parent().siblings("div.memberpic").children("img").css({"margin- left":"-210px"}); }, function () { $

[jQuery] Re: Adding CSS-property & therefore traveling the DOM - Problem.

2008-01-23 Thread Charles K. Clarkson
Jayzon wrote: : : : : : : : : Mister X : Info 1 : Info 2 : Info 3 : [EMAIL PROTECTED] : : [snip] : I tried to do this with the following code: : : $(document).ready(function(){ : $("a.email")