DotNetNuke Skins and Resources by ThinkofDesign

Forums

transparant menu

Hello!

I've got a question; is it possible to make a transparant menu in dnn?
If yes, how can I make one?

I don't want the menu to be colorless, but you have to be able to look trough the color to the background. just like putting the opacity of a layer to (for example) 50% in photoshop.

I hope someone can help me out on this one...
Well, the CSS styles you need to make any element transparent are the following:

filter:alpha(opacity=50); /*for IE*/
opacity: 0.5; /*for Mozilla*/
-moz-opacity:0.5; /*for older Mozilla*/

So if you want to make Solpart submenu transparent you have to put this in your skin.ascx:

< dnn:solpartmenu runat="server" id="dnnSOLPARTMENU" submenucssclass="submenu">

along with all other Solpart attributes.

Then add this in your skin.css:

.submenu{filter:alpha(opacity=50);opacity: 0.5;-moz-opacity:0.5;}

along with all other styles.

Cheers


Thank you! It works (and looks) great!

Regards,

Linda

Hi!  I use the same code. Works fine in Firefox, but couldn't get it to work with IE.
 What could be the problem?

Thanks, Ivan




ActiveForums 3.7