• I’m using jShowOff inside home.php within the <body>.

    I have both jQuery and jshowoff.min.js loaded in my <head> in header.php.

    The jShowOff only seems to work if I load jQuery a second time, directly before the jShowOff HTML in home.php.

    The code I’m using is here.

    I’ve tried starting the script with both $(document).ready(function() and jQuery(document).ready(function() but either way it still only works when jQuery is loaded directly before it.

    Any idea how to avoid loading jQuery twice?

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

    (@ryanve)

    Problem solved by changing all instances of $ to jQuery

    <script>
              jQuery(document).ready(function(){ jQuery('#basicFeatures').jshowoff({
                    links: false,
                    controls: false,
                    effect: 'fade',
                    cssClass: 'basicFeatures',
                    hoverPause: false
                }); });
            </script>
Viewing 1 replies (of 1 total)
  • The topic ‘jShowOff Issue’ is closed to new replies.