Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function() {
- // hides the slickbox as soon as the DOM is ready
- jQuery('#calloutpop').hide();
- });
- jQuery('#callout').hover(function() {
- jQuery('#calloutpop').fadeIn(500);
- },function(event) {
- if (!$(event.relatedTarget).is('#calloutpop')) {
- jQuery('#calloutpop').fadeOut(500);
- }
- });
- jQuery('#calloutpop').mouseout(function(event) {
- if (!$(event.relatedTarget).is('#callout')) {
- jQuery('#calloutpop').fadeOut(500);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement