WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] header doesnt show on firefox 3.0 for mac (3 posts)

  1. cezarneaga
    Member
    Posted 6 years ago #

    i put this code in my blog's header:

    <div id="masthead">
    		<div class="ngg-widget-slideshow" id="ngg_widget_slideshow1"><img src="http://www.wanderingme.com/wp-content/gallery/banners/banner01.jpg" /> </div>
    		<script type="text/javascript" defer="defer">
    
    		var sbsl = new SWFObject("http://www.wanderingme.com/wp-content/plugins/nextgen-gallery/imagerotator.swf", "ngg_slideshow1", "985", "200", "7", "#095fa2");
    		sbsl.addParam("wmode", "transparent");
    		sbsl.addVariable("file", "http://www.wanderingme.com/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=5");
    		sbsl.addVariable("linkfromdisplay", "false");
    		sbsl.addVariable("shownavigation", "false");
    		sbsl.addVariable("showicons", "true");
    		sbsl.addVariable("overstretch", "true");
    		sbsl.addVariable("backcolor", "0x000000");
    		sbsl.addVariable("frontcolor", "0xFFFFFF");
    		sbsl.addVariable("lightcolor", "0xCC0000");
    		sbsl.addVariable("screencolor", "0x000000");
    		sbsl.addVariable("rotatetime", "5");
    		sbsl.addVariable("transition", "random");
    		sbsl.addVariable("width", "985");
    		sbsl.addVariable("height", "200");
    		sbsl.write("ngg_widget_slideshow1");
    
    		</script>
          </div><!-- end MASTHEAD -->

    the css is this:

    #masthead {
    	position: absolute;
    	top: -5px;
    	height: 200px;
    	margin: 0 !important;
    	padding: 0 !important;
    	width: 985px;
    	z-index: 0;
    }

    it works on safari but not on firefox 3 mac version.
    is there some problem with the code?

    thanks,
    Cezar
    PS: an easier way to integrate slideshows in header would make this plugin a 5 stars one.

  2. cezarneaga
    Member
    Posted 6 years ago #

    i have an update after a frustrating 8 hours today trying to sort this one out and reading 10 pages of forum issues.

    the thing is, for some reason the gallery containing the banner photos behaves different even in the admin section. if you go to manage gallery and click the view link, theoretically it should show the image in thickbox. in safari and IE this happens. in FF it doesnt.

    in the same FF, in the same blog, same theme but different gallery the view link works fine. produces the desired result. the only difference is the size of images. banners are 985*200 the other galleries are 640*480.

    right now the code in the header is this:

    <div id="masthead">
    		<div class="slideshow" id="ngg_slideshow1"><img src="<?php echo get_settings('home'); ?>/wp-content/gallery/banners/banner01.jpg" /> </div>
    
    		<script type="text/javascript" defer="defer">
    
    		//<![CDATA[
    		var so5508 = new SWFObject("<?php echo get_settings('home'); ?>/wp-content/plugins/nextgen-gallery/imagerotator.swf", "ngg_slideshow1", "985", "200", "7", "#095fa2");
    		so5508.addParam("wmode", "transparent");
    		so5508.addVariable("file", "<?php echo get_settings('home'); ?>/wp-content/plugins/nextgen-gallery/nggextractXML.php?gid=1");
    		so5508.addVariable("linkfromdisplay", "false");
    		so5508.addVariable("shownavigation", "false");
    		so5508.addVariable("showicons", "true");
    		so5508.addVariable("overstretch", "true");
    		so5508.addVariable("backcolor", "0x000000");
    		so5508.addVariable("frontcolor", "0xFFFFFF");
    		so5508.addVariable("lightcolor", "0xCC0000");
    		so5508.addVariable("screencolor", "0x000000");
    		so5508.addVariable("rotatetime", "10");
    		so5508.addVariable("transition", "random");
    		so5508.addVariable("width", "985");
    		so5508.addVariable("height", "200");
    		so5508.write("ngg_slideshow1");
    		//]]&gt
    		-->
    		</script>
          </div><!-- end MASTHEAD -->

    but since this morning till now nothing changed. i figured that since the problem persists in admin section, the problem is not with this code but with the plugin's other functions.

    alex, help would be appreciated.

    thanks,
    C

  3. maierma
    Member
    Posted 6 years ago #

    Works here (Firefox 3, Mac).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags