View Full Version : Breabcrumb customization
born2dive
Mar-21-2010, 06:06 AM
Is there a way to point the highest level of my breadcrumb to another page that is not on smugmug? The home page is hosted elsewhere and I'd like my breadcrumb to point there instead.
Thanks.
jfriend
Mar-21-2010, 06:43 AM
Customization number #1 here (http://www.dgrin.com/showthread.php?t=135068) will allow you to do that. To do that, you install that customization, then you make two minor modifications to the script.
In this line of the script, you change "Galleries" to whatever you want the new top level of the breadcrumb to say:
targetTag.innerHTML = "Galleries";
like ths:
targetTag.innerHTML = "Home";
And, in this line of the script:
targetTag.href = str;
you change it to assign the full URL of the destination like this:
targetTag.href = "http://www.google.com";
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.