View Full Version : Retitle popular photos gallery
W.W. Webster
Jul-10-2007, 03:36 PM
I have retitled the popular photos box on my home page as 'selected photos'. I want the same title on the gallery itself.
Can one of our javascript experts kindly oblige with the necessary code?
W.W. Webster
Jul-11-2007, 04:43 PM
You-hoo! :wave
Andy
Jul-11-2007, 05:19 PM
I always think pics grabs and details help, immensely. This is what you want to change, yes?
http://myskitch.com/awilliamsny/ross_collins_s_photo_galleries_-_powered_by_smugmug-20070711-201847.jpg
W.W. Webster
Jul-11-2007, 05:22 PM
I always think pics grabs and details help, immensely.Sorry! :rolleyes
This is what you want to change, yes?That's it! :thumb
W.W. Webster
Jul-13-2007, 01:09 PM
This is what you want to change, yes?So there's no way? :dunno
W.W. Webster
Jul-15-2007, 01:48 PM
It's said patience is a virtue, but I'd rather be a little less virtuous. Have I really stumped the brains trust? :confused
The silence is deafening! :snore Even if someone can just tell me I'm :deadhorse at least I can give up and go away.
richW
Jul-16-2007, 08:46 AM
Ross, This might be what you are looking for. Paste in your footer section, remove the *'s.
<*script type="text/javascript"*>
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>popular photos<', '>Selected photos<');
objElement.innerHTML = str;
}
<*/script*>
It's from this post: http://www.dgrin.com/showthread.php?p=489315#4
W.W. Webster
Jul-17-2007, 01:15 AM
Ross, This might be what you are looking for.Thanks, Rich, this worked a treat! :thumb
I'm sorry I hadn't worked out the solution for myself from your post (which I did look at), but in my ignorance I hadn't realised I could adapt that answer to my needs.
Thanks again for your help.
richW
Jul-17-2007, 01:26 AM
You're Welcome Ross....:thumb Anytime.....
W.W. Webster
Jul-17-2007, 01:31 AM
You're Welcome Ross....:thumb Anytime.....I'm very confident that, as I think your Governor may have said in another life, 'I'll be back'! :wink
richW
Jul-17-2007, 01:48 AM
I'm very confident that, as I think your Governor may have said in another life, 'I'll be back'! :winkSo maybe it's time for a signature change: " DubDubDub-Inator"
devbobo
Jul-17-2007, 02:45 AM
Ross, This might be what you are looking for. Paste in your footer section, remove the *'s.
<*script type="text/javascript"*>
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>popular photos<', '>Selected photos<');
objElement.innerHTML = str;
}
<*/script*>
It's from this post: http://www.dgrin.com/showthread.php?p=489315#4
here's the new shiny yui-fied version (put in the javascript section)...
YE.onContentReady('breadcrumb', function() {this.innerHTML = this.innerHTML.replace('popular photos', 'selected photos')});
vBulletin v3.5.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.