Home ยป Support Center » Knowledgebase / FAQs » Menu Maker » Using the Product » Do all the pages I link to from my Webstyle/Menu Maker<!--menumaker--> NavBar<!--nav-bar, nav bar, navigation bar, button bar--> need to be saved in one folder? Xtreme PRO German Support
 Do all the pages I link to from my Webstyle/Menu Maker<!--menumaker--> NavBar<!--nav-bar, nav bar, navigation bar, button bar--> need to be saved in one folder?
Solution

Webstyle NavBar menus can be linked to any page of your site, regardless of the location of those pages. The links are relative to the location of the JavaScript file and the JavaScript file is saved in the same location as the exported graphics.

So let's assume you have a root folder that contains several sub folders in which web pages reside, and also a sub folder containing the images associated with the pages in the root folder, and this is where you NavBar graphics have been saved to. This would then be the location where your js file is saved.

To link to pages within the root, you would enter /pagename.htm The / will tell the browser to go to the root and find the page at this location. Linking to another sub folder would be achieved by entering /subfolder name/page name.htm

All your pages can also have the NavBar inserted. When inserting a NavBar, you are simply inserting a script element referencing the location of one or more js files. You would therefore simply amend the script element to reference the correct location of the js file relative to the location of the web page in which the menu is inserted resides.

As an example, if the js file is named graphic.js and is located in the /images folder and your web page is located in the /accounts folder, then your script element would read <script src="/images/graphic.js"></script>



Article Details
Article ID: 2392
Created On: 17 Jul 2006 07:59 AM

 This answer was helpful  This answer was not helpful

 Back
 Log in  
Email address:
Password:
Remember Me:
 
 Search on keyword
Search Tips
Search on single keywords such as XML4, or use + and - to narrow the search eg. NavBar + Xtreme
 Article Options


Dedicated Xara forums, available 24 x 7 - a great place to get quick answers to your questions or just to see what others are talking about.



A host of excellent support resources for Xara products, including more than 10 years of Xara Xtreme/Photo & Graphic Designer/Designer Pro and Web Designer tutorials and Hints & Tips.