Difference between revisions of "Demo why"
Line 33: | Line 33: | ||
$('.pop_why').hover( | $('.pop_why').hover( | ||
function() { | function() { | ||
− | |||
// Does the pop_why need to be installed? | // Does the pop_why need to be installed? | ||
if ( ! $(this).children('.pop_why_div').length ) { | if ( ! $(this).children('.pop_why_div').length ) { | ||
− | |||
$(this).append("<DIV class='pop_why_div'></div>"); | $(this).append("<DIV class='pop_why_div'></div>"); | ||
$(this).find('.pop_why_div').load( this.data('data-poptitle') + '?action=raw'); | $(this).find('.pop_why_div').load( this.data('data-poptitle') + '?action=raw'); | ||
} | } | ||
$(this).find('.pop_why_div').show(); | $(this).find('.pop_why_div').show(); | ||
+ | alert('After'); | ||
} , | } , | ||
Revision as of 17:05, 5 February 2015
Why