Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Looking for "DD Tab Menu" but with some changes..

  1. #1
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Looking for "DD Tab Menu" but with some changes..

    Hi All.
    Im new here at DD!
    I have used the DD Tab Menu before (http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm) and liked it very well, but now im in a situation that need some of that but with a few changes, Im not sure what to call it so ill just link an example..

    http://www.leasy.dk/computer/baerbar...73-skaerm.aspx

    Its the yellow menu in the middle of the page. Does anybody know of a tutorial or something that could guide me further?

    Regards.
    Frederik

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

    Default

    It seems that you want something more like: http://www.dynamicdrive.com/dynamici...tabcontent.htm
    Jeremy | jfein.net

  3. #3
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    True, but in my case I would need to use images as taps..

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

    Default

    What do you mean "you would need to use images as taps"?
    Jeremy | jfein.net

  5. #5
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry. I meant that in this case there would be three background images.
    1. For on
    2. Hoover
    3. For off

    Im trying to work it out, but not quit sure how to.

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

    Default

    Yes, okay. Well if you use the tab content script you can adjust the css and make the hover, active, link state work. http://www.dynamicdrive.com/dynamici...tabcontent.css
    Jeremy | jfein.net

  7. #7
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The problem I have right now is that each button has an auto width of the text written. For these button I would need each to be 136px.

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

    Default

    Now I'm confused. Can we start over with what you want? You want something like in the middle of the page on the website you linked to, correct?
    Jeremy | jfein.net

  9. #9
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, but with images as background. I have modified the code from DD Tab Menu 2:
    (http://www.dynamicdrive.com/dynamici...ddtabmenu2.htm)

    Code:
    #ddimagetabs {
    	height: 32px;
    	width: 100%;
    	}
    	
    .halfmoon{
    margin-bottom: 4px;
    }
    
    .halfmoon ul{
    padding: 13px 19px 12px 15px;
    margin-left: 0;
    margin-top: 1px;
    margin-bottom: 0;
    font: bold 10px Verdana;
    list-style-type: none;
    text-align: left; /*set to left, center, or right to align the menu as desired*/
    }
    
    .halfmoon li{
    position:relative;
    display: inline;
    margin: 0;
    width: 136px;
    }
    
    .halfmoon li a{
    text-decoration: none;
    padding: 13px 19px 12px 15px;
    margin: 0;
    margin-right: 3px; /*distance between each tab*/
    font: bold 12px Verdana;
    background: url(<% = strBackURL & ModPicture(1, "SpecsBtnOff.png", "", "") %>) no-repeat 0 0;
    }
    
    .halfmoon li a:visited{
    color: black;
    }
    
    .halfmoon li a:hover {
    	background: url(<% = strBackURL & ModPicture(1, "SpecsBtnHalf.png", "", "") %>) no-repeat 0 0;
    	}
    	
    .halfmoon li a.current{
    background: url(<% = strBackURL & ModPicture(1, "SpecsBtnOn.png", "", "") %>) no-repeat 0 0;
    }
    
    #tabcontentcontainer{
    width:95%; /*width of 2nd level content*/
    height:1.5em; /*height of 2nd level content. Set to largest's content height to avoid jittering.*/
    }
    
    .tabcontent{
    display:none;
    As you can see I'm trying to maintain a width of 136px.. Without luck. Maybe I'm all out of my way here? Just thought it would work with some tweaks..

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

    Default

    If you wanted to use that with the tab content script you would have to adjust the code so it fits in.
    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
  •