PDA

View Full Version : Another Slideshow & Galleries page question


Cachai
Sep-18-2008, 04:50 AM
I've poked around on other replies to similar questions - which is that I've put in the new slideshow and now my "galleries" link on the navbar goes to the slideshow. I tried some of the other recommendations to no avail. I'd appreciate any help!

davidjowen.smugmug.com

Allen
Sep-18-2008, 05:23 AM
I've poked around on other replies to similar questions - which is that I've put in the new slideshow and now my "galleries" link on the navbar goes to the slideshow. I tried some of the other recommendations to no avail. I'd appreciate any help!

davidjowen.smugmug.com
Welcome to Dgrin :wave

Remove the red from your bio.

<html>
<div id="bioText">
David J. Owen Photography - Minneapolis Wedding Portrait and Landscape photography.
</div>
<script>
Rest of slideshow code.
</script>
</html>
<html>
<script>
var ssConfig = {
AlbumID: '2694999',
...

Remove this for your CSS, it goes in footer javascript

SM.PhotoBar.config.position = 'bottom';

In your CSS change this

.gallery_http://DavidJOwen.smugmug.com/gallery/2769282/1/147384969.pageNav {
display: none;
}

to this

.gallery_2769282 .pageNav {
display: none;
}


Add this to your "footer javascript": You are missing this part of the galleries page hack here (http://dgrin.smugmug.com/gallery/2160039).
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

Cachai
Sep-18-2008, 03:29 PM
Thanks for the welcome.

Ok, I plugged in your suggestions and still the same situation. Either I missed something (possible) or need to change something else? I appreciate the help.
-David

Allen
Sep-18-2008, 04:53 PM
Thanks for the welcome.

Ok, I plugged in your suggestions and still the same situation. Either I missed something (possible) or need to change something else? I appreciate the help.
-David
See if changing the link in your header nav html fixes it.

<li><a href="http://davidjowen.smugmug.com/Galleries">Galleries</a></li>

to this

<li><a href="http://davidjowen.smugmug.com/galleries">Galleries</a></li>

btw, you have two sets of these in your CSS

.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {
display: none;
}

.galleries #bioBox {
display: none;
}

.galleries #galleriesBox,
.galleries #categoriesBox,
.galleries #featuredBox {
display: block;
}

Cachai
Sep-19-2008, 04:09 AM
Allen-
Thanks, that seems to have done the trick. Appreciate the time!
-David