Please tell me in very plan instructions how to load the javascript menu sample on to a FrontPage
Return to Recent Questions
Q:
I was adding a title to the page containing the TurnerDelux javascript menu sample and now the the menu is gone and I cannot recover it.
Please tell me step-by-step instructions how to load the javascript menu sample on to a blank Front Page web page.
A:
Please follow that steps:
1. Create your javascript menu sample in DHTML Tuner.
2. Export the javascript menu sample into html file "File/Export/To HTML".
3. Copy folder with all engine .js files and images
("menu.files/" by default) and data-menu.js (by default) into the same folder with you index.html page (created in
Front Page).
4. Now add some lines of code into your index.html.
You can do it in FrontPage (open HTML source tab of the page and edit it)
or in any text editor.
Note that you'll have errors in the Preview. But you won't get errors if you open this page in the browser.
5. Add the following code in the tag:
<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">Javascript menu sample by DHTML-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath="menu.files/";</script>
<script type="text/javascript" src="menu.files/dmenu.js"></script>
and
<script type="text/javascript" src="data-menu.js"></script>
in the place where you want to have the javascript menu sample.
You can paste it in <table>, <div> tags. For example.
<div align=center>
<script type="text/javascript" src="data-menu.js"></script>
</div>
6. Save your index.html page and open it in any web browser.
Return to Recent Questions
|