View Full Version : Resolved Swiss Army Image Slideshow / buttons

03-28-2009, 12:51 PM
1) Script Title: Swiss Army Image Slideshow

2) Script URL (on DD):

3) Describe problem: I don't find whre the position of the buttons is dedined in order to put them on the side or in another area

Thanks for the help ;)

03-28-2009, 01:54 PM




03-29-2009, 08:04 PM
Thanks John, next time I start with a look in the older posts ;)

I have still an issue : I don't find why I can't adapt the image container height to the image height when I put the buttons in another area :confused:

I put an example based on the original code :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<title>Document sans nom</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">

#outer0 { left: 0px; }
#show0 {width:200px;}
#controls0 {position: relative; top: -50px; left: 200px; width: 0px; height: 0; overflow: visible; color: #CCCCCC;}
#prev0, #next0 {background-color: #666666; color: #000; border: none;}


<!--[if IE]>
<style type="text/css">
div#show3 table td, div#show4 table td {

<script type="text/javascript">

//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=true;

//And configure the image buttons' images here:
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';

var slides3=[]; //THIRD SLIDESHOW
//configure the below images and descriptions to your own, note optional links, target and window specifications.
slides3[0] = ["1_side.jpg", "", "http://www.google.com", "_new", "top=250, left=300, width=500, height=300, location, resizable, scrollbars"];
slides3[1] = ["2_side.jpg", ""];
slides3[2] = ["3_side.jpg", "", "http://www.dynamicdrive.com"];
slides3[3] = ["5_side.jpg", "", "http://www.msn.com", "_new"];
//optional properties for these images:
slides3.no_descriptions=1; //use for no descriptions displayed
slides3.pause=1; //use for pause onmouseover
slides3.image_controls=1; //use images for controls
slides3.button_highlight='#cccccc'; //onmouseover background-color for image buttons (requires image_controls=1)
slides3.specs='width=300, height=250' //global specifications for this show's new window(s)
slides3.random=1; //set a random slide sequence on each page load
slides3.manual_start=1; //start show in manual mode (stopped)

//slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls

//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"


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

* Swiss Army Image slide show script - John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code


<table width="600" border="0" align="center" bordercolor="#999999" bgcolor="#666666">
<td height="140" align="center" bgcolor="#CCCCCC" style="padding-top:5px;>

<div id="show">
<script type="text/javascript">
new inter_slide(slides3)

03-30-2009, 01:29 PM

03-30-2009, 01:38 PM
merci ;)