Jump to content

Archived

This topic is now archived and is closed to further replies.

RRNeely

Dreamweaver and Javascript Menu

Recommended Posts

[b]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:[/b]
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

[b]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:[/b]
[pre][size=10pt][color=green]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>
    <!-- (c) 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:
        <table>
            <td><script type="text/javascript" src="ProductMenu.js"></script></td>
        </table>


5. Save your html file and enjoy the menu![/color] [/size] [/pre]

[b]Here is the HTML Deluxe Menus generated:[/b]
[pre][size=10pt][font=Verdana]<html>
<head>
  <TITLE>Javascript Menu by Deluxe-Menu.com, (c) 2006. Generated by Deluxe Tuner.</TITLE>
 

  <!-- Deluxe Menu -->
  <noscript><a href="http://deluxe-menu.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/rrbchelp/Access.html"></a>
    <a id="dmI2" href="http://rrbchelp.com/rrbchelp/EmailSolutions.html"></a>
    <a id="dmI4" href="http://rrbchelp.com/rrbchelp/Web_Hosting.html"></a>
    <a id="dmI6" href="http://rrbchelp.com/rrbchelp/StaticIP.html"></a>
    <a id="dmI8" href="http://rrbchelp.com/rrbchelp/ManagedBackup.html"></a>
    <a id="dmI10" href="http://rrbchelp.com/rrbchelp/PersonalSecuritySuite.html"></a>
  </div>
  <!-- End of Code for Deluxe Menu Items -->

  <!-- (c) 2006, Deluxe-Menu.com -->
 
</head>

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

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

<br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br>

</body>
</HTML>[/font][/size][/pre]





Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.