Results 1 to 2 of 2

Thread: Help with HV menu and css

  1. #1
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with HV menu and css

    i'm using menu script HV menu:
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    Im having problems getting this javascript to put the menu where I need it. in the option file *var.js they have the options x top and y left to place it where you want on the page but if you resize or use a differnt resolution the menu gets outta place. Im using css and if i place any type of txt or pics inside
    Code:
    <ul id="nav">
    <li id="current">
    my old menu (anylink css) was here and displayed correctly
    </li>
    </ul>
    the menu ends up in the right spot. But when ever i put the javascript code inside the same place it doesn't output correctly. I see that the script i'm using supports css but i dont see any options to put in.

    The older menu i used was AnyLink CSS Vertical Menu:
    http://www.dynamicdrive.com/dynamici...nylinkcss2.htm
    but it doesn't support multilevel menus.

    heres my css file:
    Code:
    * {
    margin: 0;
    padding: 0;
    }
    
    body {
    background: #333 url("images/back.gif") repeat;
    text-align: center;
    font: normal 11px/18px verdana, arial, tahoma, sans-serif;
    color: #333;
    padding-top: 40px;
    }
    
    a {
    color: #666;
    text-decoration: none;
    }
    
    a:visited {
    text-decoration: underline;
    }
    
    a:hover {
    color: #000;
    }
    
    #header {
    width: 580px;
    height: 210px;
    background: #000 url("images/header.jpg") no-repeat;
    background-position: top right;
    }
    
    #wrapper {
    width: 580px;
    background: #fff url("images/sidebar.gif") repeat-y;
    background-position: 0 0;
    border: solid 10px #fff;
    margin: 0 auto;
    text-align: left;
    }
    
    h1 {
    width: 140px;
    height: 30px;
    background-color: #333;
    margin: 1px 1px 1px 0;
    float: left;
    font: bold 16px/30px arial, verdana, tahoma, sans-serif;
    padding-left: 10px;
    color: #fff;
    cursor: default;
    }
    
    h1:first-letter {
    color: #f00;
    text-decoration: underline;
    }
    
    h2 {
    width: 419px;
    height: 30px;
    background-color: #333;
    float: right;
    clear: both;
    font: bold 16px/30px arial, verdana, tahoma, sans-serif;
    padding-left: 10px;
    color: #fff;
    margin-top: 1px;
    cursor: default;
    }
    
    #nav {
    list-style: none;
    z-index: 2;
    border-right: 1px solid #fff;
    height: 210px;
    width: 150px;
    }
    
    #nav li a {
    color: #fff;
    font: normal 11px/24px verdana, arial, tahoma, sans-serif;
    display: block;
    width: 140px;
    height: 24px;
    background-color: #000;
    border-bottom: 1px solid #fff;
    padding-left: 10px;
    text-decoration: none;
    }
    
    #nav li a:hover {
    background-color: #333;
    }
    
    #current a {
    background-image: url("images/bullet.gif");
    background-repeat: no-repeat;
    background-position: 100% 50%;
    }
    
    #sidebar {
    width: 132px;
    background-color: #ccc;
    float: left;
    position: relative;
    left: -4px;
    margin-left: -147px;
    border-top: 1px solid #fff;
    font: normal 10px/18px verdana, arial, tahoma, sans-serif;
    padding: 8px;
    }
    
    img {
    border: none;
    }
    
    a img {
    margin-bottom: 20px;
    border: 1px solid #fff;
    }
    
    a:hover img {
    border-color: #f00;
    }
    
    #content {
    float: left;
    width: 400px;
    margin: 10px 0 0 10px;
    }
    
    p {
    margin-bottom: 20px;
    }
    
    p:first-line {
    font-weight: bold;
    }
    
    #footer {
    text-align: center;
    clear: both;
    width: 400px;
    margin-left: 163px;
    }
    I'm new to this so any help will be great.



    Thanks,
    Deep

  2. #2
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found it.

    option target location =

    Awesome menu

    Thanks DD

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
  •