Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks like there’s a javascript issue:
    Uncaught TypeError: Object [object Object] has no method 'CloudZoom'

    are you using any custom plugins or javascript to try to get this done?

    Thread Starter Corey

    (@bolivares)

    I haven’t touched any part of the plugin to customize it, but there may be some JS error with my theme, is there a way to pin point that?

    I think the problem is that you are including jquery more than once. You only need one version of jquery on your page – or you can have issues like this.

    Here are the 4 times I see it being called:

    <script type='text/javascript' src='http://www.coreytegeler.com/bolivares/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>  
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

    Thread Starter Corey

    (@bolivares)

    Awesome, thanks, I dropped out the ones I had added to the themes header but now the expand/collapse toggles I built no longer function.

    How can I make sure the theme is calling the best jQuery library to ensure everything works properly?

    jQuery noConflict Wrappers

    This is what’s causing the problem with the accordion:

    $(document).ready(function(){
        $('.toggle-link').click(function(e){
            $(this).closest("ul").children('.toggle-content').slideToggle();
            $(this).children('.toggle-link div').toggle();
        });
    
    });

    Try changing the “$” to “jQuery”. The article above talks about the difference.

    Thread Starter Corey

    (@bolivares)

    Great! It’s working, thanks for the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Linking to jpg page instead of zoom’ is closed to new replies.