I just can't figure this out now. I'm sure it's something simple.
I'm using the modified script from earlier in this post. However after the slideshow, I'm seeing some additional space. I don't know where this is coming from or how to remove it. Can anyone help?
I've attached a small screenshot of what's going on.
I've set up the size in the relevant parts of the script (at least I believe I have), but no matter what the size, there's always this added space. (I've used the 'div id="show3"' to emphasize this sizing.)
Code:
<style type="text/css">
/* All Styles Optional */
* {
font-family:arial;
font-size:10pt;
}
div#show3 {
background-color:#efefef;
width:140px;
margin:0 auto;
border:1px solid #444444;
}
div#show3 table td, div#show4 table td {
background-image:url('38.gif');
}
div#show4 table td {
background-image:url('40.gif');
}
div#show3 table input, div#show4 table input {
outline-style:none;
}
</style>
<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='../../../images/member_statistics/slideshow/left.gif';
var stopimg='../../../images/member_statistics/slideshow/pause.gif';
var playimg='../../../images/member_statistics/slideshow/play.gif';
var nextimg='../../../images/member_statistics/slideshow/right.gif';
var slides2=[]; //SECOND SLIDESHOW
//configure the below images and descriptions to your own.
slides2[0] = ["../../../images/welcome_slides/1-best_practices195.jpg", ""];
slides2[1] = ["../../../images/welcome_slides/2-wealth_transition195.jpg", ""];
slides2[2] = ["../../../images/welcome_slides/3-industry_research195.jpg", ""];
slides2[3] = ["../../../images/welcome_slides/4-networking195.jpg", ""];
slides2[4] = ["../../../images/welcome_slides/5-governance195.jpg", ""];
slides2[5] = ["../../../images/welcome_slides/1-best_practices195.jpg", ""];
slides2[6] = ["../../../images/welcome_slides/7-family_education195.jpg", ""];
slides2[7] = ["../../../images/welcome_slides/8-family_office_exchange195.jpg", ""];
//optional properties for these images:
slides2.desc_prefix=''; //string prefix for image descriptions display
slides2.controls_top=0; //use for top controls
slides2.counter=0; //use to show image count
slides2.width=195; //use to set width of widest image if dimensions vary
slides2.height=156; //use to set height of tallest image if dimensions vary
slides2.once=1;
slides2.no_auto=0; //use to make show completely user operated (no play button, starts in stopped mode)
slides2.use_alt=0; //use for descriptions as images alt attributes
slides2.use_title=0; //use for descriptions as images title attributes
slides2.nofade=0; //use for no fade-in, fade-out effect for this show
slides2.border=0; //set border width for images
slides2.border_color='white'; //set border color for images
slides2.delay=3000;
slides2.no_controls=1;
//Notes:
//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>
<script src="../../../include/slideshow/swissarmy.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
***********************************************/
</script>
Here is the code in the body of the page:
Code:
<p>
<div id="show3" style="height:156;float:left;"><script type="text/javascript">
new inter_slide(slides2)
</script>
</div>
</p>
Any assistance is greatly appreciated!
Bookmarks