Forums

[resolved] [Plugin: Shadowbox JS] Right tag and value, but not working. (4 posts)

  1. norssion
    Member
    Posted 3 weeks ago #

    http://www.ddnbb.com.cn

    I found the value rel="shadowbox" is added to tag <a> correctly, but when I clicked the hyperlink, Shadowbox did not work.

    What's wrong with my site?

    WordPress 2.8.5 / Shadowbox-js 3.0.0.2 / FireFox 3.5.3

  2. sivel
    Member
    Posted 3 weeks ago #

    You seem to be missing <?php wp_footer(); ?> in your themes footer.php look at the default theme for usage and placement.

  3. norssion
    Member
    Posted 2 weeks ago #

    Great! I found some javascript in html page after added <?php wp_footer(); ?> in footer.php. But I found new issue: all options can not be saved when I changed them in admin page, so my web page occur javascript error. The javascript was added in web page looks like that:

    <script type="text/javascript">
    	var shadowbox_conf = {
    		adapter: "",
    		language: "",
    		players: ["html","iframe","img","qt","swf","wmp"],
    		animate: ,
    		animateFade: ,
    		animSequence: "",
    		autoDimensions: false,
    		modal: ,
    		showOverlay: true,
    		overlayColor: "",
    		overlayOpacity: ,
    		flashBgColor: "",
    		autoplayMovies: ,
    		showMovieControls: ,
    		slideshowDelay: ,
    		resizeDuration: ,
    		fadeDuration: ,
    		displayNav: ,
    		continuous: ,
    		displayCounter: ,
    		counterType: "",
    		counterLimit: ,
    		viewportPadding: ,
    		handleOversize: "",
    		handleUnsupported: "",
    		initialHeight: ,
    		initialWidth: ,
    		enableKeys: ,
    		skipSetup: false,
    		flashParams: {bgcolor:"#000000", allowFullScreen:true},
    		flashVars: {},
    		flashVersion: "9.0.0",
    		useSizzle: false
    	};
    	Shadowbox.init(shadowbox_conf);
    </script>

    And now, what can I do to fix it?

  4. norssion
    Member
    Posted 2 weeks ago #

    Aha, It works well after I saved it again.
    The problem is resolved, thanks a lot.

Reply

You must log in to post.

About this Topic