Copy link to clipboard
Copied
Hello,
I've been trying to add a slideshow to a page and it will show up in the live preview but not in the browser. I've tried two different spry slideshow widgets and have had the same issue with both. I've read through many other discussions here on this problem but none of the solutions discussed have fixed it. I've tried changing the link to the main js file to an absolute link directly to Adobe but then I just get a javascript error when I try to open the page (http://www.ecs.org/html/aboutECS/AwardsWinners-TEST.htm). Right now the image are just showing up as bullets.
Here is the code for the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>ECS Award Winners</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic|Open+Sans:400,400italic,600,600italic,700,700italic|Yanone+Kaffeesatz:200,300,400,700' rel='stylesheet' type='text/css'>
<link href="../../css/IssueStyles.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
<link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
<link href="Spry-UI-1.7/css/SpryImageSlideShow.css" rel="stylesheet" type="text/css">
<style type="text/css">
/* BeginOAWidget_Instance_2141542: #ImageSlideShow */
#ImageSlideShow.ImageSlideShow {
width: 662px;
height: 432px;
border: solid 1px #000000;
}
#ImageSlideShow .ISSClip {
background-color: #000000;
}
/* EndOAWidget_Instance_2141542 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2141542" binding="#ImageSlideShow" />
</oa:widgets>
-->
</script>
</head>
<body>
<!--#include file="../../Library/header.html"-->
<table width="1100" border="0" cellspacing="7">
<tr align="center" valign="middle">
<td height="30" colspan="2" align="left">
<span class="pathDarkBlueBig">ECS Award Winners</span>
</td>
</tr>
<tr>
<td width="200" align="left" valign="top"><!--#include file="Library/aboutECS-links.htm" --></td>
<td width="81%" valign="top"><table width="100%" border="0">
<tr>
<td><ul id="ImageSlideShow">
<li><a href="awards/photos/kolderie.jpg"><img src="awards/photos/thumbnails/kolderie.jpg" alt="" /></a></li>
<li><a href="awards/photos/ecs-0260.jpg"><img src="awards/photos/thumbnails/ecs-0260.jpg" alt="" /></a></li>
<li><a href="awards/photos/ecs-0266.jpg"><img src="awards/photos/thumbnails/ecs-0266.jpg" alt="" /></a></li>
<li><a href="awards/photos/exxon-award.jpg"><img src="awards/photos/thumbnails/exxon-award.jpg" alt="" /></a></li>
<li><a href="awards/photos/new-england-award.jpg"><img src="awards/photos/thumbnails/new-england-award.jpg" alt="" /></a></li>
</ul>
<script type="text/javascript">
// BeginOAWidget_Instance_2141542: #ImageSlideShow
var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
widgetID: "ImageSlideShow",
injectionType: "replace",
autoPlay: true,
displayInterval: 4000,
transitionDuration: 2000,
componentOrder: ["view", "controls"],
plugIns: [ ]
});
// EndOAWidget_Instance_2141542
</script></td>
</tr>
</table>
<<< --- deleted all the other code for the collabsible panels here -- >>>
<!--#include file="../../Library/footer.html"-->
<script type="text/javascript">
var CollapsiblePanel17 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel17", {contentIsOpen:false});
var CollapsiblePanel18 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel18", {contentIsOpen:false});
var CollapsiblePanel19 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel19", {contentIsOpen:false});
var CollapsiblePanel20 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel20", {contentIsOpen:false});
var CollapsiblePanel22 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel22", {contentIsOpen:false});
</script>
</body>
</html>
Thank you to anyone who can help me figure this out.
Copy link to clipboard
Copied
Hello,
I have checked with your given link, You used below javascript files in your code on server,
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMUtils.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMEffects.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryWidget.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryPanelSet.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryFadingPanels.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryImageLoader.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryImageSlideShow.js
None of above file found on server, many javascript links are broken, Please check on server weather you upload files properly or not?
Regards
Nitesh
Copy link to clipboard
Copied
Sorry, I've been testing it on my development server and thought I had all the necessary files uploaded to the live server. I only put this one file on the live server in order to post it here for testing and realized there are a lot of supporting files. I think I have them all uploaded now. However, I uploaded the spry js files and it still doesn't fix it -- it won't work on my testing server or live one. It must at least function since I can see it in Live preview, but I don't understand why it won't show up in the browsers.
I initially had the spry files in the main root folder where Dreamweaver automatically put them. Then I read in a similar post on the forums that they needed to be in the same folder as the file with the slideshow, so I copied them there and changed the links.
Anything else you can see that I can change?
Thanks again for your assistance.
Copy link to clipboard
Copied
No need to change anything except files path from css files.
Even still I cant found your included file of javascript on your given server link.
If you upload that files then only I can check the code and guide you properly.
Copy link to clipboard
Copied
I checked my live server and the two folders with all the spry files that dreamweaver created are there. Which file specifically is missing?
Copy link to clipboard
Copied
None of the below javascript files found on your server which you include in your code:
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMUtils.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMEffects.j s
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryWidget.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryPanelSet.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryFadingPanels .js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryImageLoader. js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryImageSlideSh ow.js
Post working link for above javascript file
Copy link to clipboard
Copied
I see the problem. Dreamweaver created a folder inside the includes folder called "plugins" and put the js files there. I haven't changed that part of the link so that seems to be an error occuring between Dreamweaver and the spry plug-in. Anyway, I copied them up one file so they match the link. The slideshow still doesn't work.
Copy link to clipboard
Copied
If you change the place of files you must have to change the path of javascript file and in javascript file you must have to change the images path, also you have to do same with css files you used to make this happen.
I can properly guide you if you upload all code on your sever then only I come to know about arised problem.
Regards
Nitesh
Copy link to clipboard
Copied
I’m still confused because I’ve uploaded everything there is. The files and
their locations were all created by dreamweaver so I’m confused as to why
the paths don’t work. All I did was copy the files from my main root folder
and then put them in the folder About ECS. I changed the links to the js
files to match that because a previous post about this said that the spry/js
files had to be in the same folder and not several folders up. It didn’t
work when they were in the main root folder either. I just looked in the
live server folder and the files are there in the main root and About ECS
folder. I don’t understand why you can’t see them. What am I missing?
Sent: Thursday, October 06, 2011 3:11 PM
To: kdb-geek
Subject: Slideshow Spry won't show up in browser
Re: Slideshow Spry won't show up in browser
created by Ahir Nitesh <http://forums.adobe.com/people/Ahir+Nitesh> in
*Dreamweaver
extensions* - View the full
discussion<http://forums.adobe.com/message/3958050#3958050
Copy link to clipboard
Copied
Your given link is http://www.ecs.org/html/aboutECS/AwardsWinners-TEST.htm where you setup online code
So for this page your base link is : http://www.ecs.org/html/aboutECS/
Now you add below code to include javascript which have relltive path
http://www.ecs.org/html/aboutECS/
<script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
.
.
.
So below file must be accessible in order to run your code:
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMUtils.js
http://www.ecs.org/html/aboutECS/Spry-UI-1.7/includes/SpryDOMEffects.js
.
.
.
Please check above issue on sever and try to fix it.
Regards
Nitesh
Copy link to clipboard
Copied
I have no idea because I swear those files are on the live server. Below is
a screen shot of the folder on our live server (Tucana, wwwroot is the root
folder for our website) showing the files are there. I promise I’m not
crazy. These are the files Dreamweaver created when I added the Spry element
to the page. They are on both the live and testing servers and the webpage
won’t work on either. There has to be some little thing I’m missing in the
code but I’ve looked at this page so many times it could be written in Greek
and I probably wouldn’t notice. I sincerely appreciate the help you are
giving me, but I don’t know what else to do regarding uploading these files.
Sent: Friday, October 07, 2011 1:55 PM
To: kdb-geek
Subject: Slideshow Spry won't show up in browser
Re: Slideshow Spry won't show up in browser
created by Ahir Nitesh <http://forums.adobe.com/people/Ahir+Nitesh> in
*Dreamweaver
extensions* - View the full
discussion<http://forums.adobe.com/message/3959767#3959767