JS optimization breaks JBgallery in Widescreen theme (5 posts)

  1. getiem
    Posted 5 years ago #

    When JS optimization is turned on, the slideshow on the mainpage of my site is broken. It is a jquery slideshow.

    See http://gallery.getiem.nl/

    Is there anything i can do about, or can you see what is the problem?


  2. getiem
    Posted 5 years ago #

    Solution would be the splitting of the generated JS. Use a head js, and a footer js.

    See how plugin http://wordpress.org/extend/plugins/css-and-script-files-aggregation/ works. This one successfull combines the scripts. Only that one doesn't gzip.

    Best of both worlds would be nicest.

    Thanks for good plugin!

  3. getiem
    Posted 5 years ago #

    Hmmm, solution was found in a wrong coded other plugin.
    That produced bad javascript. With combining all scripts, all other javascript codes also did crash.

  4. getiem
    Posted 5 years ago #

    Now, very nice and good plugin. Greatly reduces javascript overhead in kb and in requests.

  5. getiem
    Posted 5 years ago #

    autoptimize breaks my page again....

    Now only for IE8. All other browsers do work with the plugin. Not sure if its the fault of autoptimize or some of the javascript from other plugins. But for now I will shut down javascript optimization.
    Without optimization the javascript works in IE8.
    Problem is found in one of the codelines of jQuery when optimization takes place.

    Maybe make switch, or have option to disable some of the JS to be optimized. Or option to optimize by compressing without doing a minify.

    Other: autoptimize css embed images works for embedding images, but breaks functionality of fancybox plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic