Results 1 to 6 of 6

Thread: Slashdot Menu Help - Newbie

  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slashdot Menu Help - Newbie

    1) Script Title: Slashdot's Menu

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

    3) Describe problem:

    This is a great menu and I really like how it looks. As I am a newbie at all of this, I have some very questions that will probably be so basic, but just to make sure that I know before I go further:

    I have been able to download zip file and change the menu to exactly how I want it. MY PROBLEM - can't figure how to include to web site... I want included in website I am building and load when I load the file to web server if possible. Any help for a newbie would be appreciated. I am using 1st Site Visions Web Editor to build web site.

    Thanks

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

    Default

    All you need to do is drag the CSS and Javascript in your folders, include this on the top of every page that has the menu:
    Code:
    	<link rel="stylesheet" type="text/css" href="sdmenu/sdmenu.css" />
    	<script type="text/javascript" src="sdmenu/sdmenu.js">
    		/***********************************************
    		* Slashdot Menu script- By DimX
    		* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
    		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    		***********************************************/
    	</script>
    	<script type="text/javascript">
    	// <![CDATA[
    	var myMenu;
    	window.onload = function() {
    		myMenu = new SDMenu("my_menu");
    		myMenu.init();
    	};
    	// ]]>
    	</script>
    Then insert the onClicks.
    Thats all you need to do from what I can tell.
    Hope this Helps,
    Nile
    Jeremy | jfein.net

  3. #3
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank You Nile for your quick response, but as I said I am a newbie, so here goes:

    I dragged and drop the files a you indicated into my folders. I added the code where I can include on page load in 1st Visions. I get coding for the menu - so I know I am doing something wrong - also, how do I insert the onclicks - if you tell me where, I can add....thanks again...

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

    Default

    Hmm, sorry. I can't help you.
    Jeremy | jfein.net

  5. #5
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK Nile, did some plugging and was able to get the script to show up within website, all on click links work, but I can't see any images and it does not drop down. I am thinking, it has something to do with where I added the css file and the js file. So I am adding these two scripts - css file and js file, where would they normally go (head or body)? there is no drag and drop with my webbuilder software.

    Thanks

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

    Default

    Can I see a link to your page? That may help me so I can see how you did everything.
    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
  •