PDA

View Full Version : Spry SSI Error message


Webbedfeat
07-29-2017, 08:52 PM
Haaaalp, please!

My SSI of a vertical Spry bar produces only this: [an error occurred while processing this directive] . My web host support department says that the problem appears to be in the script (and they don't know nothin' about no scripts). Well, here's the script that appears at the bottom of the SSI file:

<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"/SpryAssets/SpryMenuBarRightHover.gif"});
</script>

Does that look like a problem? WhaddoIdo, experts? I've spent DAYS searching the web and all creation trying to find a solution. Not only that, but all two or three posts that mention this issue -- none of which I can understand -- are from, like, 2008 and earlier. I'm using Dreamweaver 5.

New Perspective Studio
04-15-2018, 10:19 AM
The directory may be wrong i dont think there should be a slash before spry assets so it could be pointing to the wrong path. When you view it in chrome have a look at your search console in developer mode it may give yous some more clues as to the problem. I know it works on local but maybe the live environment its a different story.

<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif"..........