PS: I also saved it as a "php" file, still nothing.
1 person found this helpful
Your menu include file should contain nothing more than a list of links. That's it. Very simple. And links are relative to the parent page.
You can name include files anything you wish. menu.foo menus.ssi or menu.whatever. The extension doesn't matter here.
Your parent page -- the page on which your menu will appear, needs to be named index.asp to tell your server to parse content from the include file.
<!--#include virtual="Includes/menu.foo" -->
Finally, your parent page must contain all the supporting CSS files, scripts and functions to make your Spry Menus work.
Does this make sense?
1 person found this helpful
Two things jump out at me. First, the #include directive is an ASP function is it not? So I'm wondering if that is the reason it's not working since the page you are including it on is just an HTM page. Second your included page has its own doctype, body tags, link tags, and your HTM page is XHTML 1.0 and the included page is HTML5. An included page should be including certain components of a page, not an entirely different page altogether.
See if this link helps
You don't need to guess at the file extension being php or asp. That's determined by the server which hosts the page.
Will this site be hosted on an ASP or PHP server?
If it's a Windows server, it'll probably be running ASP.
If it's a Linux server, it'll probably be running PHP.
Thanks Nancy. It does make sense the way you explained it. I'm so frustrated! The regular Spry Menu (horizontal), if it has sub menus to sub menus, example:
Europe > Belgium > Dutch
(where the sub sub is: Europe > Belgium > Dutch)
They do not appear in IE, where there are multiple sub menus (such as many countries under "Europe") and multiple languages for each country under Europe.
I really cannot afford to purchase a menu from a 3rd party (already spent way too much money on Dreamweaver and too many frustrating weeks learning now what it cannot do).
I guess it is what it is. Thanks Nancy. Best regards, David
Now that makes sense too. I think I'm just going to throw Spry Menu 2.0 in the digital trash and start over.
Thanks for your response! - David
Hey John, I'm printing out the page you linked to so that I can read it carefully. Thx for the link. I am fairly certain it's a Linux server (thus PHP). But I don't want to convert all of my .htm pages to .php (I know it's possible and can have redirects - just don't want to do that much. With some health problems including cancer, and being blind in one eye, just sitting here for a few minutes to answer posts is very painful and difficult).
Thanks John. - David
Just realized, it must be a "Windows" server. Because I coudl see: www.aloe-vera.org/aloe_top_menu.asp but got an error message in my browser for the same file ending in .php