|
|
Thread Tools | Display Modes |
|
#1
|
|
|
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 |
|
|
|
|
#2
|
||
|
"tweak 'til it squeaks"
|
Quote:
http://www.dgrin.com/showthread.php?p=939989#post939989 Code:
YE.onContentReady("breadCrumbTrail", function(){this.innerHTML = this.innerHTML.replace(/<a.*?>.*?<\/a>[\s\n]* > /, "");});
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#3
|
||
|
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:
|
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|