PDA

View Full Version : Help with Footer Javascript Section, Please


Melissaphoto
Jun-16-2008, 09:17 AM
Hello,

richW helped me a while ago to change my breadbrumb. Instead of showing my full name at the beginning of the breadbrumb, it was replaced with "Home", which I like a lot better. Thanks, richW!

But I just discovered a little thing that will probably bug me if I don't fix it. In the breadcrumb, the word "Home" is underlined continuously through the empty space and arrow next to it, but the other words (like "Galleries") are just underlined through the word. I'd prefer to have only the word underlined.

Can someone please help me fix this? Here's the Footer Javascript code (below). Let me know if you need to see something else.

Thanks for your help.


var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>Melissa<', '>Home > <a href="/galleries">Galleries</a><');
objElement.innerHTML = str;
}


http://www.melissaphoto.com (http://www.melissaphoto.com/)