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, ...SOLPARTMENU - separators to create tabbed lookSOLPARTMENU - separators to create tabbed look
Previous
 
Next
New Post
1/6/2006 3:02 PM
 

I'm trying to create a menu with a tabbed look. I am having two issues:

1) When I specify leftseparator="<img src='tableft.gif'>" in the menu properties in the ascx file, dotnetnuke wants to look in the wrong folder for the graphic, not the skin folder. I have been able to overcome this by hardoding the path for the specific portal/skin, but I know that isn't the textbook approach. How do I make this work?

2) I can get the left & right separators to show up, but how do I insert a background graphic to go behind the left/right separators behind the link text? Which css property do I use, and how do I get it all bottom aligned in the menubar?

Are there any working examples of a tabbed menu using the left/right separators that I can see?

Thanks!

 
New Post
1/8/2006 11:15 AM
 

set the following property...

useskinpatharrowimages="true" 

that tells it to look in the skin folder for images instead of the /images folder. The best place to specify the background image for the tab center area is in the stylesheet ( .css ) file.

For the best results, apply the background image to the TD which contains the tab

.MainMenu_RootMenuItem TD
{
 BACKGROUND-POSITION-Y: bottom;
 background-image: url(tab.jpg);
 background-repeat: repeat-x;
}


 

 
New Post
1/8/2006 11:19 AM
 

a little more info .. to have differrent images for the active tab ...

set the following properties...

useskinpatharrowimages="true"
rootmenuitemcssclass="MainMenu_RootMenuItem"
rootmenuitemactivecssclass="MainMenu_RootMenuItemActive"
leftseparator="<img src='tab_l.jpg'>"  
rightseparator="<img src='tab_r.jpg'>"  
leftseparatoractive="<img src='tabsel_l.jpg'>"  
rightseparatoractive="<img src='tabsel_r.jpg'>"  

that tells it to look in the skin folder for images instead of the /images folder. The best place to specify the background image for the tab center area is in the stylesheet ( .css ) file. For the best results, apply the background images to the TDs which contains the tabs

.MainMenu_RootMenuItem TD
{
 BACKGROUND-POSITION-Y: bottom;
 background-image: url(tab.jpg);
 background-repeat: repeat-x;
}

.MainMenu_RootMenuItemActive TD
{
 BACKGROUND-POSITION-Y: bottom;
 background-image: url(tabsel.jpg);
 background-repeat: repeat-x;
}

 
New Post
7/16/2009 8:35 AM
 

i used this article to apply tabs, but my difficulty is when it hovers the hover css only applys to the middle of the tab, not the left or right seperators.  How can you get the whole tab to display a different color when hovering?

 
New Post
7/16/2009 9:28 AM
 

Hi Sam

You can try this   leftseparator= <img src="<%= SkinPath %>itableft.gif" > I am sure this will work for you

Regards

Leo TechnoSoft Pvt. Ltd

http://www.leosys.in

 

 


Leo TechnoSoft Pvt.Ltd - The Biggest DotNetNuke Development Team
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...SOLPARTMENU - separators to create tabbed lookSOLPARTMENU - separators to create tabbed look


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