View Full Version : Having trouble getting galleries page to work
sac23
Dec-08-2007, 07:49 PM
I have set up a slideshow on my homepage and made the galleries hidden. I then created a seperate galleries page with a link on my homepage. I can't figure out how to get my galleries to show up on the galleries page. I have tried many different things so I may have my js and css messed up now. Any help is appreciated.
www.imagecreationsphotography.com (http://www.imagecreationsphotography.com)
www.imagecreations.smugmug.com/galleries (http://www.imagecreations.smugmug.com/galleries)
Thanks. SC
Allen
Dec-08-2007, 08:21 PM
I have set up a slideshow on my homepage and made the galleries hidden. I then created a seperate galleries page with a link on my homepage. I can't figure out how to get my galleries to show up on the galleries page. I have tried many different things so I may have my js and css messed up now. Any help is appreciated.
www.imagecreationsphotography.com (http://www.imagecreationsphotography.com)
www.imagecreations.smugmug.com/galleries (http://www.imagecreations.smugmug.com/galleries)
Thanks. SC
Move the script to the top here in your footer and see if that helps.
<script>
if (hasPath("featured"))
YD.addClass(document.body, "featured");
<script> << remove
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
</script>
sac23
Dec-08-2007, 08:58 PM
I am still showing my slideshow on both pages and no galleries on either page. I have the gallery hidden, do I have to show gallery and then put something in css to not show it on the homepage. Thanks. SC
imagecreations.smugmug.com
imagecreations.smugmug.com/galleries
Allen
Dec-08-2007, 10:59 PM
I am still showing my slideshow on both pages and no galleries on either page. I have the gallery hidden, do I have to show gallery and then put something in css to not show it on the homepage. Thanks. SC
imagecreations.smugmug.com
imagecreations.smugmug.com/galleries
This should take care of the galleries showing.
Add the bold.
.homepage #galleriesBox,
.homepage #categoriesBox,
.homepage #featuredBox {display:none;}
.galleries #galleriesBox,
.galleries #categoriesBox {display:block !important;}
.galleries #bioBox {display: none;}
You have duplicate homepages and the show is on both. The CSS
above hides the bio on your galleries page but it's running in the background.
Try adding the red in your bio and see if this stops it on the galleries page.
<script>
if (YD.hasClass(document.body,'homepage') &&
!YD.hasClass(document.body,'galleries'))
{
var oParams = new Object;
oParams.AlbumID = "3932204";
oParams.newWindow = 'false';
oParams.transparent = "true";
oParams.splash = "http://www.smugmug.com/img/ria/ShizamSlides/smugmug_black.png";
oParams.showLogo = "false";
oParams.clickUrl = "http://www.smugmug.com";
oParams.showThumbs = "false";
oParams.showButtons = 'false';
oParams.crossFadeSpeed = '350';
createSWF(600,600, oParams, "transparent");
}
</script>
sac23
Dec-09-2007, 12:22 PM
Thanks Allen, so far it looks like it is working the way I want. I want to try and get the homepage a little tighter, maybe get rid of some the empty space. I appreciate all your help. Thanks. SC
Allen
Dec-09-2007, 01:46 PM
Thanks Allen, so far it looks like it is working the way I want. I want to try and get the homepage a little tighter, maybe get rid of some the empty space. I appreciate all your help. Thanks. SC
To tighten up your homepage you might make the show height 400.
createSWF(600,400, oParams, "transparent");
The portraits will be shorter but they seem whole, not cut off.
Looks like adding the IF statement stopped the show from running in the
background of your gallerieis page.
sac23
Dec-09-2007, 07:17 PM
Allen I set it to 400 and that worked nicely. Do you know if it is possible to move my navbar links onto my banner. If you look at the bottom of the banner you can see were the yellow gets darker under the border, I would like to put the links on the bottom of the banner. I don't know if it is possible but that would also tighten up the homepage and maybe even get rid of the option to scroll down. Thanks. SC
Allen
Dec-09-2007, 07:51 PM
Allen I set it to 400 and that worked nicely. Do you know if it is possible to move my navbar links onto my banner. If you look at the bottom of the banner you can see were the yellow gets darker under the border, I would like to put the links on the bottom of the banner. I don't know if it is possible but that would also tighten up the homepage and maybe even get rid of the option to scroll down. Thanks. SC
Your actual banner image is 150px high. Decrease the 173 to 150 or so.
#my_banner {
width: 749px;
height: 155px;
margin: 0 auto;
background: url(http://imagecreations.smugmug.com/photos/226170726-O.gif) no-repeat;
}
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.