FireWXPhoto
Feb-22-2010, 03:09 PM
Hello,
I want to be able to stop the mouseover bubble that is on my galleries. See one of my galleries here (http://firewxphoto.smugmug.com/Fire/San-Bernardino-City-Fire/San-Bernardino-City-1/11108267_6cgQP#778061783_3vPYd) I have used the script below
function delHover() {
oLst = YD.getElementsBy(function(el) {return (YD.hasClass(el,'imgBorder') || YD.hasClass(el,'imgBorderOn'))},'img');
for (i=0; i < oLst.length ; i++) {
if (oLst[i].title && oLst[i].title != '') oLst[i].title = '';
if (oLst[i].alt && oLst[i].alt != '') oLst[i].alt = '';
}
}
YE.onContentReady('bodyWrapper', function() {if (!YD.hasClass(document.body, 'smugmug_ajax')) delHover()});
onPhotoShow.subscribe(function(){YE.onAvailable('m ainImage', delHover)});
I placed that in the Bottom Java Script, but I still get the mouseover bubble. Any help would be appreciated.
Thanks
I want to be able to stop the mouseover bubble that is on my galleries. See one of my galleries here (http://firewxphoto.smugmug.com/Fire/San-Bernardino-City-Fire/San-Bernardino-City-1/11108267_6cgQP#778061783_3vPYd) I have used the script below
function delHover() {
oLst = YD.getElementsBy(function(el) {return (YD.hasClass(el,'imgBorder') || YD.hasClass(el,'imgBorderOn'))},'img');
for (i=0; i < oLst.length ; i++) {
if (oLst[i].title && oLst[i].title != '') oLst[i].title = '';
if (oLst[i].alt && oLst[i].alt != '') oLst[i].alt = '';
}
}
YE.onContentReady('bodyWrapper', function() {if (!YD.hasClass(document.body, 'smugmug_ajax')) delHover()});
onPhotoShow.subscribe(function(){YE.onAvailable('m ainImage', delHover)});
I placed that in the Bottom Java Script, but I still get the mouseover bubble. Any help would be appreciated.
Thanks