[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Semi-transparent background on drop down menu

Posted on 2006-07-24
4
Medium Priority
?
396 Views
Last Modified: 2008-02-01
Hi,

I have created a drop down menu in Dreamweaver, which drops down over an image. At the moment, the background of the drop down menu is solid white. Can someone please tell me how I can make it semi-transparent so that the picture it drops down over actually still shows through slightly? It would be really nice if it could fade to the semi-transparent state from the solid white.

Thanks in advance.

Code generated by Dreamweaver is below:

<script language="JavaScript">
<!--
function mmLoadMenus() {
  if (window.mm_menu_0724130109_0) return;
  window.mm_menu_0724130109_0 = new Menu("root",100,20,"Verdana, Arial, Helvetica, sans-serif",10,"#666666","#666666","#ffffff","#fbdfca","left","middle",5,0,1000,-5,7,true,false,true,0,false,true);
  mm_menu_0724130109_0.addMenuItem("Bob");
  mm_menu_0724130109_0.addMenuItem("Harry");
  mm_menu_0724130109_0.addMenuItem("Russell");
  mm_menu_0724130109_0.addMenuItem("Keira");
  mm_menu_0724130109_0.addMenuItem("Mike");
  mm_menu_0724130109_0.addMenuItem("David");
  mm_menu_0724130109_0.addMenuItem("Jackie");
  mm_menu_0724130109_0.addMenuItem("Michelle");
  mm_menu_0724130109_0.addMenuItem("Laura");
   mm_menu_0724130109_0.fontWeight="bold";
   mm_menu_0724130109_0.hideOnMouseOut=true;
   mm_menu_0724130109_0.menuBorder=0;
   mm_menu_0724130109_0.menuLiteBgColor='#ffffff';
   mm_menu_0724130109_0.menuBorderBgColor='#ffffff';
   mm_menu_0724130109_0.bgColor='#ffffff';

  mm_menu_0724130109_0.writeMenus();
} // mmLoadMenus()

//-->
</script>

...

<td><a href="#" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_0724130109_0,0,19,null,'button');"><img name="button" src="button.gif" width="89" height="16" border="0" alt=""></a></td>
0
Comment
Question by:adm-computing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:adm-computing
ID: 17180273
anyone any ideas please?
0
 
LVL 4

Accepted Solution

by:
KarlPurkhardt earned 2000 total points
ID: 17192660
Apply the following styles to the element that represents the menu:

For IE:
filter: alpha(opacity=85);

For Mozilla:
-moz-opacity: 0.85;

85 is the level of transparency, just play around with it untill you get the right effect.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question