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, ...DNN Nav 2 SeparatorsDNN Nav 2 Separators
Previous
 
Next
New Post
6/17/2010 2:48 PM
 
For one of my projects, the client has requested a 'tab' look to their navigation. I hadn't yet attempted this with Nav 2.0 so I setup a temp installation to give it a shot. I followed some of the video tutorials from DNN Creative and have gotten the appearance correct (Active and non-active tabs) but the on-click behavior just looks bad...

I setup the right and left "sides" of the tab to be the Right and Left separators via the SeparatorRightHTML and SeparatorLeftHTML and the 'active' separators via the SeparatorLeftHTMLActive and SeparatorRightHTMLActive properties

The CSS is:

.NavSepLeft {
	background: #fff url("images/NavSepLeft.gif") no-repeat;
	padding: 0 10px 25px 0;
	float: left;
}

.NavSepRight {
	background: #fff url("images/NavSepRight.gif") no-repeat;
	padding: 0 0 25px 10px;
	float: left;
}

.NavSepLeftActive {
	background: #34006d url("images/NavSepLeftActive.gif") no-repeat;
	padding: 0 10px 25px 0;
	float: left;
}

.NavSepRightActive {
	background: #34006d url("images/NavSepRightActive.gif") no-repeat;
	padding: 0 0 25px 10px;
	float: left;
}

.MainNav {
	font-family: Arial, sans-serif;
}
.MainNav .root {
	float: left;
}

.MainNav .root .txt {
	background: #34006d url("images/NavItemBG.gif") repeat-x;
	float: left;
	padding-top:3px;
	padding-bottom:3px;
}

.MainNav .sel .txt  {
 	background: #34006d url("images/NavItemBGActive.gif") repeat-x;
	float: left;
	padding-top:3px;
	padding-bottom:3px;
	color:#0f0;
}


and a sample of the behavior can be seen at: http://tctc.netdocsdev.com - when you click the tabs, there is a 'pause' between the Menu Item and the separators. Any thoughts?

Edit: yes, it looks like a Benetton explosion, but it's a development skin I use that helps me 'see' the different DIVs, spans, etc... this is not for production.

Wells Doty Jr
Online Content Development
 
New Post
6/18/2010 6:00 PM
 
Wells, it's a bit late now, but there is a Tabs example for NAV 2 here: http://dnnskinextensions.codeplex.com...
 
New Post
6/18/2010 6:04 PM
 
Hey Timo,

Thanks for the response! I'll take a peek and see what I missed.

Wells

Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN Nav 2 SeparatorsDNN Nav 2 Separators


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