/* calculate upon initial loading of the app */ $(window).load( /* calculate icon's maxHeight */ ); /* calculate upon first device rotation */ $(window).one('orientationchange', /* calculate icon's maxHeight2 */ );
As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.
Also see: Tab Triggers