View Full Version : Slideshow help
lots of pics
Sep-13-2006, 08:52 PM
My slideshow shows up when i am logged in to my site, but when i log out and try to look at the slideshow, it does not come up. Any suggestions?
www.timelessmoment.com
Barb
Sep-14-2006, 06:23 AM
My slideshow shows up when i am logged in to my site, but when i log out and try to look at the slideshow, it does not come up. Any suggestions?
www.timelessmoment.com (http://www.timelessmoment.com)
Hi :)
Needed to add the slideshow Div ID to your bioBox. I added it for you, and it seems to be working now :)
lots of pics
Sep-14-2006, 06:35 AM
Hi :)
Needed to add the slideshow Div ID to your bioBox. I added it for you, and it seems to be working now :)
Thank you!!
ivar
Sep-14-2006, 06:44 AM
Hi :)
Needed to add the slideshow Div ID to your bioBox. I added it for you, and it seems to be working now :)Nono, you can't add a div called bioBox, since the bioBox already is "bioBox". Only one div with the same ID per page. You can have multiple div's with the same classes though.
The problem was, there was no text at all in the bioBox. If there is no text at all, this will make the bioBox not show up at all when logged out.
Barb
Sep-14-2006, 06:46 AM
Nono, you can't add a div called bioBox, since the bioBox already is "bioBox". Only one div with the same ID per page. You can have multiple classes though.
The problem was, there was no text at all in the bioBox. If there is no text at all, this will make the bioBox not show up at all when logged out.
Well you learn something new every day. It worked tho - how come?
Well you learn something new every day. It worked tho - how come?just because you can drive the wrong way down a one way street doesnt mean its a good idea :D
Barb
Sep-14-2006, 08:03 AM
just because you can drive the wrong way down a one way street doesnt mean its a good idea :D
Well, that's great; HOWEVER, that doesn't answer my question!:scratch
ivar
Sep-14-2006, 08:22 AM
just because you can drive the wrong way down a one way street doesnt mean its a good idea :D:lol3
Well, that's great; HOWEVER, that doesn't answer my question!:scratchbecause there was some text in the box, that makes it appear when logged out.
Barb
Sep-14-2006, 08:30 AM
:lol3
because there was some text in the box, that makes it appear when logged out.
My question was: Why if you are not supposed to use the div id biobox did it work when I used it?
There was no text in her bio prior to that.
ivar
Sep-14-2006, 08:59 AM
My question was: Why if you are not supposed to use the div id biobox did it work when I used it?
There was no text in her bio prior to that.Smugmug decides based upon the content of the bioBox, if the bioBox is showed or not on the homepage. If there is atleast one character in there, it will be showed. If not, it won't be showed, so people viewing the site won't see an empty bioBox. When logged in, it always shows, so the person log in, can change text if desired.
So, it worked correctly, because you put text in the bioBox. The problem was with the name you used. On one page there can only be one div with an ID (but more with the same class). Since SmugMug already assigns the ID "bioBox" to the box containing the biography, you cannot use it again. That's a XHTML/CSS thing, has nothing to do with smugmug really.
Example, say you want to put 3 elements in your header; not allowed: <*div id="my_header"><*/div><*div id="my_header"><*/div><*div id="my_header"><*/div>
allowed:<*div id="my_header1"><*/div><*div id="my_header2"><*/div><*div id="my_header3"><*/div>
or<*div class="barb"><*/div><*div class="barb"><*/div><*div class="barb"><*/div>
Barb
Sep-14-2006, 09:01 AM
Smugmug decides based upon the content of the bioBox, if the bioBox is showed or not on the homepage. If there is atleast one character in there, it will be showed. If not, it won't be showed, so people viewing the site won't see an empty bioBox.
So, it worked correctly, because you put text in the bioBox. The problem was with the name you used. On one page there can only be one div with and ID (but more with the same class). Since SmugMug already assigns the ID "bioBox" to the box containing the biography, you cannot use it again. That's a XHTML/CSS thing, has nothing to do with smugmug really.
Example, say you want to put 3 elements in your header; not allowed: <*div id="my_header"><*/div><*div id="my_header"><*/div><*div id="my_header"><*/div>
allowed:<*div id="my_header1"><*/div><*div id="my_header2"><*/div><*div id="my_header3"><*/div>
or<*div class="barb"><*/div><*div class="barb"><*/div><*div class="barb"><*/div>
Thx Ivar for the explanation.
Mike Lane
Sep-14-2006, 10:34 AM
It comes down to the fact that the spec says you can't have more than one ID per page but most browsers will let you do it anyhow. I think there could possibly be more detrimental effects for javascript than for the page display. Is that true Lee or Ivar?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.