Adding a link to a CSS Dropdown Menu

Hello all:
I am fairly new to the world of CSS and am having some
trouble. I found a CSS menu online and styled it to look correctly.
But now I need to add some functionality to it and can't quite get
my head around how to do this (trial and error has not been working
=)
If you take a look at the following link, I would like to
creat a link out of each of the big square buttons. "Specials",
"Chicago Souveniers", etc.
http://gdsquared.com/clients/souvenir/mm5/home.htm
The corresonding CSS file can be viewed at this link. The
beginning of the navigation bar is commented out as, ----- NAV:
START------
http://gdsquared.com/clients/souvenir/css/style.css
Currently when I add a href into the <li> it starts to
take on the properties of the submenus.
If someone could offer any help, it would be greatly
appreciated.
Thank you
- Garrett

"gbowhall" <[email protected]> wrote in
message
news:ff3uvd$1ko$[email protected]..
>I believe I followed the logistics of what you were
saying, but I didn't
>quite
> figure out how to apply that to splitting them up. How
do I pull them
> apart
> from each other (if that's what you were implying) so I
can make each its
> own
> separately styled link? I apologize for my newbie-ness
here.
You don't pull them apart, it's the opposite, you need to
*nest* them
properly
<ul>
<li>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</li>
<li>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</li>
<li>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</li>
</ul>
As you can see, the sub-menus need to be within LIs. ULs do
not "sit" next
to each other inside the main UL
Thierry
Articles and Tutorials:
http://www.TJKDesign.com/go/?0
http://www.divahtml.com/products/scripts_dreamweaver_extensions.php
- divaGPS - Add "you are here" highlighting to virtually any
menu
- divaFAQ - Create FAQ pages that toggle (show/hide) the
answers
- divaPOP - Easy, clean, standards-compliant popup windows.

Similar Messages

  • Long Vertical CSS dropdown menu goes off screen

    Greetings,
    I developed a dropdown menu using Spry (Adobe Dreamweaver). It is a  vertical menu with multiple sub-menus. Some lists are very long and the  menu goes below and off the page.
    I found a great example of what I want my menu to do: http://coins.shop.ebay.com/
    On the side, it says "Browse By:" and there is a vertical menu. If I  shrink the page up vertically a little and watch the sub-menus pop out, I  notice they get pushed up if the parent is close to the bottom of the  screen, which ensures that none of the options go off the page, they get  pushed up.
    How can this be done?
    Thanks

    Have a look here http://pleysier.com.au/mike/
    Maybe this is for you.
    For the accordion I have used jQuery UI Accordion for Widget Browser which can be found here http://emea-events.wip4.adobe.com/cfusion/exchange/index.cfm?event=ext ensionDetail&loc=en_us&extid=2028523
    If  you are using DWCS4 or 5, then you can easily incorporate the widget,  if not then it is a matter of copying and pasting the code.
    Gramps

  • CSS Dropdown Menu Issue in Contribute

    Hello everyone,
    My name is Boris and I have these question related to the
    Adobe Contribute.
    I'm working on a client web site where there is a CSS drop
    down menu that works in all the browsers. Which works perfectly in
    all the browsers without use of JavaScript. However, the issue
    comes when you use Contribute and it simply shows the entire drop
    down menu all incorrectly and overall design gets all wrong because
    of that. I was wondering if anyone had similar problem and has a
    solution for it or if there is a way to make code hidden just to
    Contribute?? I would very much welcome any help with this issue.
    Thank you everyone and have a great weekend. :-)

    I've figured it.
    Just so anyone else who is experiencing this knows - i
    changed all the
    margin-left properties to just 'left' and made the position
    relative. For
    some reason Contribute didn't recognise the margin-left
    property at all.
    Strange. It now displays exactly the same in dreamweaver,
    contribute, ie,
    firefox...etc.
    Thanks for your post Lime.
    "lime" <[email protected]> wrote in message
    news:e26u9n$jqr$[email protected]..
    > "James D" <[email protected]> wrote in
    message
    > news:e26b7m$rv8$[email protected]..
    >> Hi there,
    >>
    >> I have a template page which is based purely in CSS
    and I need that
    >> template
    >> to be used by my client in Contribute, the only
    problem is that when page
    >> is
    >> previewed in Contribute the layers are all on top of
    each other in one
    >> line
    >> making it impossible for client to update. In
    Dreamweaver the preview is
    >> fine.
    >>
    >> I dont have access to the code at the moment as i am
    away from the
    >> office,
    >> but has anyone experienced a similar thing before or
    is there a common
    >> explanation like contribute cannot handle pure css?
    >>
    >> Thanks
    >>
    >>
    >
    > Yeah, I've seen Contribute present CSS layers in an odd
    way as well - not
    > as bad as yours sounds though. I'm also not sure how to
    help... anyone
    > else?
    >
    > --
    > Helen, lime, et al.
    >

  • Dreamweaver Template & CSS Dropdown Menu Problem

    The following website (K
    WEBSITE ) is up and as you can
    see, dropdowns work fine in Firefox and IE 7, but only work on home
    page in IE 6. Seems to be a template problem... not sure. The
    dropdowns do not even show up!
    Can anyone help, please!!! I am going nuts with this.
    Thank you,

    Try adding display:inline-block to your nav ul rule:
    nav ul {
        display:inline-block;
        margin: 0;
        padding: 0

  • Dw6 css dropdown menu help

    wanting to create a drop down menu using css.  i have created this using <ul> and <li> tags, but for some reason it doesn't look right. My html seems to be correct and I have double checked the css and can't seem to find what i did wrong. I have chosen the tags within a tag to be hidden, the text is hidden but the boxes are still shown.  can someone help out a rookie and see what i screwed up?
    url is vacationcribs.com
    thx.\

    Fix the ending list tag (</li>) and come back here if it is still no good.
    This list should help.

  • CSS - Vertical Dropdown Menu

    Hey guys.
    I need the CSS for a vertical menu much like the one on the
    Adobe Homepage under 'Products and
    Solutions' where more data is revealed when the title is scrolled
    over.
    If anybody has links to a tutorial or even have one of these
    menus I could possibly have a look at it would be much appreciated.
    Cheers in advance.

    Hello,
    This is a nice CSS dropdown menu tutorial:
    http://projectseven.com/tutorials/navigation/auto_hide/index.htm
    And another:
    http://www.tjkdesign.com/articles/dropdown/
    example of menu:
    http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/EK.asp
    Take care,
    Tim
    "ForensicBop" <[email protected]> wrote in
    message
    news:g54p5j$nke$[email protected]..
    > Hey guys.
    >
    > I need the CSS for a vertical menu much like the one on
    the Adobe homepage
    > under 'Products and Solutions' where more data is
    revealed when the title
    > is
    > scrolled over.
    >
    > If anybody has links to a tutorial or even have one of
    these menus I could
    > possibly have a look at it would be much appreciated.
    >
    > Cheers in advance.
    >

  • ComboBox (dropdown) Need Help Adding URL links!!!

    I am somewhat of a newbie....Anybody know how to use URL
    links in a ComboBox dropdown menu? NEED HELP!!!!!!! I'm trying to
    make it so that after selecting an option, the user is directed to
    another URL within the same browser window. Using flash 8!
    Thanks,

    Im a bit a newbie myslef but i think you make flash
    commuincate to javascript wich will make the browser goto the URL.
    do a search on getURL and javascript together and i am sure
    you will find something.
    And when slecting to redirct i think its on?(onPress)
    something so maybe look throught the help section in flash 8 and
    look at componets. I think there is some actionscript help there.
    Sorry i could not be more helpful.

  • Little website symbols at left of site names in Bookmarks have disappeared in dropdown menu

    These are the individual small square symbols identifying the website. They are present when checking under "show all bookmarks" in the dropdown menu [which opens the info files], but not present as they were previously in the individual link lines in the dropdown menu.

    Hi nateich2,
    You should take a look at [https://support.mozilla.org/en-US/kb/latest-firefox-issues this article] that discusses some of the issues with the latest build of Firefox.
    There is some information in there that should help you to resolve your issue. Luckily, it is a very easy fix.
    Hopefully this helps!

  • IE 7 - CSS Issues with Spry dropdown Menu *HELP*

    I am using a spry horizontal dropdown menu generated in DW. The menus look consistant in all other browsers except ie7 -  When the drop down menu occurs they all appear to the right and not directly under its menu item.. Looked around in the Css and i cant seem to find the right rule to make the change in ie7 only... was planning on using a css conditional statement to shift them left.. But im not having any luck.. HELP!
    Thanks so much in advance!

    Sorry.. Here is the link.. Thanks so much for your willingness to help!
    http://soldesign.us/_working/WEBSITE_BoulderPlasticSurgery/index.html

  • CSS (Responsive) Horizontal Dropdown Menu (Alignment)

    I am styling a Responsive CSS Horizontal Dropdown Menu (for hours now), and can not get the main menu headings (Directory, Resources, etc) to align left (even) with the logo and content divs. I would also like the submenu headings (Learning & Games) and items (Catch the Bullet, Snoopydoo, etc) to align left (even) with the logo and content divs. - Like I am trying to do with the main headings. --I am trying to get the logo, main menubar heading, and menubar subheading to all align the same left.
    (Optional) I am considering on not having the gray menuboard span the whole screen when opened. Not sure if this would look good, but even more unsure how to keep it in the 90% container the menubar is located in.
    Here is the site for code:
    http://dothopper.com/index.html
    Thanks for any help.

    Another great tip. Never cease to amaze. Thanks . I uploaded the new CSS with red border and looked at somewhat. It seems very helpful, but like this navbar, I'm gonna have to spend some time with. I think this may help me to figure the problem. This is a really GREAT trick, thanks. If you appen to look at my site, and see anything relevant to getting the element to shift left, let me know.
    BTW, crammed some more learning recently (Mostly Dreamweaver, little HTML STructure, and JQuery). Going to try to not use as many divs, (use HTML tags and class selectors). Trying to use captions in my HTML and CSS for organization and understanding. Making copies of all my CSS, JS, and HTML. Set my areas (divs) up as 'section,aside,article,and footer'?--Tried adding metatag info (I think I missed 1 part of the metatag (they wanted a value?). Not sure if my metatagging is correct? Let me know of any advice what I'm doing right/wrong so far.
    I taught myself to design using divs like tables somehwat. With the correct way of design (not using alot of divs)..how would I handle this?...
    My old page (method), I had several,divs:  3- (content75%) and 3- (image25%) all housed within a div (approx 900px). Content was left, and images right. Total DIV that housed them was 75% of 1232px page? (I think)..The div that housed them was approx 900px (.75x1232). Content approx 675px and image approx 225px wide.
    I inseted 480px wide images in that 25% image div and it showed it nicely as approx 225px wide on desktop, and when responsive on mobile, nice full size at 480px. (I think I am/was avoiding having to use alternative images--for each platform-- this way?)
    With the correct way of designing (less divs), how would I handle this scenario above? IF I inserted a 480px image into a approx 900px div with no other divs, it would fill the div with a 480px image. IT would then throw my wole design off. I think I'm just missing some HTML/CSS knowledge. Hope this question makes some kind of sense?

  • How to create a dropdown menu with sub buttons that link back to the labels on click.

    im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click,  sym.play("label") function.
    the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.

    pdp_1 wrote:
    Hi!
    I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
    Regardless on which language button you click on initially, you get the same content but in different languages.
    I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
    Put the video with the first language on the timeline followed by the video with the second language.  Use chapter markers so you can have each video as a chapter in the menu.
    I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
    Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
    Thank you very much!!!
    pdp1
    They must be in the same project.

  • Can't get my dropdown menu buttons to link to another scene.

    I can’t get my dropdown menu buttons to link to other scenes within the same Flash file.  The buttons are unresponsive during playback – as if no code were attached to it.  Here’s what I have as my AS2 code on the dropped button that is supposed to link to the "Published" scene/page:
    on(release){
    _root.gotoAndPlay("published", 1);
    I'm working with Actionscript 2.0 in Flash CS6.
    Any help would be appreciated!
    Thanks,
    Robert

    Hi kglab,
    I do get these compile errors:
    Scene=published, layer=Buttons, frame=1, Line 1 Statement must appear within on handler
    Scene=published, layer=Buttons, frame=1, Line 2 Statement must appear within on handler
    But, I think you are correct about the setInterval Loop.  On the home scene I’ve created a movie symbol which is set to call another swf file:
    loadMovie("frontSlideshow.swf", _root.movie1);
    This frontSlideshow.swf file has the following code in every 10 frames:
    this.stop();
    pause = function ()
                   play();
    clearInterval(pausei);
    pausei = setInterval(pause, 5000);
    This will pause the timeframe every 5 seconds before sliding to the next frame so that each image can be viewed.  It seems odd that the code from this subclass file would affect the timeframe of the main class/file where the “movie1” symbol is located.
    Best,
    Rob

  • Links in dropdown menu

    Greetings,
    I am trying to create web links in a dropdown menu, but need some guidance.

    Horizontal Drop-Menu
    http://jsfiddle.net/NancyO/zN7fU/
    Nancy O.

  • Dropdown menu links don't work when on certain page of my site

    Hi guys,
    I've created a site that has a dropdown menu.
    However, when you go to a certain page on the site on a mobile device (tested on iPhone), the drop down links don't work.
    You can check out the page here - if you go to this page on an iPhone, the Facility and Capacity buttons have dropdowns but the links don't work...
    Does anyone have any thoughts as to what the problem might be?
    Thank you for any help and hope to hear from you.
    SM

    Run the validator at http://validator.w3.org to get a listing of your 101 html errors (including structural defects).
    Clean up those errors and see if that doesn't fix your issue.
    If it doesn't, post back with the clean code and we can take a closer look.

  • Dropdown Menu CSS Style

    Hi!
    I am trying to create a dropdown menu in Dreamweaver. I have watched several tutorials and read many how-to guides and my html looks fine, but editing the style is really throwing me off. I am a beginner to Dreamweaver, so I am unsure of the properties I need to make this right.  The code below, when I hover over the first button the dropdown menu goes behind the other two buttons.  I need the dropmenu to go off to the side of the buttons and down.  If not that, I can align the buttons to go horizontal, so they aren't being covered. I hope that makes sense.
    Thank you in advance!! 
    -M
    HTML
      <div class="dropdown" id="dropdown" style="text-align: left;">
    <ul>
            <li><a href="#">Americas</a>
               <ul>
                       <li><a href="#">Connecticut</a></li>
                        <li><a href="#">Ohio</a></li>
                        <li><a href="#">Vermont</a></li>
                        <li><a href="#">California</a></li>
                        <li><a href="#">Canada</a></li>
                        <li><a href="#">Brazil</a></li>
               </ul>
            </li>
    </ul>
      <ul>
           <li><a href="#">China</a>
                 <ul>
                         <li><a href="#">China</a></li>
                   </ul>
            </li>
    </ul>
    <ul>
            <li><a href="#">Europe</a>
                <ul>
                   <li><a href="#">France</a></li>
                   <li><a href="#">UK</a></li>
                </ul>
            </li>
    </ul>
    </div>
    STYLE
    #dropdown {
    margin: 0;
    width: 150px;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    #dropdown ul {
    margin: 0;
    padding: 0;
    line-height: 30px;
    #dropdown li {
        margin:0;
        padding:0;
        list-style:none;
        float:left;
        position:relative;
    #dropdown ul li a {
    text-align: center;
    height: 30px;
    width: 150px;
    display: block;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    text-shadow: 1px 1px 1px #000;
    background: #CCC;
    #dropdown ul ul {
    position:absolute;
    visibility:hidden;
    top:32px;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
      #dropdown ul li:hover ul {
    visibility:visible;
    position:absolute;
       #dropdown li:hover {
    background: #7D92C6;
    float: left;
        #dropdown ul li:hover ul li a:hover {
        color:#000;
        background:#7D92C6;
      #dropdown a:hover {  
      color:#000;
      background: #7D92C6;
    .clearFloat {
        clear:both;
        margin:0;
        padding:0;

    Are you doing this as an execise in learning or is it for a real website. I ask because if the latter why not just use a tested and proven commercial product and be done with it?  I have used the PVII (http://www.projectseven.com) products for years and can't recommend them highly enough.

Maybe you are looking for