View Full Version : Having text next to homepage slideshow?
Morning, Afternoon, Evening..
I've setup the slideshow on my homepage, no problems..
http:/mog.smugmug.com
What I would like is to have some text about myself etc ( as per my old Bio ) sat next to the slideshow on the right hand side..
How do I go about doing this... I've looked through endless posts via search but can't seem to find the answer I'm looking for..
Thanks in advance.....
javier.rinaldi
Sep-14-2006, 05:17 AM
Hey Mog,
it's pretty easy
first create a div for your text and include this
<div id="bioText">
Welcome to my photo gallery.<br /><br />
All the photos here were either taken with my Canon 350d, or my Fuji Finepix F610 P&S.<br /><br />
Check <a href="http://mog.smugmug.com/gallery/1839601">HERE</a> for recent updates and please feel free to leave comments in the <a href="http://mog.smugmug.com/gallery/1814680">GUESTBOOK</a>
<br /><br />
-Mog<br />
<br /><br />
<br /><em>All images copyright © 2004-2006 Simon Morton. Use of photos without express permission is prohibited. <br />
the Interested in an image? Send me an <a href="mailto:simon.morton@ntlworld.com?Subject=Mog.Smugm ug Query">Email</a>
</div>
the after that put something like
<div id="mySlideshow">
</div>
the in your footer change the following
/* required slideshow variables */
slideshowContainerId = "mySlideshow";
after that use css to get your text in place, if you need help with that write here and we'll sort you out
by the way paragraph <p></p> tags work very nicely at separating text, you can use them instead of having break tags.
PS don't forget to surround your code with
Jav,
Many thanks for the reply/advice. I seem to be having some trouble :dunno
I have the following in my footer:
<div id="bioText">
Welcome to my photo gallery.<br /><br />
All the photos here were either taken with my Canon 350d, or my Fuji Finepix F610 P&S.<br /><br />
Check <a href="http://mog.smugmug.com/gallery/1839601">HERE</a> for recent updates and please feel free to leave comments in the <a href="http://mog.smugmug.com/gallery/1814680">GUESTBOOK</a>
<br /><br />
-Mog<br />
<br /><br />
<br /><em>All images copyright © 2004-2006 Simon Morton. Use of photos without express permission is prohibited. <br />
the Interested in an image? Send me an <a href="mailto:simon.morton@ntlworld.com?Subject=Mog.Smugm ug Query">Email</a>
</div>
<div id="mySlideshow">
</div>
And have also added the line:
slideshowContainerId = "mySlideshow";
I'm now a little stuck as to how to get this to display ! If I refresh my home page I can see the txt for a brief second and then the gallery loads over it...
Any help much appreciated..
Thanks..
javier.rinaldi
Sep-14-2006, 06:14 AM
Jav,
Many thanks for the reply/advice. I seem to be having some trouble :dunno
I have the following in my footer:
<div id="bioText">
Welcome to my photo gallery.<br /><br />
All the photos here were either taken with my Canon 350d, or my Fuji Finepix F610 P&S.<br /><br />
Check <a href="http://mog.smugmug.com/gallery/1839601">HERE</a> for recent updates and please feel free to leave comments in the <a href="http://mog.smugmug.com/gallery/1814680">GUESTBOOK</a>
<br /><br />
-Mog<br />
<br /><br />
<br /><em>All images copyright © 2004-2006 Simon Morton. Use of photos without express permission is prohibited. <br />
the Interested in an image? Send me an <a href="mailto:simon.morton@ntlworld.com?Subject=Mog.Smugm ug Query">Email</a>
</div>
<div id="mySlideshow">
</div>
And have also added the line:
slideshowContainerId = "mySlideshow";
I'm now a little stuck as to how to get this to display ! If I refresh my home page I can see the txt for a brief second and then the gallery loads over it...
Any help much appreciated..
Thanks..
sorry, I should have been a bit more specific
the first two boxes go in you Bio box, and the third is part of your footer
sorry, I should have been a bit more specific
the first two boxes go in you Bio box, and the third is part of your footer
Ok I appear to be getting somewhere..
In my BIO box I have:
<html>
<div id="bioContainer">
<div id="bioText"><p>
Welcome to my photo gallery.
<P></P>
All the photos here were either taken with my Canon 350d, or my Fuji Finepix F610 P&S.
<p></P>
Check <a href="http://mog.smugmug.com/gallery/1839601">HERE</a> for recent updates and please feel free to leave comments in the <a href="http://mog.smugmug.com/gallery/1814680">GUESTBOOK</a>
<p></p>
-Mog
<p></p>
All images copyright © 2004-2006 Simon Morton. Use of photos without express permission is prohibited. <br />
Interested in an image? Send me an <a href="mailto:simon.morton@ntlworld.com?Subject=Mog.Smugm ug Query">Email</a>
</p>
</div>
<div id="bioSS"></div>
<div class="spacer"></div>
</div></html>
In my Footer I have:
******** type="text/javascript">
/* required slideshow variables */
slideshowContainerId = "bioSs";
slideshowUrl = "http://mog.smugmug.com/gallery/1890267";
firstSlideUrl = "http://Mog.smugmug.com/photos/95276178-L.jpg";
randomSlides = true;
resizeToPhoto = false;
slideHeight = "285";
slideWidth = "450";
slideDuration = 5;
loadSlideshow();
</********
<div id="mySlideshow">
</div>
And in my CSS I have:
/* BIO BOX */
.homepage #bioBox .photo {
display: none;
}
.homepage #bioContainer {
border: 1px solid #1E1E47;
width: 723px;
margin-left: -5px;
padding:5px
}
.homepage #bioText {
font-size: 12px;
font-family: arial, verdana, tahoma, helvetica, sans-serif;
text-align: justify;
font-style: italic;
width:245px;
float:left;
}
.homepage #bioSS {
width:450px;
height:285px;
border: 1px solid #1E1E47;
padding: 3px;
float:right;
}
The text is now appearing ( needs tidying up and spacing correctly ) but the slideshow is now not appearing.... I am so close but stuck..
Any ideas ?!
javier.rinaldi
Sep-14-2006, 06:39 AM
However apart from making the BIO text neater and spaced out the slideshow is now not appearing.... I am so close but stuck..
Any ideas ?!
let start with your footer, replace the script /script contents and delete the <div id="mySlideshow">
</div>, that's not where it belonged. The slide show wasn't playing because your div name didn't match the slideshowContainerId, these are case sensitive
/* required slideshow variables */
slideshowContainerId = "bioSS";
slideshowUrl = "http://mog.smugmug.com/gallery/1890267";
firstSlideUrl = "http://Mog.smugmug.com/photos/95276178-L.jpg";
randomSlides = true;
resizeToPhoto = false;
slideHeight = "285";
slideWidth = "450";
slideDuration = 5;
loadSlideshow();
Jav,
Fantastic, it's now working...
Many thanks indeed for your help in this matter :thumb
javier.rinaldi
Sep-14-2006, 07:11 AM
Jav,
Fantastic, it's now working...
Many thanks indeed for your help in this matter :thumb
sweet! glad to be of help :):
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.