Difference between revisions of "Demo why"

Line 22: Line 22:
  
  
<div class="pop_why" data-poptitle="Pop/Instructors">Why</div>
+
<div class="pop_why" data-poptitle="/Pop/Instructors">Why</div>
 
<br>
 
<br>
  
Line 35: Line 35:
 
                 // 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' style='display:block';></div>");
+
                         $(this).append("<DIV class='pop_why_div' style='display:block'>Loading...</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');
 
                 }
 
                 }

Revision as of 18:52, 5 February 2015

Why