Results 1 to 3 of 3

Thread: Need for instruction on this code

  1. #1
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need for instruction on this code

    1) Script Title: DD Tab Menu (5 styles)

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

    3) Describe problem: I am testing different menu options and I really like this one now that i have found it. Instead of taking up support time on the static menu I was having a problem with, I would rather someone give me some guidance in setting up this one.

    I understand how to edit the html code easy enough, but am unfamilar with CSS. The download for this menu contains CSS files for each example. I want the chromemenu, so I understand the code that is shown on the example page to edit and add to my html page, but have no clue what I am supposed to do with the css file. Do I just upload the CSS file along with the js file, or is it something that is also placed in the html code of the page?

    Thank you

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You would upload the css file just like any other file that goes on your webserver, then call the stylesheet by placing the below code in your head section of the HTML document:

    Code:
    <link rel="stylesheet" href="filename.css" type="text/css">
    Be sure to change the highlighted code above to point to the location of the css file you uploaded.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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

    Default

    I guess I dont get it, I am not code savvy to say the least, consider me a novice at this and if it is going to be too difficult to explain just tell me to try something different.

    So all the codes that they are showing on the dd download and code page I pasted above, I have to use those codes in the html, correct?

    I need to change the id of the tab menu, and right now it ddtabs1, for dynamic drive, so I just change that to mmtabs1 for missouri missing?, or is there more to it then that? Then I do not need the 'rel=sc' code since I do not need any second level content, correct? I just remove those from that code and edit in my own information as far as menu titles and urls they direct to? And then I am assuming that I do not even need the html code for second level contents, so I can just leave that off? (Step 3 on code page)

    Then I have to upload the CSS file and JS file, and I do not need to do any editing to the CSS file, correct? I also upload the Chrome menu images (2 of them), and then also in the html I place this code that you gave here, in the head along with my edited codes noted on the dd download page. Also, the code you gave me here, do I place it before the first script noted on the code instruction page?

    Am I anwhere close to understanding how to use this menu code?

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
  •