Hover Effect,Jquery,what is the error in this jquery?
<p>Hi Friends
i was using the following jquery,but it is not gaving an output what is the error in the code?</p>

<pre><code>$('.event').hover(function() {
  $('.popupbox1').show();
  $('.popupbox1').css({position:'absolute',top: $(this).offset().top - 15 +'px',left: $(this).offset().left + $(this).width() +25 +'px',zIndex:1000});
,function() {
  $('.popupbox1').hide();
});
</code></pre>
