[resolved] [Plugin: jQuery Image Lazy Load WP] Conflict with WPtouch and wp-minify (2 posts)

  1. cadbloke
    Posted 6 years ago #

    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"


  2. cadbloke
    Posted 6 years ago #

    Darn. Ran out of editing time.

    Fixed it - I added

        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.

Topic Closed

This topic has been closed to new replies.

About this Topic