I have two different menus for different html pages. How do I properly use the different compiled menus and their associated awmdata directories?
Let’s assume the following file structure: c:\mysite\pageA.html c:\mysite\pageB.html c:\mysite\pageC.html c:\mysite\pageD.html (the c:\mysite directory is the root of the site) and the following designed menus: menu1.awm (to be used by pageA and pageB) menu2.awm (to be used by pageC and pageD) 1. We compile menu1.awm into the menu1.js file. This action creates the following elements into the c:\mysite\ folder: -the menu1.js file -the awmdata directory which contains the javascript libraries and all images used by menu1 (if any) 2. We compile menu2.awm into the menu2.js file. This action creates the following elements into the c:\mysite\ folder: -the menu2.js file -the awmdata directory which contains the javascript libraries and all images used by menu2 (if any) (be careful not to use same image names in both menus, as the one image will be copied above the other one inside the awmdata folder). 3. We link the menu1.js file to pageA and pageB 4. We link the menu2.js file to pageC and pa
Related Questions
- I have two different menus for different html pages. How do I properly use the different compiled menus and their associated awmdata directories?
- Some of my pages are being served with a content type other than text/html. How do I get HTML::Mason to properly set the content type?
- Do pages containing MenuMachine menus validate against the W3C HTML and XHTML specifications?