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
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
You seem to be missing <?php wp_footer(); ?> in your themes footer.php look at the default theme for usage and placement.
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?
Aha, It works well after I saved it again.
The problem is resolved, thanks a lot.
You must log in to post.