Difference between revisions of "Demo why"
Line 22: | Line 22: | ||
− | <div class="pop_why" data-poptitle=" | + | <div class="pop_why" data-poptitle="Pop/Instructors">Why</div> |
<br> | <br> | ||
Line 36: | Line 36: | ||
if ( ! $(this).children('.pop_why_div').length ) { | if ( ! $(this).children('.pop_why_div').length ) { | ||
$(this).append("<DIV class='pop_why_div' style='display:block';></div>"); | $(this).append("<DIV class='pop_why_div' style='display:block';></div>"); | ||
− | + | $(this).find('.pop_why_div').load( this.data('data-poptitle') + '?action=raw'); | |
} | } | ||
Revision as of 18:49, 5 February 2015
Why