Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add images in slideshow


waheguruson

Recommended Posts

Posted

i want added more images in this slide show script , how can i , plz somebody help me.

 

<title>Slideshow 2!</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<meta name="author" content="Aeron Glemann (http://www.electricprism.com/aeron/)" />

<link rel="stylesheet" type="text/css" href="css/slideshow.css" media="screen" />

<script type="text/javascript" src="js/mootools.js"></script>

<script type="text/javascript" src="js/slideshow.js"></script>

 

<script type="text/javascript">

//<![CDATA[

window.addEvent('domready', function(){

var data = {

'701.jpg': { caption: 'Volcano Asención in Ometepe, Nicaragua.' },

'702.jpg': { caption: 'A Ceibu tree.' },

'703.jpg': { caption: 'Beer and ice cream.' }

 

};

var myShow = new Slideshow('show', data, {controller: false, height: 467, hu: 'images/', thumbnails: true, width:290});

});

//]]>

</script>

Posted

Pal,

 

That is not a standard OSC function, however it would be safe to assume that adding more images to this would add them to the slideshow:

 

'701.jpg': { caption: 'Volcano Asención in Ometepe, Nicaragua.' },

'702.jpg': { caption: 'A Ceibu tree.' },

'703.jpg': { caption: 'Beer and ice cream.' },

 

add them like this:

'704.jpg': { caption: 'Your next image here.' },

 

 

the last line should NOT have the , at the end.....all other should

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...