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:
Ah....OK....added the links to the page but it still doesn't work. I'm not sure I have the "includes" set up properly so maybe that is the issue. Do the links need to be in the page file or in the nav file which is being included in the page? Right now I have it in both....
Did you also upload the actual SpryMenuBar.js and SpryMenuBarHorizontal.js files? When I view your source and follow the links in your head section, I get the source code to a 404 file not found page.
Yes I did....they are in a folder called "SpryAssets" in my root. The files are in a subdomain so I wondered if that was the issue....I tried deleting one of the "../" levels but it still didn't work. I son't understand why it would return a 404 though.....
It appears you are telling the links to go to:
The files are at:
My page contains:
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
Each leading ../ is telling the page to go up one level to find the folder remove them