<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>zenphoto forums Topic: Highslide with galleries and thumbstrips</title>
<link>http://www.zenphoto.org/support/</link>
<description>zenphoto forums Topic: Highslide with galleries and thumbstrips</description>
<language>en</language>
<pubDate>Thu, 20 Jun 2013 06:30:20 +0000</pubDate>

<item>
<title>Denn on "Highslide with galleries and thumbstrips"</title>
<link>http://www.zenphoto.org/support/topic.php?id=5673#post-32908</link>
<pubDate>Sat, 20 Jun 2009 06:34:30 +0000</pubDate>
<dc:creator>Denn</dc:creator>
<guid isPermaLink="false">32908@http://www.zenphoto.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I've been trying for a while now to add a newer highslide with galleries and thumbstrips but to no avail. What happens is when I change the js code and move it all up I get a &#34;loading&#34; message on the thumbnail when it is clicked but the highslide never comes up. clicking the thumb again stops the loading message. I can't figure out if it is some weird interaction between the newer hs and zen or what but I've tried a lot of things an gotten nowhere.&#60;/p&#62;
&#60;p&#62;The basics, to start, are (I hope I'm posting code properly here with backticks but I've only done this a little here) &#60;/p&#62;
&#60;p&#62;In standard highslide theme the script block includes:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    	hs.graphicsDir = &#38;#39;&#38;lt;?= $_zp_themeroot ?&#38;gt;/highslide/graphics/&#38;#39;;
    	hs.outlineType = &#38;#39;rounded-white&#38;#39;;
    	window.onload = function() {
        	hs.preloadImages();
    	}
	&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With the gallery version the code should look like this (from what I can tell from the docs.)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    	hs.graphicsDir = &#38;#39;&#38;lt;?= $_zp_themeroot ?&#38;gt;/highslide/graphics/&#38;#39;;
	/*next 4 lines added*/
	hs.align = &#38;#39;center&#38;#39;;
	hs.transitions = [&#38;#39;expand&#38;#39;, &#38;#39;crossfade&#38;#39;];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.8;
	hs.outlineType = &#38;#39;rounded-white&#38;#39;;
	/*next 3 lines*/
	hs.captionEval = &#38;#39;this.thumb.alt&#38;#39;;
	hs.marginBottom = 105; /* make room for the thumbstrip and the controls*/
	hs.numberPosition = &#38;#39;caption&#38;#39;;
	/*next block added*/
	/* Add the slideshow providing the controlbar and the thumbstrip*/
	hs.addSlideshow({
		//slideshowGroup: &#38;#39;group1&#38;#39;,
		interval: 5000,
		repeat: false,
		useControls: true,
		overlayOptions: {
			className: &#38;#39;text-controls&#38;#39;,
			position: &#38;#39;bottom center&#38;#39;,
			relativeTo: &#38;#39;viewport&#38;#39;,
			offsetY: -60

		},
		thumbstrip: {
			position: &#38;#39;bottom center&#38;#39;,
			mode: &#38;#39;horizontal&#38;#39;,
			relativeTo: &#38;#39;viewport&#38;#39;
		}
	});
	/*end added block*/
    	window.onload = function() {
        	hs.preloadImages();
    	}
	&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any ideas, leads, things to test or head slappingly obvious pointers welcome.&#60;/p&#62;
&#60;p&#62;Denn
&#60;/p&#62;</description>
</item>

</channel>
</rss>
