Search Results

Search found 1 results on 1 pages for 'jamesops'.

Page 1/1 | 1 

  • Animate Jquery addClass on hover

    - by JamesOps
    I'm new to Jquery so unsure how i would go about editing the code below to create a fade in when the class element is hovered over. <script type="text/javascript"> <!--//--><![CDATA[//><!-- $(function() { $('div.work-item').hover(function() { }).hover(function() { $(this).addClass("hover"); }, function(){ $(this).removeClass("hover"); }); }); //--><!]]> Any pointers would be greatly appreciated. Thanks!

    Read the article

1