Only for users on old versions of IE function wpfme_IEhtml5_shim () { global $is_IE; if ($is_IE) echo ”; } add_action(‘wp_head’, ‘wpfme_IEhtml5_shim’);
Articles Tagged: Browser
Result of browser window resize
Simply we handle the resize event of the window. We can thus adjust the size or appearance of the elements depending on the window size. $(window).resize(myHandler); function myHandler() { alert(‘Do something …’); }