Jump to content


Dreamweaver and Javascript Menu

  • Please log in to reply
No replies to this topic

#1 RRNeely

  • New Members
  • Pip
  • Newbie
  • 1 posts
  • LocationTexas

Posted 02 July 2006 - 07:49 PM

I am very confused  ??? - obviously.

First this is my first time to use Dreamweaver.  I have used other programs successfully.

I have created a menu using Javascript, with a program Deluxe Menus.

On my first page in Dreamweaver is where I would like this menu.

I imagine it goes something like this:

Insert>HTML>Script Objects>Script [Script box comes up]
Language: Javascript
Source: Select my .js file **Selecting this option disables Content box
Content: Paste script generated by Deluxe Menus **Can only do this if I do not choose my .js file in the Source
No Script: Paste html that is generated by Deluxe Menus
Click OK

So, then I view it, and there's nothing.  Am I may not even be putting this stuff in the right place.  I have read 'Help' and it's just not detailed enough for my level (of stupidity).

Here are the directions given by Deluxe Menus:

[pre]How to Setup Deluxe Menu into HTML Page

1. Open the folder where you saved the project. This folder contains:
      - ProductMenu.js file - the file with menu parameters and items;
      - ProductMenu.files folder - the folder with menu engine js files and images.

2. Copy ProductMenu.js file and ProductMenu.files folder into the folder where html file is placed.

3. Open your html file in text editor, copy the following code into clipboard and paste it into the <head> tag:

        <!-- Deluxe Menu -->
    <noscript><a href=http://deluxe-menu.com/>Javascript Menu by Deluxe-Menu.com</a></noscript>
    <script type="text/javascript">var dmWorkPath = "ProductMenu.files/";</script>
    <script type="text/javascript" src="ProductMenu.files/dmenu.js"></script>
    <!-- © 2006, by Deluxe-Menu.com -->

    If you use the html editor such as Frontpage or Dreamweaver and it brakes html code of your page when you paste the menu, move the above code after <body> tag.

4. Copy the following code into clipboard and paste it into the place you want to have the menu:

          <script type="text/javascript" src="ProductMenu.js"></script>

    For example, into a table cell:
            <td><script type="text/javascript" src="ProductMenu.js"></script></td>

5. Save your html file and enjoy the menu!

Here is the HTML Deluxe Menus generated:
  <TITLE>Javascript Menu by Deluxe-Menu.com, © 2006. Generated by Deluxe Tuner.</TITLE>

  <!-- Deluxe Menu -->
  <noscript><a href="http://deluxe-menu.c...com">Javascript Menu by Deluxe-Menu.com</a></noscript>
  <script type="text/javascript">var dmWorkPath="deluxe-menu.files/";</script>
  <script type="text/javascript" src="deluxe-menu.files/dmenu.js"></script>

  <!-- Code for Deluxe Menu Items. Generated by Deluxe Tuner -->
  <div id="dmlinks" style="font:bold 9pt Verdana;color:#000000;text-decoration:none">
    <a id="dmI0" href="http://rrbchelp.com/...cess.html"></a>
    <a id="dmI2" href="http://rrbchelp.com/...ions.html"></a>
    <a id="dmI4" href="http://rrbchelp.com/...ting.html"></a>
    <a id="dmI6" href="http://rrbchelp.com/...icIP.html"></a>
    <a id="dmI8" href="http://rrbchelp.com/...ckup.html"></a>
    <a id="dmI10" href="http://rrbchelp.com/...uite.html"></a>
  <!-- End of Code for Deluxe Menu Items -->

  <!-- © 2006, Deluxe-Menu.com -->

<body leftmargin=10 topmargin=10 marginwidth=0 marginheight=0 bgcolor=#FFFFFF>

<script type="text/javascript" src="data-deluxe-menu.js"></script>



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users