On Thu, Nov 02, 2006 at 09:14:13PM +0000, Giuliano Marcangelo wrote:
> Bradford,
> 
> not 100% sure if this will do the trick.........maybe one of the experts could
> verify
> 
> <script type="text/javascript">
>               $(document).ready(function() {
>                       $(".item1").hover(function() {
>                           $(this).next().addClass("shift");
>                       }, function() {
>                           $(this).next().removeClass("shift");
>                       });
> 
>               });
>           </script>
> 


I tried a few things along these lines.  next() operates on the item1
div, rather than the nested item2 div inside. I was hoping there was
some way to chain something onto $(this) that would attach the
addClass and removeClass to an element inside .item1

-- 
Bradford R. Bowman <[EMAIL PROTECTED]>
GnuPG public key [0x3EE183C6] 
Available at http://pgp.mit.edu

Attachment: signature.asc
Description: Digital signature

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to