View Full Version : Help with Slashdot menu

08-19-2008, 07:14 PM
1) Script Title: Slashdot Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

3) Describe problem: Everything is installed, and I love the menu. However, for the life of me, I cannot get it to collapse. I have been over my own code, the sdmenu.js file and I cannot see where the problem might be. I am sure it is a small thing, it usually is. But I am missing it. I feel like it has to be in the js file, but can't seem to figure it out. I am only trying to get it to work on my homepage (http://www.earlychurchchanges.com/index.php). Once that page is working properly, I'll get the rest in line.

Thanks in advance to whomever decides to answer this cry for help.


08-19-2008, 07:21 PM
You have to keep the notices on your pages. Please check out the Terms of Use here:
The reason your menu is not expanding is because your not defining it first.
In the <head> section of your page add this:

<script type="text/javascript">
// <![CDATA[
var myMenu;
window.onload = function() {
myMenu = new SDMenu("my_menu");
// ]]>

08-19-2008, 09:37 PM
Thanks for the help and the head's up about the notice. All works fine.

08-19-2008, 09:39 PM
You have to include the notice. Please do so.