
To test your installation, type the URL of the page with the iframe tag into your browser. Upload the page with the iframe tag to your server and make a note of its URL. The function AdjustIframeHeight() adjusts the iframe height when called from the JavaScript in the thank-you page. The function AdjustIframeHeightOnLoad() adjusts the iframe height when the iframe is first loaded. If the id value "form-iframe" of the iframe is changed, all three places in the JavaScript must be changed accordingly. The id value of the iframe tag in the previous list item is specified in the JavaScript in three places. There are 3 files.įile 1: The web page containing the iframe tag needs to contain this code:įunction AdjustIframeHeightOnLoad()
#Scriptcase iframe grows how to
Here's an example iframe that resizes for the thank-you page after the form button is clicked:īefore describing how to implement the iframe auto-resize for your site, here's the code for the above example. It's subject to the built-in same-origin security restriction.

Otherwise, the web page with the iframe tag won't be able to determine the size of the content within the iframe. The same principle described in this article can be used for other implementations.)Ī caveat: The URL of the page being published within the iframe must be on the same domain as the web page with the iframe tag. (There are other reasons that content changes within an iframe. Therefore, the iframe size needs to be adjusted. The thank-you page generally is a different size, however, and either puts scrollbars into the iframe or leaves a large blank area within the iframe. After the form is submitted, a thank-you page is displayed within the iframe. (I'll show you how to do that, too.) But if the content in the iframe changes, the iframe size may need to be adjusted further.Ī common use of an iframe is to present a form, so a page reload is unnecessary when the form submits. Of course, it's fairly simple to adjust the height of an iframe when the content first loads.

(Resizing the width can be accomplished by substituting each word "height" with "width", maintaining the letter case.) This article describes how to resize the height of an iframe automatically - whenever the content of the web page being published within the iframe changes. c?Math.max(0,a.length+c):c if(p(a))return p(b)&1=b.length?a.indexOf(b,c):-1 for( c=)},Ga=function() h.Auto-resize Iframe when Content Size ChangesĪn iframe is a section of a web page where the content of another web page can be published. Going forward, we plan to increase this in-take capacity to 4,000 by 2025, so as to cater for the growing training need in the continent.”Įthiopian aviation academy (EAA) has recently been awarded “Airline Service Provider of the Year” award by the African Airlines Association (AFRAA) for its excellence in service delivery, innovation and competitiveness in best service providers to the African aviation industry. Today, our Academy admits over 1,500 students per year to train pilots, aircraft technicians, cabin crew, marketing and finance personnel, customer service agents as well as aviation leaders. We have invested more than 100 million dollars to expand both the scope of the training and the in-take capacity of the Academy. “This recognition is the result of the continuous heavy investment we are making on human resource development, a critical pillar of our Vision 2025 strategy. Tewolde GebreMariam, Group CEO Ethiopian Airlines, said, “We believe education is the greatest equalizer in the 21st century and our Aviation Academy has strategically positioned itself to train the African youth in the latest Aviation technology and latest aviation skills to own, manage and operate their own indigenous home grown African Airlines to lead safe, economical and reliable aviation industry with global standards.”
#Scriptcase iframe grows plus
Moreover, besides improving the quality of training, by making it more of material dependent than instructor dependent, the ITPs and STPs can also be exchanged with all ICAO TRAINAIR PLUS members and generate revenue. The recognition allows Ethiopian to develop and host ICAO training packages (ITPs) in addition to ICAO recognized standardized training packages (STPs) of its own. The academy attained the recognition on following rigorous assessment of the training organization, training and procedures manuals, facilities, training processes, qualification of staff and quality system.
