PDA

View Full Version : Slide show help and then some


JEphotography
Apr-24-2007, 09:24 PM
Ok I feel like a total idiot, I am trying to get a slide show going, and I put in all the cut and paste code from the pdp and tutorial, but its just not working for me. I know this should probably be in another forum area, but couldn't figure that out.
So here is my issue. I want my porfolio to be my slide show and that to be my homepage. Anyone want to help walk me through this?
Thanks:scratch
http://www.jephotography.smugmug.com

Allen
Apr-24-2007, 10:11 PM
Ok I feel like a total idiot, I am trying to get a slide show going, and I put in all the cut and paste code from the pdp and tutorial, but its just not working for me. I know this should probably be in another forum area, but couldn't figure that out.
So here is my issue. I want my porfolio to be my slide show and that to be my homepage. Anyone want to help walk me through this?
Thanks:scratch
http://www.jephotography.smugmug.com
Take this slideshow code out of your js and replace the one you have in
your footer code.

This stuff in your footer code gets replaced with the one from your js.

<*script type="text/javascript"*> /*
required slideshow variables */ slideshowContainerId = "divId";
slideshowUrl = "http://nickname.smugmug.com/gallery/2709573"; /* optional
slideshow variables */ /* see properties section */ loadSlideshow();
<*/script*>


This below take from your js and replace above.

<*script type="text/javascript"*>
/* required slideshow variables */
slideshowContainerId = "bioBox";
slideshowUrl = "http://www.jephotography.smugmug.com/2709573";

/* optional slideshow variables */
/* see properties section */
slideHeight="400";
slideWidth="640";

if (YD.hasClass(document.body,'homepage') && !YD.hasClass(document.body,'galleries'))
loadSlideshow ();
<*/script*>

Don't add the *'s and don't leave a space.



Also add this to your js, it defines the function hasPath used above in your footer code.

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}



The last line of your js is missing a }

function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" + ((path) ? ";path=" + path : "") + ((domain) ? ";domain=" + domain : "") + ";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}
}

JEphotography
Apr-25-2007, 07:50 AM
Take this slideshow code out of your js and replace the one you have in
your footer code.

This stuff in your footer code gets replaced with the one from your js.

<*script type="text/javascript"*> /*
required slideshow variables */ slideshowContainerId = "divId";
slideshowUrl = "http://nickname.smugmug.com/gallery/2709573"; /* optional
slideshow variables */ /* see properties section */ loadSlideshow();
<*/script*>


This below take from your js and replace above.

<*script type="text/javascript"*>
/* required slideshow variables */
slideshowContainerId = "bioBox";
slideshowUrl = "http://www.jephotography.smugmug.com/2709573";

/* optional slideshow variables */
/* see properties section */
slideHeight="400";
slideWidth="640";

if (YD.hasClass(document.body,'homepage') && !YD.hasClass(document.body,'galleries'))
loadSlideshow ();
<*/script*>

Don't add the *'s and don't leave a space.



Also add this to your js, it defines the function hasPath used above in your footer code.

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}



The last line of your js is missing a }

function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" + ((path) ? ";path=" + path : "") + ((domain) ? ";domain=" + domain : "") + ";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}
}
Hmmm, well I put in the code. It still didn't work...Should I just start over? What did I miss? I seem to have lost my gallery link in the process of the slideshow attempt as well. I'm a mess. Thanks for all your help.
http://www.jephotography.smugmug.com

Allen
Apr-25-2007, 08:35 AM
Hmmm, well I put in the code. It still didn't work...Should I just start over? What did I miss? I seem to have lost my gallery link in the process of the slideshow attempt as well. I'm a mess. Thanks for all your help.
http://www.jephotography.smugmug.com

Remove the red from your js.

<*script type="text/javascript"*> /* required slideshow variables */
slideshowContainerId = "bioBox";
slideshowUrl = "http://jephotography.smugmug.com/gallery/2709573";

/* optional slideshow variables */
/* see properties section */
slideHeight="400";
slideWidth="640";

if (YD.hasClass(document.body,'homepage') && !YD.hasClass(document.body,'galleries'))
loadSlideshow ();

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
<*/script*>

JEphotography
Apr-25-2007, 12:21 PM
Remove the red from your js.

<*script type="text/javascript"*> /* required slideshow variables */
slideshowContainerId = "bioBox";
slideshowUrl = "http://jephotography.smugmug.com/gallery/2709573";

/* optional slideshow variables */
/* see properties section */
slideHeight="400";
slideWidth="640";

if (YD.hasClass(document.body,'homepage') && !YD.hasClass(document.body,'galleries'))
loadSlideshow ();

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
<*/script*>
Thank you so much, my galleries are back. :clap
What could I do to get the slideshow working?
http://www.jephotography@smugmug.com

Allen
Apr-25-2007, 12:49 PM
Thank you so much, my galleries are back. :clap
What could I do to get the slideshow working?
http://www.jephotography@smugmug.com
Nothing shows up for your source gallery.
Change the link to this in your footer.

http://www.jephotography.smugmug.com/gallery/2709573

JEphotography
Apr-25-2007, 01:13 PM
Nothing shows up for your source gallery.
Change the link to this in your footer.

http://www.jephotography.smugmug.com/gallery/2709573

Allen,
You are awesome. It looks great, thank you so much. :bowWill it be difficult to add/change pictures or to center the vertical pictures?
Thanks again for all your work.

becky
http://www.jephotography.smugmug.net

Allen
Apr-25-2007, 02:09 PM
Allen,
You are awesome. It looks great, thank you so much. :bowWill it be difficult to add/change pictures or to center the vertical pictures?
Thanks again for all your work.

becky
http://www.jephotography.smugmug.net
First remove this from your CSS.

ex. slideshowUrl = "http://jephotography.smugmug.com/gallery/2709573";
ex. slideshowUrl = "http://jephotography.smugmug.com/keyword/2709573";
ex. slideshowUrl = "http://jephotography.smugmug.com/popular ";
value is true or false(default)
ex. slideCaptions = true;
value is true or false(default)
ex. slidesClickable = true;
value is positive number. default is 3 seconds
ex. slideDuration = 10;
value is a quoted element Id
ex. slideshowContainerId = "bioBox";


Add the closing } here and your slideshow will center.

/* Change default image border color */
.imgBorder {
border-color: #000000;}

JEphotography
Apr-26-2007, 11:50 AM
First remove this from your CSS.

ex. slideshowUrl = "http://jephotography.smugmug.com/gallery/2709573";
ex. slideshowUrl = "http://jephotography.smugmug.com/keyword/2709573";
ex. slideshowUrl = "http://jephotography.smugmug.com/popular ";
value is true or false(default)
ex. slideCaptions = true;
value is true or false(default)
ex. slidesClickable = true;
value is positive number. default is 3 seconds
ex. slideDuration = 10;
value is a quoted element Id
ex. slideshowContainerId = "bioBox";



Add the closing } here and your slideshow will center.

/* Change default image border color */
.imgBorder {
border-color: #000000;}




Sorry to respond so late...I have 6 month old twins and they keep me a little disracted.
Anyway, Iremoved and replaced the css you suggested but I don't see the difference in centering...did I miss something? Also my bio has gone missing... where did it go, and could I move it to my About Me page?
Sorry I'm so needy...

Becky

http://www.jephotography.smugmug.net

Allen
Apr-26-2007, 12:06 PM
Sorry to respond so late...I have 6 month old twins and they keep me a little disracted.
Anyway, Iremoved and replaced the css you suggested but I don't see the difference in centering...did I miss something? Also my bio has gone missing... where did it go, and could I move it to my About Me page?
Sorry I'm so needy...

Becky

http://www.jephotography.smugmug.net You missed adding the }

Add the closing } here and your slideshow will center.

/* Change default image border color */
.imgBorder {
border-color: #000000;}


Create a new gallery, set it to journal style and add this to the
gallery descrition.


<html>
<img border="0" src="/photos/141206523-Th.jpg" width="150"
height="100" alt="" class="imgBorder" />
<strong>
<b><i>Jonathan Edward Photography</b></i>
is a family business. We love using Photography to capture memories.
We would love to help you capture yours. Email us!
<a href="mailto:jephotography@cox.net">jephotography@cox.net</a>
</strong>
</html>


BTW, fix the link to your site.
http://jephotography.smugmug.com/

JEphotography
Apr-26-2007, 01:29 PM
You missed adding the }

Add the closing } here and your slideshow will center.

/* Change default image border color */
.imgBorder {
border-color: #000000;}


Create a new gallery, set it to journal style and add this to the
gallery descrition.


<html>
<img border="0" src="/photos/141206523-Th.jpg" width="150"
height="100" alt="" class="imgBorder" />
<strong>
<b><i>Jonathan Edward Photography</b></i>
is a family business. We love using Photography to capture memories.
We would love to help you capture yours. Email us!
<a href="mailto:jephotography@cox.net">jephotography@cox.net</a>
</strong>
</html>

BTW, fix the link to your site.
http://jephotography.smugmug.com/

Hey Allen,

That worked great. Thanks so much. :D One issue is that the slideshow is stuck to slideshow, but I have made it Viewer controlled in the " customize gallery" page. Thanks again
Becky
sorry about the link thing...I think this is correct now.
http://jephotography.net