Support » Plugins » [Plugin: jQuery Image Lazy Load WP] Conflict with WPtouch and wp-minify

  • Resolved cadbloke

    (@cadbloke)


    Activating Lazy Load stops the page-top menus and the functions of a few other jQuery-related plugins on the iPhone browser. I had t ode-activate it to get them back. FYI, WPtouch is pretty robust – I’m actually quite surprised at the variety of jQuery plugins that run in it.

    [edit] I think this has a lot to do with the de-register and re-register of jQuery in your PHP file. It looks like wp-minify drops jQuery because it is hosted a Google instead of locally. That would explain why nothin works.

    I commented out the de-register & re-regsiter lines for jQuery so everything works again except for iPhone menu icons.

    I think you need to add the iPhone to the line ..
    if (navigator.platform == "iPad") return"

    http://wordpress.org/extend/plugins/jquery-image-lazy-loading/

Viewing 1 replies (of 1 total)
  • Thread Starter cadbloke

    (@cadbloke)

    Darn. Ran out of editing time.

    Fixed it – I added

    effect:"fadeIn",
        threshold : 1,                      <--- Added this
        placeholder: "$placeholdergif"

    to fix the missing icons on the iPhone. I have still left the deregister / reregister jQuery statements commented out but that’s more of a wp-minify problem. I could probably fix it at that end (be excluding it from minification) but it works & I’m tired.

    Thanks for writing & posting this plugin – it’s a real bandwidth saver.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: jQuery Image Lazy Load WP] Conflict with WPtouch and wp-minify’ is closed to new replies.