• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Hidding the root of the breadcrumb and the > character?

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jan-09-2010, 12:32 PM
#1
bhockensmith is offline bhockensmith OP
Major grins
Hidding the root of the breadcrumb and the > character?
I'd like to hide the part of the breadcrumb, that takes me back to my GALLERIES page. That, and the ">".


Or if that's not possible, hide the entire breadcrumb and just keep the title of the category visible.


http://www.bhockensmith.com/Weddings
Old Jan-09-2010, 12:50 PM
#2
Allen is offline Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by bhockensmith
I'd like to hide the part of the breadcrumb, that takes me back to my GALLERIES page. That, and the ">".


Or if that's not possible, hide the entire breadcrumb and just keep the title of the category visible.


http://www.bhockensmith.com/Weddings
See this: Remove home and first > from breadcrumb
http://www.dgrin.com/showthread.php?p=939989#post939989

Code:
YE.onContentReady("breadCrumbTrail", function(){this.innerHTML = this.innerHTML.replace(/<a.*?>.*?<\/a>[\s\n]*&nbsp;&gt;&nbsp;/, "");});
Old Jan-09-2010, 12:59 PM
#3
bhockensmith is offline bhockensmith OP
Major grins
Thanks Allen, you beat me to it. I found out I had to remove my java code that converted my username to the word "galleries", then apply this ...


YE.onContentReady("breadCrumbTrail", RemoveTopOfBreadCrumb);

function RemoveTopOfBreadCrumb()
{
var str = this.innerHTML;
str = str.replace(/\n/g, " ");
this.innerHTML = str.replace(/^\s*<a .*?a>.*?</i, "<");
}




Quote:
Originally Posted by Allen
See this: Remove home and first > from breadcrumb
http://www.dgrin.com/showthread.php?p=939989#post939989

Code:
YE.onContentReady("breadCrumbTrail", function(){this.innerHTML = this.innerHTML.replace(/<a.*?>.*?<\/a>[\s\n]*&nbsp;&gt;&nbsp;/, "");});
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump