Dynamic imageslide show script...

Discussion in 'Programming' started by Site Owner, Jul 25, 2007.

  1. #1
    I have a script that does a slideshow of images from database but it lacks the basic functions "<< prev. | next >>" and "1 of 3".

    How can I add this to my current code (below). Or do I need a whole new code? If so, what?

    <script language="javascript">
    		var imgArray=new Array({$num_pictures});
    		var switchImage={$set_slideShow_sec};
    		var switchImageCountFrom={$set_slideShow_count_from};
    		{foreach item=image from=$image_list}
    			imgArray[{$image.nr}]="{$image.file}";
    		{/foreach}
    		</script>
    Code (markup):
    The curly bracket are because my CMS uses Smarty.
     
    Site Owner, Jul 25, 2007 IP
  2. Site Owner

    Site Owner Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Site Owner, Jul 25, 2007 IP