• invisiblepilot

    (@invisiblepilot)


    I am trying to find the file where I can change the parameters that appear in the footer of the page with this plugin:

    this:

    <!-- Begin Shadowbox JS -->
    <script type="text/javascript">
    	var shadowbox_conf = {
    		adapter: "base",
    		language: "en",
    		players: ["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>
    <!-- End Shadowbox JS -->

    I want to change the overlay color from black to white and, more importantly, the “handleOversize” to “none”.. I can’t figure out where/how to change the generated code in the plugin files.

    I’ve tried changing the values in the “shadowbox-js/inc/frontend.php” and “shadowbox-js/inc/admin.php” (the only places I can find this same code) but it does not change the output on the page.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is no need to hack the plugin to change the output. Simply visit, Settings->Shadowbox JS and click on the “Show Advanced Configuration” button. Change the dropdown for “Handle Oversize” to none, and change the “Overlay Color” to #fff. After this you will need to click ‘Save Changes’.

    As simple as that. Might want to revert whatever hacks you did to the plugin first.

    Thread Starter invisiblepilot

    (@invisiblepilot)

    you’re awesome – thanks 😉

    is this the same area where I can add the code to turn on the HD plugin for the JW Player?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Shadowbox JS] change output of shdowbo.js on pages (footer’ is closed to new replies.