View Full Version : Is there something wrong with the buttons?
CynthiaM
Oct-28-2008, 06:13 PM
The only gallery button that I can get to work is the slideshow button. Is there something wrong with the other buttons? Or is it something with my site that is preventing the buttons from working?
Allen
Oct-28-2008, 07:48 PM
The only gallery button that I can get to work is the slideshow button. Is there something wrong with the other buttons? Or is it something with my site that is preventing the buttons from working?
Is this logged in or logged out? I only see a slideshow button.
Do you see buttons that don't work? Exactly what buttons?
CynthiaM
Oct-28-2008, 08:37 PM
Is this logged in or logged out? I only see a slideshow button.
Do you see buttons that don't work? Exactly what buttons?
When I'm logged in (in owner's view), there are buttons toward the upper right in each gallery - Add Photos, Themes, Share and Slideshow. If I click on Add Photos, nada; Themes, nada; Share, nada; Slideshow-Bingo, the slideshow launches.
Doesn't do me much good if I want to link a photo.
jfriend
Oct-28-2008, 08:43 PM
The only gallery button that I can get to work is the slideshow button. Is there something wrong with the other buttons? Or is it something with my site that is preventing the buttons from working?
I suspect the problem is being caused by this CSS customization:
.loggedIn .share_button {display: block;}
Please change that to:
.loggedIn .share_button {
display: block;
display:-moz-inline-box;
display:inline-block;
}
When Smugmug changed their buttons about a month ago, this code needed to change to match it.
CynthiaM
Oct-28-2008, 09:04 PM
I added what you suggested to the CSS. It changed the way the buttons line up, but they still don't work. Only one that works is the slideshow. Was I supposed to delete the line that preceded what you had me add?
.share_button {display: none;}
Should this be deleted?
Keep in mind that I want to be able to disable a viewer's ability to share , but not mine.
jfriend
Oct-28-2008, 09:50 PM
I added what you suggested to the CSS. It changed the way the buttons line up, but they still don't work. Only one that works is the slideshow. Was I supposed to delete the line that preceded what you had me add?
.share_button {display: none;}
Should this be deleted?
Keep in mind that I want to be able to disable a viewer's ability to share , but not mine.
No, you can leave that one to accomplish hiding the button for your viewers. I'm trying to track down what is causing the problem. One theory is that it's being caused by this javascript in your customization:
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>CynthiaM<', '>Home<');
objElement.innerHTML = str;
}
I would recommend changing that code to this:
YE.onContentReady("breadCrumbTrail", ChangeHome);
function ChangeHome() {
var objElement = document.getElementById("breadCrumbTrail")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>CynthiaM<', '>Home<');
objElement.innerHTML = str;
}
}
This will do two things. First, it will limit the code to only the breadCrumbTrail div which does not include the buttons that are getting screwed up so it's a more focused change, but it will still do what you want it to do. And, it will change the timing of this change until we are sure the page is ready for a change.
I don't know if it will fix the problem until you try it, but it's a good thing to fix anyway and it will eliminate the next possible cause.
CynthiaM
Oct-29-2008, 05:32 AM
Thanks! The javascript change did the trick. I now have working buttons with drop-dwon menus!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.