Forum Replies Created

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

    (@athos25)

    @gkideas, basically my first two posts explain most of the settings I performed to achieve this effect.

    However, based upon the code from ajg I guess I might have taken the difficult route (reason for this follows). I’m however not familiar with the theme editor of WP since I code most of it by hand using either Notepad++ or PHPDesigner.

    @ajg: yes, I’m aware you can set stuff through the adminpanel, but those are global settings. This means that every slide show has this setting inside NG Gallery. The reason I took the hard approach is to control the output for the headers more precise. It also allows me to add some code for IE6 so the size of the header is more or less correct.

    It might be true this is the hard route, but in the long run provides me with more flexibility.

    Thread Starter athos25

    (@athos25)

    /double post

    Thread Starter athos25

    (@athos25)

    ow, that is really simple indeed. But does it set the correct options as well?

    showicons : “false”,
    transition : “bgfade”,
    shownavigation : “false”,
    overstretch : “true”,

    Thread Starter athos25

    (@athos25)

    Aha, I’ve seem to have fix it. The solution was quite easy: rename the div to inject into and add a name attribute. I also added some extra variables to stop navigation and other stuff from showing up.

    <div id="header_image_rotate" name="header_image_rotate"></div>
    <script type="text/javascript" defer="defer">
    var header_image = {
    	params : {
    		wmode : "opaque",
    		allowfullscreen : "false",
    		bgcolor : "#FFFFFF"},
    	flashvars : {
    		file : "http://localhost/wp-content/plugins/nextgen-gallery/xml/imagerotator.php?gid=2",
    		shuffle : "false",
    		showicons : "false",
    		transition : "bgfade",
    		shownavigation : "false",
    		linkfromdisplay : "false",
    		overstretch : "true",
    		rotatetime : "20",
    		backcolor : "0x000000",
    		frontcolor : "0xFFFFFF",
    		lightcolor : "0xCC0000",
    		screencolor : "0xFFFFFF",
    		width : "880",
    		height : "155"},
    	attr : {
    		styleclass : "slideshow",
    		name : "so1"},
    	start : function() {
    		swfobject.embedSWF("http://localhost/wp-content/plugins/nextgen-gallery/imagerotator.swf", "header_image_rotate", "880", "155", "7.0.0", false, this.flashvars, this.params , this.attr );
    	}
    }
    header_image.start();
    </script>
Viewing 4 replies - 1 through 4 (of 4 total)