VISTA BUTTONS - HELP |
|
||
|
How to insert a dreamweaver navigation to many pages using library
To install the menu into your html page you should do the following things:
You can use "Save as HTML" function.
You can enter any name you like, for example enter "menu":
So you'll have menu.html file and "menu-files" folder with all menu files.
Insert a dreamweaver navigation to many pages using library- Start Dreamweaver and open your website. When the website opens, it should look like this: - To create the library item you should do the following things:
- Now you can add a javascript menu in your library. Open menu.lbi page (double-click menu.lbi in Files list window) and switch to the HTML View.
Delete all code from this page. Open the generated in Vista Buttons menu.html
page in any text editor. Copy all code within the following tags:
- Go back to Dreamweaver. Go to the "Edit Menu" with Dreamweaver and select the "Paste" option to paste the menu code that we copied to the clipboard earlier.
To display images correctly you should change vbImgPath parameter. Find the following code - Save you menu.lbi file. - Now you should copy the "menu-files" folder into the same folder with your menu.lbi library file ("library" folder).
- Create two pages and insert the library item to the pages. - Open "Assets" tab in the Files list window. Select "Library" tab in the left side of this window. Drag the library item into your pages respectively. So, all your pages will have the same navigation. Save your page now. - Repeat the previous step for all pages where you want to have the javascript menu. - Notice that in the Design mode your menu won't display. It is normal. You should view your page in browser. - That's all. You've added all necessary code to your page, so let's test it. Select "File/Preview in browser/IExplore" to display the page live (in Internet Explorer). - If everything goes well, save and publish your website. If something seems wrong, double-check that you followed all the steps correctly. - If you still run into trouble, we'd be happy to assist you further. You can post your problem to us at , and meanwhile describe your files in details.
|
||
Copyright (c) 2003-2010, Vista Buttons |