Hi John.
Didn't work. To make sure I didn't mess something up, here's the new code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<?php include('/hsphere/local/home/bswebmas/ohiobuttons.org/test/Script_Files/build_array.php');?>
<script type="text/javascript" src="Script_Files/fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript" src="Script_Files/slidedef.php">
</head>
<body bgcolor="#FEF4E4">
<center>
<table cellspacing=1 border=0 width=100%>
<tr>
<td colspan=3 valign="top" align="center"><font size="4" color="Navy"><b>The Buckeye State Button Society<br>presents</b></td></tr>
<tr>
<td align="center" valign="middle"><p><font size="6" color="Green" face="Arial"><center>Spring Show 2014</font>
<p><font size=4 color="Navy"><b>April 9-10, 2011</b></font></td>
</tr><tr>
<td align="center">
<table border=0>
<td align="center" valign="top">
<div id="fadeshow1"></div>
</td>
</tr></table>
</tr></table>
</center>
</body>
</html>
The external file (located in /Script_Files, the same folder as fadeslideshow.js) is:
Code:
<?php
header("content-type: application/x-javascript");
?>
var ShowPics=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [650, 490], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
<?php imageSlideArray('/hsphere/local/home/bswebmas/ohiobuttons.org/Graphics/ShowPics/CurrentShow/', '/Graphics/ShowPics/CurrentShow/');?>
],
displaymode: {type:'auto', pause:2000, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "none",
oninit: function(){++this.setting.currentstep},
onslide: function(){
if(this.setting.currentstep === this.setting.imagearray.length){
setTimeout(ShowPics1, this.setting.displaymode.pause);
}
},
togglerid: ""
})
var ShowPics1 = function(){
Showpics=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [560, 490], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
<?php imageSlideArray('/hsphere/local/home/bswebmas/ohiobuttons.org/Graphics/ShowPics/PreviousShows/', '/Graphics/ShowPics/PreviousShows/');?>
],
displaymode: {type:'auto', pause:2000, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
});
}
Bookmarks