javascript - Zurb foundation equalizer resize after ajax -


i ran problem foundation equalizer, trying dynamically readjust div heights equalizer after change content ajax. searched foundation documentation, stack overflow found no answer problem.

i noticed readjusts when resize browser, possible, want find out how trigger it. (i don't want tell visitors resize browser every time click link)

edit: seems work, best solution?

$("#media").click(function(){         $.ajax({         url: "mediaproduction.html"         })         .done(function( html ) {             $( "#main-content" ).html( html );              $(document).foundation();         });     }); 

this use on our site talking about:

$(document).foundation('equalizer','reflow'); 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -