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, ...Need help with SolPart menu!Need help with SolPart menu!
Previous
 
Next
New Post
4/29/2008 11:11 AM
 

Hi,

The SolPart menu in my skin currently renders a menu item like this:

<td>
<img src="images/spacer.gif" />
Page Name
</td>

However, I want it to be like:

<td>
<img src="images/spacer.gif" />
<div>
   <div>
      <div>
           Page Name
      </div>
   </div>
</div>
</td>

so that I can specify the left and right styles for menu items.

Could anyone tell me how to accomplish this by modifying the menu property in ASCX?

Thanks,

Duc

 
New Post
4/29/2008 1:45 PM
 

If you want to specify a left and right side for each (root) menu item. You can use the property: RootMenutemLeftHTML="some html code" and RootMenuItemRightHTML

Peter

 


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
4/29/2008 6:25 PM
 

Thanks Peter,

However, that way I can't separate a class for separators when they're hover or active.

Anyone? I've seen this before, just don't know how to do it.

 
New Post
4/30/2008 8:02 AM
 

Did you look at the left/right seperator property (CSSLeftSeperator)? there is also a CSSLeftSeperatorSelection for dnnNav, I am not sure it will help you, I haven't tried it myself.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
4/30/2008 9:13 AM
Accepted Answer 

Sorry, I re-checked separator classes and it is viable, but extremely difficult.

Anyway, I found out the trick. Setting lefthtml="<div><div>" and righthtml="</div></div>"  will render the menu items like above.

Hope this helps other skinners in customizing their skins,

Duc

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Need help with SolPart menu!Need help with SolPart menu!


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