$(document).ready(function() {
     $('li.a').hover(
          function() { $(this).addClass('move'); },
          function() { $(this).removeClass('move'); }
     )};
)};

On May 14, 3:35 pm, Calvin <cstephe...@gmail.com> wrote:
>   Hi,
>
>   I was able to get this script to work and was wondering if there was
> a better/proper/more efficient way of writing it. Here is the script:
>
>   $(document).ready(function() {
>       $('li.a').hover(function() {
>          $(this).addClass('move');
>   });
>     $('li.a').mouseLeave(function() {
>        $(this).removeClass('move');
>
>   )};
> )};
>
>   Thanks for your time,
>
>   Calvin Stephens

Reply via email to