Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter daand

    (@daand)

    No-one?

    I’m having the same problem. It works in default and classic, just not in my custom theme. The header.php files in my custom and in the classic/default theme have the same code, and I can’t imagine what else I could change to make it work.

    Thread Starter daand

    (@daand)

    Could anyone have a look?

    Seems your site isnt loading the image player. You should have a script like this somewhere before </body>, but you dont. There’s probably something misconfigured.

    <script type="text/javascript">
    	var shadowbox_conf = {
    		adapter: "base",
    		language: "en",
    		players: ["html","iframe","img"],
    		animate: true,
    		animateFade: true,
    		animSequence: "sync",
    		autoDimensions: false,
    		modal: false,
    		showOverlay: true,
    		overlayColor: "#000",
    		overlayOpacity: 0.8,
    		flashBgColor: "#000000",
    		autoplayMovies: true,
    		showMovieControls: true,
    		slideshowDelay: 0,
    		resizeDuration: 0.35,
    		fadeDuration: 0.35,
    		displayNav: true,
    		continuous: false,
    		displayCounter: true,
    		counterType: "default",
    		counterLimit: 10,
    		viewportPadding: 20,
    		handleOversize: "resize",
    		handleUnsupported: "link",
    		initialHeight: 160,
    		initialWidth: 320,
    		enableKeys: true,
    		skipSetup: false,
    		flashParams: {bgcolor:"#000000", allowFullScreen:true},
    		flashVars: {},
    		flashVersion: "9.0.0",
    		useSizzle: false
    	};
    	Shadowbox.init(shadowbox_conf);
    </script>

    Verify Shadowbox options, try these settings:

    Javascript Library: none
    Enable Smart Loading: false
    Players: (check ’em all – or at least get sure “img” is checked)

    Shadowbox Automation
    Image Links: true

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shadowbox not working in theme’ is closed to new replies.