ivar
Mar-30-2006, 01:23 PM
My smugmug nickname is "ivar". When browsing through my cat/subcat/gall's, that is the first thing you see in the breadcrumb. I want to change that to "Home", just makes more sense to me.
Anyway, i put the following code in my footer:
<script type="text/javascript">
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('Ivar', 'Home');
objElement.innerHTML = str;
}</script>
In my Category & Sub-Categories pages it works fine, however in my galleries, it still shows "Ivar" and when clicked i am being sent to "home.smugmug.com".
Anyone know why there is that difference, and what i need to do to get it to work in my gallery pages?
Anyway, i put the following code in my footer:
<script type="text/javascript">
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('Ivar', 'Home');
objElement.innerHTML = str;
}</script>
In my Category & Sub-Categories pages it works fine, however in my galleries, it still shows "Ivar" and when clicked i am being sent to "home.smugmug.com".
Anyone know why there is that difference, and what i need to do to get it to work in my gallery pages?