slideshow tools

jason_till
jason_till's picture

Joined: 2005-01-10
Posts: 11
Posted: Tue, 2005-03-15 12:30

could somebody help me i have the slideshow functions working correctly but i would like the slideshow tools to hidden on startup and open when requested ?

i have located this function SHOWTOOLS and set to 0 but to no avail ??

<script type="text/JavaScript">
// <![CDATA[
var image = new Image(), timer, iDelay = 30000, iDir = 1, iSize = 1;
var bPause = 0, bShowText = 1, bShowTools = 0;
var linkStop, spanPause, spanText, toolText;
var toolBar, textBanner, spanTitle, spanSummary, spanDate, spanDescription;
var index = {$SlideShow.start}, count = {$SlideShow.count};
var is_cached = new Array(count), item_map = new Array(count);
for (i=0; i < count; i++) is_cached[i] = new Array(0,0,0,0,0,0);
{foreach from=$SlideShow.itemList key=i item=it}
item_map[{$i}] = new Array({foreach
from=$it.sizeClassMap key=j item=idx}{if $j>0},{/if}{$idx}{/foreach});
{/foreach}
{literal}

this is in the slideshow.tpl
any help would be appreciated
Gallery ver 2 nice commits

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-03-15 16:04

change that back to 1.. then near the bottom of Slideshow.tpl just before // ]]>
add a line with:
tools_onoff();

 
jason_till
jason_till's picture

Joined: 2005-01-10
Posts: 11
Posted: Wed, 2005-03-16 16:06

thanks again mindless

much appreciated... 8)