Skip to content
Franco Mussopower pages
Code snippet

jQuery to resize Canvas App iframe to full screen

Copy it with the button on the code. For the why and the walkthrough, see “Embed a Canvas App in full screen mode, in Power Pages”.

jQuery to resize Canvas App iframe to full screenJavaScript
  $( document ).ready(function() {
    var windowHeight = $(window).height();
    $('.canvas-app-embed').attr('height',windowHeight + 'px');
  });

Search

Book a discovery call

30 minutes. Bring your trickiest Power Pages problem — I’ll tell you honestly whether I’m the right fit.