ellenjones6
08-31-2012, 07:28 PM
1) Script Title: Ultimate Fade-in Slideshow (V2.4)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: In Firefox, the size of the font in the captions is larger than that in the demo. How can I fix it?
Here is the URL of my page and the styles page: http://www.adirondackvic.org/Woods-and-Waters-Trail.html and http://adirondackvic.org/StylesRegularFatFooter5.css (http://adirondackvic.org/StylesRegularFatFooter5.css)
Here is the relevant (I think) code:
<style type="text/css">
#fadeshow2 {
width: 468px;
height: 357px;
}
#fadeshow2toggler .noscript {
display: none;
font: bold 90% Arial, Helvetica, sans-serif;
}
</style>
<noscript>
<style type="text/css">
#fadeshow2 {
overflow: auto;
width: 488px;
}
#fadeshow2 img {
display: block;
}
#fadeshow2toggler * {
display: none;
}
#fadeshow2toggler .noscript {
display: inline;
}
</style>
</noscript>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript" src="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">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [468, 357], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-1.jpg", "", "", "Black Pond from the Woods and Waters Trail at the Paul Smiths VIC"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-2.jpg", "", "", "Adirondack Habitats: Coniferous forest along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-3.jpg", "", "", "Adirondack Wetlands: Woods and Waters Trail at the Paul Smiths VIC"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-4.jpg", "", "", "Adirondack Wildflowers: Whorled Wood Aster on the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-5.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-6.jpg", "", "", "Adirondack Wildflowers: Partridge Berry along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-7.jpg", "", "", "Adirondack Habitats: Black Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-8.jpg", "", "", "Adirondack Wildflowers: Wintergreen along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-9.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-10.jpg", "", "", "Adirondack Wildflowers: Bunchberry and Moss on the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-11.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-12.jpg", "", "", "Fall in the Adirondacks: Along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-13.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-14.jpg", "", "", "Adirondack Forest Communities: Along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-15.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"]
//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: "fadeshow2toggler",
onslide: function(c, i){
var im = c.getElementsByTagName('img')[i], tas = this.setting.titlesAndAlts;
im.title = tas[i].title;
im.alt = tas[i].alt;
}
})
</script>
<h1>Woods and Waters Trail<br>
</h1>
</center>
<center>
<div id="fadeshow2">
</div>
<div id="fadeshow2toggler" style="width:468px; text-align:center; margin-top:10px"><span class="noscript">You have JavaScript turned off in your browser. To view the slideshow, please enable JavaScript. Instructions may be found here: www.enable-javascript.com
</span>
<a href="#" class="prev"><img src="http://Adirondackvic.org/Images/left.png" style="border-width:0" /></a>
<span class="status" style="margin:0 50px; font-weight:bold"></span>
<a href="#" class="next"><img src="http://Adirondackvic.org/Images/right.png" style="border-width:0" /></a>
</div>
What am I doing wrong?
One other thing: I love this slideshow, but both the slideshow itself and the caption need to be centered. The only way I managed to do that was to use the <center> tag, which (of course) I would like to avoid. Do you have a fix? I have tried lots of things and nothing works. Please help! ellen
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: In Firefox, the size of the font in the captions is larger than that in the demo. How can I fix it?
Here is the URL of my page and the styles page: http://www.adirondackvic.org/Woods-and-Waters-Trail.html and http://adirondackvic.org/StylesRegularFatFooter5.css (http://adirondackvic.org/StylesRegularFatFooter5.css)
Here is the relevant (I think) code:
<style type="text/css">
#fadeshow2 {
width: 468px;
height: 357px;
}
#fadeshow2toggler .noscript {
display: none;
font: bold 90% Arial, Helvetica, sans-serif;
}
</style>
<noscript>
<style type="text/css">
#fadeshow2 {
overflow: auto;
width: 488px;
}
#fadeshow2 img {
display: block;
}
#fadeshow2toggler * {
display: none;
}
#fadeshow2toggler .noscript {
display: inline;
}
</style>
</noscript>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript" src="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">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [468, 357], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-1.jpg", "", "", "Black Pond from the Woods and Waters Trail at the Paul Smiths VIC"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-2.jpg", "", "", "Adirondack Habitats: Coniferous forest along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-3.jpg", "", "", "Adirondack Wetlands: Woods and Waters Trail at the Paul Smiths VIC"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-4.jpg", "", "", "Adirondack Wildflowers: Whorled Wood Aster on the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-5.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-6.jpg", "", "", "Adirondack Wildflowers: Partridge Berry along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-7.jpg", "", "", "Adirondack Habitats: Black Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-8.jpg", "", "", "Adirondack Wildflowers: Wintergreen along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-9.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-10.jpg", "", "", "Adirondack Wildflowers: Bunchberry and Moss on the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-11.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-12.jpg", "", "", "Fall in the Adirondacks: Along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-13.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-14.jpg", "", "", "Adirondack Forest Communities: Along the Woods and Waters Trail"],
["http://Adirondackvic.org/Images/Paul-Smiths-Visitor-Center-Woods-and-Waters-Trail-15.jpg", "", "", "Adirondack Habitats: Long Pond from the Woods and Waters Trail"]
//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: "fadeshow2toggler",
onslide: function(c, i){
var im = c.getElementsByTagName('img')[i], tas = this.setting.titlesAndAlts;
im.title = tas[i].title;
im.alt = tas[i].alt;
}
})
</script>
<h1>Woods and Waters Trail<br>
</h1>
</center>
<center>
<div id="fadeshow2">
</div>
<div id="fadeshow2toggler" style="width:468px; text-align:center; margin-top:10px"><span class="noscript">You have JavaScript turned off in your browser. To view the slideshow, please enable JavaScript. Instructions may be found here: www.enable-javascript.com
</span>
<a href="#" class="prev"><img src="http://Adirondackvic.org/Images/left.png" style="border-width:0" /></a>
<span class="status" style="margin:0 50px; font-weight:bold"></span>
<a href="#" class="next"><img src="http://Adirondackvic.org/Images/right.png" style="border-width:0" /></a>
</div>
What am I doing wrong?
One other thing: I love this slideshow, but both the slideshow itself and the caption need to be centered. The only way I managed to do that was to use the <center> tag, which (of course) I would like to avoid. Do you have a fix? I have tried lots of things and nothing works. Please help! ellen