Changing DW's dropdown nav background from a solid colorto an image?

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Changing DW's dropdown nav background from a solid colorto an image?

    I've used Dreamweaver MX's rather handy dropdown Javascript menu creation
    abilities for a few years and have always found it to be incredibly easy to
    understand. However, I need to try something new: I'm working on a site with
    dropdown navigation, as usual, but instead of using the solid color DW sets for
    when you rollover one of the menus, I'd like to have an image instead. For
    example, instead of hovering over a button, having the dropdown appear, and
    then having the menu items turn green when you mouse over them, I'd like their
    background to turn to a floral graphic (or something, that's just an example).
    Is there a simple way to change that in the code? In the Javascript for the
    dropdown menus, would it be as easy as changing the background color from a hex
    value to an image path instead?

    Thanks,
    m19

    Morgan19 Guest

  2. Similar Questions and Discussions

    1. Acrobat 8 Pro + LaserJet 2605 = all pageswith solid red background
      I just bought a new LaserJet 2605dn and everything *except* Acrobat 8 prints perfectly. Acrobat 8 prints every page of every PDF with a solid red...
    2. Changing Background Graphic
      I am trying to change the logo at the top of our home page that was apparently created as a "background" graphic in Dreamweaver. Can I do this in...
    3. Transparent Background with solid type?
      I know I can have a 50% transparent shape with a text box over it that has 100% black type by just stacking them… but is there a way I can combine...
    4. semi transparent background to dropdown menus?
      http://webforums.macromedia.com/fireworks/messageview.cfm?catid=193&threadid=662716
    5. Changing menu background in OSX?
      While Aqua is nice I do not like bare white spaces or bare white spaces with light grey lines and there are lots of these in Aqua. I want to...
  3. #2

    Default Re: Changing DW's dropdown nav background from a solid color to an image?

    > handy

    That's a strange word to describe such a broken function. I hope I have
    caught you in time. Please read these -

    [url]http://apptools.com/rants/jsmenu.php[/url]
    [url]http://apptools.com/rants/menus.php[/url]


    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Morgan19" <webforumsuser@macromedia.com> wrote in message
    news:drldpr$h1m$1@forums.macromedia.com...
    > I've used Dreamweaver MX's rather handy dropdown Javascript menu creation
    > abilities for a few years and have always found it to be incredibly easy
    > to
    > understand. However, I need to try something new: I'm working on a site
    > with
    > dropdown navigation, as usual, but instead of using the solid color DW
    > sets for
    > when you rollover one of the menus, I'd like to have an image instead. For
    > example, instead of hovering over a button, having the dropdown appear,
    > and
    > then having the menu items turn green when you mouse over them, I'd like
    > their
    > background to turn to a floral graphic (or something, that's just an
    > example).
    > Is there a simple way to change that in the code? In the Javascript for
    > the
    > dropdown menus, would it be as easy as changing the background color from
    > a hex
    > value to an image path instead?
    >
    > Thanks,
    > m19
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Changing DW's dropdown nav background from a solidcolor to an image?

    *shrug*

    It's always worked for me and it gets the job done quickly... That first link
    looks like an interesting read but probably won't help to get what I need done;
    it appears the second link offers alternatives but possibly coding tips. I'll
    check into that one, but my main goal here, since I already have the menus
    created, is to simply change the background color to a background.

    Thanks for the info,
    m19

    Morgan19 Guest

  5. #4

    Default Re: Changing DW's dropdown nav background from a solid color to an image?

    > It's always worked for me

    That only means you haven't tested it in modes where it would fail.
    > and it gets the job done quickly
    If you are satisfied with the half-baked job it does, then that's all that
    really matters.
    > is to simply change the background color to a background.
    There is no provision in the UI to specify that. You would have to manually
    hack into the mm_menu.js file and add it to the document writes in there.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Morgan19" <webforumsuser@macromedia.com> wrote in message
    news:drlg0n$k88$1@forums.macromedia.com...
    > *shrug*
    >
    > It's always worked for me and it gets the job done quickly... That first
    > link
    > looks like an interesting read but probably won't help to get what I need
    > done;
    > it appears the second link offers alternatives but possibly coding tips.
    > I'll
    > check into that one, but my main goal here, since I already have the menus
    > created, is to simply change the background color to a background.
    >
    > Thanks for the info,
    > m19
    >

    Murray *TMM* Guest

  6. #5

    Default Re: Changing DW's dropdown nav background from a solidcolor to an image?

    I'm glad you feel like arguing with me or showing me the "error of my ways",
    but it really isn't helping.
    > There is no provision in the UI to specify that. You would have to manually
    > hack into the mm_menu.js file and add it to the document writes in there.
    Yes, exactly. I realize there's no way to do it directly in Dreamweaver,
    otherwise I would've had it done by now. (I'm beginning to think I should've
    never mentioned DW in the first place, as you seem to be fixated on preaching
    to me how horrible it is when that was never my question in the first place.)

    Perhaps I should rephrase the question: how is it possible to change the
    background color to a background image directly from the code? If you don't
    know, maybe someone else might.

    m19

    Morgan19 Guest

  7. #6

    Default Re: Changing DW's dropdown nav background from a solid color to an image?

    I told you how to do that in my last post, no?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Morgan19" <webforumsuser@macromedia.com> wrote in message
    news:drm07f$d5i$1@forums.macromedia.com...
    > I'm glad you feel like arguing with me or showing me the "error of my
    > ways",
    > but it really isn't helping.
    >
    > > There is no provision in the UI to specify that. You would have to
    > > manually
    > > hack into the mm_menu.js file and add it to the document writes in
    > > there.
    >
    > Yes, exactly. I realize there's no way to do it directly in Dreamweaver,
    > otherwise I would've had it done by now. (I'm beginning to think I
    > should've
    > never mentioned DW in the first place, as you seem to be fixated on
    > preaching
    > to me how horrible it is when that was never my question in the first
    > place.)
    >
    > Perhaps I should rephrase the question: how is it possible to change the
    > background color to a background image directly from the code? If you
    > don't
    > know, maybe someone else might.
    >
    > m19
    >

    Murray *TMM* Guest

  8. #7

    Default Re: Changing DW's dropdown nav background from a solidcolor to an image?

    No, you didn't. You said "You would have to manually hack into the mm_menu.js
    file and add it to the document writes in there." That's like telling someone
    who asks for directions "Well, you have to keep driving and eventually you'll
    get there."

    I'm looking for something a little more detailed...

    m19

    Morgan19 Guest

  9. #8

    Default Re: Changing DW's dropdown nav background from a solid color to an image?

    > I'm looking for something a little more detailed...

    Did you look in mm_menu.js?

    The problem with such questions is that since none of the experienced people
    use, or encourage others to use, these menus, the quality of help for
    questions like this is pretty poor. This is particular true when you are
    asking for a step by step guide.

    Perhaps you could try wrapping the call in the body of the page to the
    loadmenus function in a div, and then writing a CSS rule to style only the
    divs within that div to use a background image.

    The problem is that something like this would be trivially simple were you
    using a 'legitimate' menu system. However, it's your gun and your foot as
    they say....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Morgan19" <webforumsuser@macromedia.com> wrote in message
    news:drnpjh$r2a$1@forums.macromedia.com...
    > No, you didn't. You said "You would have to manually hack into the
    > mm_menu.js
    > file and add it to the document writes in there." That's like telling
    > someone
    > who asks for directions "Well, you have to keep driving and eventually
    > you'll
    > get there."
    >
    > I'm looking for something a little more detailed...
    >
    > m19
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139