Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I install the menus on a master page (such as that used by Visual Studio or Expression Web Designer)?

0
Posted

How do I install the menus on a master page (such as that used by Visual Studio or Expression Web Designer)?

0

DHTML Menu Builder will not “see” the master document as a valid document to receive the menus. This behavior is by design. So, to implement the menus you must create an empty HTML document in the root folder of your web site and call it “menus.html”. The document should not contain anything, not even the or tags. Then, install the menus using the Tools->Install Menus dialog into the “menus.html” document. Now, you must include this document into your master page. To do this, simply add this code after the tag in your master document: What will happen is that every time the master document is loaded, the web server will include the contents of the menus.htm document into it. The end result is that any page that inherits from the master document will also include the menus. IMPORTANT: Please note that the “include” statement can only be parsed (executed) by a web server which means that if you try to open one of your HTML/ASPX

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123