I am trying to build my first horizontal spry menu. It works ok in Dreamweaver but when I upload it, it displays as a list.
Here's the link to may sample page:
It *is* a list. When you insert a Spry menu on a page, DW will put links to both a CSS file and a javascript file in the head of that page. Your page does not contain those links, so the menu displays as a simple, unordered list. Why doesn't your page contain those links? I have no idea. It should....
My page contains:
<script src="../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
Is that not correct?
It appears you are telling the links to go to:
http://www.2012westerns.theinsidecurve.com/SpryAssets/SpryMenuBar.js
The files are at:
http://www.theinsidecurve.com/SpryAssets/SpryMenuBar.js
http://www.theinsidecurve.com/SpryAssets/SpryMenuBarHorizontal.css
MiltonBC wrote:
My page contains:
<script src="../../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
Is that not correct?
No, your links are not correct
The "SpryAssets" folder should be in the root folder of your site.
Assuming the page is also in the root folder, the links should be
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
Each leading ../ is telling the page to go up one level to find the folder remove them
North America
Europe, Middle East and Africa
Asia Pacific