Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Solpart menu tutorial?Vertical Solpart menu tutorial?
Previous
 
Next
New Post
7/16/2006 12:04 PM
 

Thanks for the link.

Is it possible to have the menus have a tranparent or semi transparent background?

 
New Post
7/16/2006 12:22 PM
 
I have had some success with this. Essentially you can specify CSS classes for most (if not all..im not sure) of the HTML elements generated with JavaScript on the client side. Thus (conceptually) you can do most anything you can do with regular html and css. On our site we were able to have the root menus be background transparent (displaying only the text). We didn't try this with the submenus.

All in all there is plenty of room for customization and tweaking, but its a bit of a black box sometimes because its hard to "view HTML source" on a dynamically generated chunk of HTML. Its a bit difficult at times to see and understand how the CSS classes combine for the effective style of menu elements. Did a lot of trial and error to get our menu up, and its still not perfect. ;)

HTH

-ee-

-ee-
 
New Post
7/16/2006 12:57 PM
 

Dear s2k

Yes it is possible to set your rootmenu to transparent
Use the different styles for the rootmenu and set the background-color: transparent;
Attention! If you set the border styles transparent then the borders have the same color as the color that you've set. (BUG in IE)
Perhaps in the beginning it is easier not to display the icon and the arrows.

Here are the different css styles for the rootmenu (only the menuitem, not icon and arrows):

Settings Own Settings Default Settings
menucontainercssclass ---------- MainMenu_MenuContainer
menubarcssclass ---------- MainMenu_MenuBar
menuitemcssclass ---------- MainMenu_MenuItem
menuitemselcssclass ---------- MainMenu_MenuItemSel
rootmenuitemcssclass ---------- No default css class set
rootmenuitemselectedcssclass ---------- No default css class set
rootmenuitemactivecssclass ---------- No default css class set
rootmenuitembreadcrumbcssclass ---------- No default css class set

Here are the different styles for the submenu

Settings Own Settings Default Settings
submenucssclass ---------- MainMenu_Submenu
menuitemcssclass ---------- MainMenu_MenuItem
menuitemselcssclass ---------- MainMenu_MenuitemsSel
submenuitemactivecssclass ---------- No default css class
submenuitemselectedcssclass ---------- No default css class
submenuitembreadcrumbcssclass ---------- No default css class

If you want to set the background semi transparent for the 'container of the submenu' (IE-code) you can do this:...

.MainMenu_SubMenu {
background-color: #ffffff;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
}


   Hope this will help


Vriendelijke groeten
Gilbert Vanden Borre
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Solpart menu tutorial?Vertical Solpart menu tutorial?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out