house9/jquery-iframe-auto-height

'windowResizeFunction' not working on my project

Closed this issue · 2 comments

Hi,
I have implemented the code but don't manage to make the "windowResizeFunction" work :

var windowResizeFunction = function (resizeFunction, iframe) {
  $(window).resize(function () { resizeFunction(iframe); }); 
};
$('iframe').iframeAutoHeight({triggerFunctions:[windowResizeFunction]}); 

Inclusion:
jquery.browser.js
jquery.iframe-auto-height.plugin.1.9.5.min.js

Am I missing something ?

Kind regards,

Jochuaf

looks correct to me?

try setting diagnostics: true and debug: true and adding console logging inside the resize

probably a problem from my side. I'll try to look further...
Thanks for the reply.
Great tool!