Seite 1 von 1

phpBB gallery high_slide

Verfasst: 19.01.2010 12:56
von Hexcode
Hey,
in meinem Quellcode steht überall:

Code: Alles auswählen

	<script type="text/javascript" src="./gallery/plugins/highslide/highslide-full.js"></script>
	<link rel="stylesheet" type="text/css" href="./gallery/plugins/highslide/highslide.css" />
	<script type="text/javascript">
		hs.graphicsDir = './gallery/plugins/highslide/graphics/';
		hs.align = 'center';
		hs.transitions = ['expand', 'crossfade'];
		hs.fadeInOut = true;
		hs.dimmingOpacity = 0.8;
		hs.outlineType = 'rounded-white';
		hs.captionEval = 'this.thumb.title';
		// This value needs to be set to false, to solve the issue with the highly increasing view counts.
		hs.continuePreloading = false;

		// Add the slideshow providing the controlbar and the thumbstrip
		hs.addSlideshow({
			interval: 5000,
			repeat: false,
			useControls: true,
			fixedControls: 'fit',
			overlayOptions: {
				opacity: .75,
				position: 'top center',
				hideOnMouseOut: true
			}
		});
	</script>
Gibt es eine Möglichkeit das nur dann zu laden wenn die Galeire geöffnet ist? Weil es sind ja schon nen paar kb die man nicht immer braucht, außer halt in der Galerie.
mfg

Re: phpBB gallery high_slide

Verfasst: 19.01.2010 14:45
von nickvergessen
Oder bei Beiträgen im Forum, wenn jemand ein Bild mit BBCode eingebunden hat usw. ;)

Re: phpBB gallery high_slide

Verfasst: 19.01.2010 18:28
von Hexcode
Ja aber aufm Index, Blog, Download etc. nicht.