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, ...Menu without text using DNNMenuNavigationProvider Menu without text using DNNMenuNavigationProvider
Previous
 
Next
New Post
5/22/2009 1:13 PM
 

Hi,

I'm trying to setup a skin with one requirement being to have a menu with no text, only a clickable icon per root menu item. The icons are 120 px large.

I have tried two ways to do such a menu, but found none of them so good :

My first  idea was to simply configure an icon for each tab on my site and found a way to hide the menu item texts. The problem here is that I never could have the text disapeared. At best, I could manage the text appearing under the icon. 

Second idea was to specify a background  image for each menu and make the item invisible:

..mainMenu .mi1 span      {visibility: hidden}   
.mainMenu .mi1           {background: url(images/atebas.jpg) no-repeat left top;}
In this case, the problem is that the height and width of the menu item seems to be limited to those of the text zone, even if it is not visible. I found a workaround to this by configuring a dummy icon of the same dimension for each tab. Not pretty.

Any idea to produce an icon-only menu without configuring tabs?

 

 

I'm using DNN 5.0 and the DNNMenuNavigationProvider control for the menu.

 
New Post
5/23/2009 11:24 AM
 

Back again!

I found that the former solution would not work on Firefox: icons are troncated. After some more time on it I get something that is working fine on Firefox, without specifying icons at the tab level. Infortunatly, this time it is IE that troncates icons. ARggh!

Here is the result on FireFox: 

And here it is on IE7:

The css and aspx files cans be found here:

skin.css

iconmenu.aspx

Any help on this is welcome!

 
New Post
5/25/2009 3:12 AM
 

Hi Olivier,

 

have you ever tried to use the Announcements Module for these kind of Menu's?

http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/1841/What-you-can-do-with-Module-templates.aspx

Don't know if this will solve your Firefox - IE issues though!



Herzliche Grüße aus Hückelhoven
Frank Wahl
www.eagleworx.net

EagleworX.net
 
New Post
5/25/2009 4:29 PM
 

Frank, thank you for this suggestion : the Annoncement works well for this purpose, and the icons display the same in IE and Firefox.

Allthough, I needed a dynamic menu (with regular sub menus) so I have been strugling a bit more against css and IE and finally found a solution: setting position:relative in the .mainmenu .root class did the trick.

I have updated the sample ascx and css linked above, for those who would be interested in this issue.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Menu without text using DNNMenuNavigationProvider Menu without text using DNNMenuNavigationProvider


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