WordPress.org

Support

Support » Plugins and Hacks » Slick Contact Forms » iPad Problem – Contact form staying open as scrolling page

iPad Problem – Contact form staying open as scrolling page

Viewing 1 replies (of 1 total)
  • This jQuery / JavaScript solution hides the form on Safari 536.26 (iOS 6.1.4, currently the latest) and earlier on iPhones:

    if( jQuery.browser.webkit && navigator.platform.indexOf("iPhone") != -1 && jQuery.browser.version <= 536.26 ){ // Safari on iPhone mishandles Slick Contact Form. 536.26 is Safari version on iOS 6.1.4, latest on 2013-07-23
    	$('head').append('<style type="text/css" media="screen">.dc-contact-slick{display:none}</style>');
    }

    Updating to WordPresson 3.6 and thus switching from jQuery 1.7 to 1.9 will have this stop working as jQuery.browser has been deprecated since jQuery 1.3.

    A better way would be to use feature detection, preferably with CSS instead of JS & jQuery.

    Remix4: Any ideas what part of SCF are Safari on iPhones and IE9 on Lumia 710 having issues with?

Viewing 1 replies (of 1 total)
  • The topic ‘iPad Problem – Contact form staying open as scrolling page’ is closed to new replies.
Skip to toolbar