jQuery for Sam Paro


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  2. <script type="text/javascript">
  3. $(document).ready(function(){
  4. $("#yourlinkid").mouseenter(function(){
  5. $("#divyouwanttoshow").fadeIn(300);
  6. }).mouseleave(function(){
  7. $("#divyouwanttoshow").fadeOut(200);
  8. });
  9. });
  10. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.