Advertisement
Guest User

Untitled

a guest
Mar 24th, 2011
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. jQuery(document).ready(function() {
  2. // hides the slickbox as soon as the DOM is ready
  3. jQuery('#calloutpop').hide();
  4. });
  5. jQuery('#callout').hover(function() {
  6. jQuery('#calloutpop').fadeIn(500);
  7. },function(event) {
  8. if (!$(event.relatedTarget).is('#calloutpop')) {
  9. jQuery('#calloutpop').fadeOut(500);
  10. }
  11. });
  12. jQuery('#calloutpop').mouseout(function(event) {
  13. if (!$(event.relatedTarget).is('#callout')) {
  14. jQuery('#calloutpop').fadeOut(500);
  15. }
  16. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement