Results 1 to 4 of 4

Thread: Help with Slashdot menu

  1. #1
    Join Date
    Aug 2008
    Location
    Eureka Springs, AR
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Help with Slashdot menu

    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.

    Larry.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You have to keep the notices on your pages. Please check out the Terms of Use here:
    http://dynamicdrive.com/notice.htm.
    The reason your menu is not expanding is because your not defining it first.
    In the <head> section of your page add this:
    Code:
    	<script type="text/javascript">
    	// <![CDATA[
    	var myMenu;
    	window.onload = function() {
    		myMenu = new SDMenu("my_menu");
    		myMenu.init();
    	};
    	// ]]>
    	</script>
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    lars1955 (08-19-2008)

  4. #3
    Join Date
    Aug 2008
    Location
    Eureka Springs, AR
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the help and the head's up about the notice. All works fine.

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You have to include the notice. Please do so.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •