View Full Version : Slashdot menu- help!

Concept X
08-09-2006, 03:30 PM
1) Script Title:
Slashdot Menu
2) Script URL (on DD):
3) Describe problem:
I dont understand how to add it into my site using Dreamweaver 8, Regards

09-01-2006, 09:19 AM
<-- the first step is not absolutely necessary, you can get away with simply changing the include filename below to slashmenu.htm -->

rename slashmenu.htm to menu.php Then delete everything in the page before the first <div> tag and everything after the last </div> tag (don't delete the DD comments as they have to stay to use the script I believe)

All you want is the main menu code. This is the main menupage.
In each page where you want the menu to show use <?php include('menu.php') ?>

This assumes that your menu.php file is in the same directory as the page you want it to show on and that the slashfiles folder is in this same directory.

You should also add in the Head section of the pages
<script language="JavaScript" src="slashfiles/menu.js"></script>

This is how I have it setup and it works wonderfully.