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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding pipes "|" to the DNN Mega MenuAdding pipes "|" to the DNN Mega Menu
Previous
 
Next
New Post
12/31/2011 11:24 AM
 

A website I'm working on for someone, Aparna Photography, is supposed to have pipes between the menu options.  For example: About | Session | Gallery | Contact 

I hope to not have to do anything fancy or change out the menu provider, but I can't seem to figure out how to do it.  I could mess around with the different divs, items, etc, using css, but as far as I know, that would only work well for inserting images or background images and not so well for trying to add content "|".

Any text that I add in the skin to create some new html to do what I want in interpreted by the mega menu code, which pukes on it.

Any thoughts?  Thanks!

 
New Post
12/31/2011 12:50 PM
 

It's probably not a stellar performer, but you might throw this bit of jQuery into the skin file.

$().ready(function () {
$('#Nav li.root span').not(':first').prepend('| ');
});

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
12/31/2011 12:59 PM
 
Check this thread: http://www.dotnetnuke.com/Resources/Forums/forumid/109/threadid/425380/scope/posts.aspx



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
12/31/2011 1:01 PM
 
Oh, if you use the version of the DDR menu that replaces the DNN Nav menu, there is a "built-in" separator that you can style. Look for documentation on the DNN Nav menu for the attributes that you can specify.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
1/1/2012 8:40 PM
 
Richard Howells wrote:

It's probably not a stellar performer, but you might throw this bit of jQuery into the skin file.

$().ready(function () {
$('#Nav li.root span').not(':first').prepend('| ');
});

 Thanks all.  Seems like multiple options that would have worked, but Richard's scripted was pretty quick.  I made a few modifications to take the prepended text out of the span and into the actual li item so that I could apply a different font to the pipe than the actual menu text.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Adding pipes "|" to the DNN Mega MenuAdding pipes "|" to the DNN Mega 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