Skip navigation
Hyde1216
Currently Being Moderated

Drop Down Menu, Help Please

Aug 23, 2012 8:52 AM

Tags: #drop #help #dreamweaver #css #down #menu #layout #js

Hi again,

     I'm facing another problem here when it comes to having three different layouts (phone, tablet, and desktop). I have a menu on all three layouts that are supposed to have drop down menus slide down under each menu button. The desktop layout menu bar drop down buttons work perfectly, but the menu for my tablet and phone layouts do not display the drop down menu when I hover my mouse over it. Would anyone be able to tell me why it's not working for the phone and tablet layouts? I would greatly appreciate any help.

 

I plan to post the coding for the phone drop down menu below to make it easier for anyone here to help me. Is there a certain way I should go about doing this or should I just copy and paste the coding into this text field? Would it be at risk of being reused elsewhere?

 
Replies
  • Currently Being Moderated
    Aug 23, 2012 9:02 AM   in reply to Hyde1216

    You will get much more help if you upload your files somewhere and post a link for us.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 12:39 PM   in reply to Hyde1216

    The best way to get help is to upload your page and dependant files to a web server space you control and post a link here so we can see the working page in our browsers.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2012 7:38 AM   in reply to Hyde1216

    You say desktop is OK, but this is view on Firefox on desktop PC.

    These are two problems (linking to your local computer)

     

    .designbuild #subheader {

        background-image: url("file:///D|/Desktop/DBwebsite/images/template_imgs/images/subheade r.jpg");

        height: 33px;

        left: 0;

        width: 760px;

    }

     

    AND

     

    .designbuild #mainContent {

        background-color: #FFFFFF;

        background-image: url("file:///D|/Desktop/DBwebsite/images/template_imgs/images/main_bkg d.jpg");

        background-repeat: no-repeat;

        float: right;

        margin: 0;

        padding: 0 15px;

        text-align: left;

        width: 571px;

    }

    hyde.jpg

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2012 11:05 AM   in reply to Nancy O.

    Hi again -

     

    After repairing your image links, you may also wish to stop the two-word menu text from wrapping

     

    as follows

     

    .jqueryslidemenu {

        font: bold 11px Verdana;

    }

     

     

    To stretch your 30 years image (desktop.css)

     

    .designbuild #subheader {

        background-image: url("../images/template_imgs/images/subheader.jpg");

        height: 33px;

        left: 0;

        width: 100%;

    }

     

     

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 8:07 AM   in reply to Hyde1216

    Hi again -

     

    You are still linking files to your local computer,

    DW can't manage links for you unless you have defined your site in Site Manager.

     

    For example none of these links in your media.css will work online

     

    /* Phone */

    @import url("file:///D|/Desktop/DBwebsite/templates/phone.css") only screen and (max-width:320px);

    /* Tablet */

    @import url("file:///D|/Desktop/DBwebsite/templates/tablet.css") only screen and (min-width:321px) and (max-width:768px);

    /* Desktop */

    @import url("file:///D|/Desktop/DBwebsite/templates/desktop.css") only screen and (min-width:769px);

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 9:09 AM   in reply to Hyde1216

    The Site Manager layout for CS5.5 is different from CS4.

     

    Not as far as your local site definition goes.  Define your local site properly - by browsing to and selecting the local root folder.  Then make your links in the usual way, by browsing to and selecting the target file.  DW will take care of the rest.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 9:43 AM   in reply to Hyde1216

    Hyde1216 wrote:

     

    but if I'm not supposed to use links linked to my local computer,

    You define the root folder i.e." DBwebsite" of the site in Site Manager and then

     

    when you go to link a file or image, DW knows how to write the link i.e  images/pic.jpg

     

    You can always manually correct anf bad links in code view

    like changing

    @import url("file:///D|/Desktop/DBwebsite/templates/desktop.css")

    to

    @import url("templates/desktop.css")

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 12:45 PM   in reply to Hyde1216

    You're welcome

     

    Sorry to say I have no experience whatsoever on handhelds.

    Can't imagine how to view a 780px wide horizontal menu on a phone.

     

    Let's pray for the experts to come along with ideas.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 1:07 PM   in reply to Hyde1216

    tt's possible that the solution is to rewrite the menu CSS FORTHE NARROW devices to display vertically.

     

    Check this one out and the various demos

    http://filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points