PDA

View Full Version : Trying to achieve this


BKGPhoto
Mar-29-2011, 07:50 AM
Hello again. I was hoping someone can help me. I am trying to make a page similar to this (http://www.keiththarp.com/services/). I want this type of page to appear when you hit my pricing button. One you arrive on this page I would like to be able to click either the picture or the underlined text to bring me to another page that would describe my packages in depth for the category they have chosen. How can I do this. Once again thank you in advance for your awesome help.

Allen
Mar-29-2011, 08:08 AM
Hello again. I was hoping someone can help me. I am trying to make a page similar to this (http://www.keiththarp.com/services/). I want this type of page to appear when you hit my pricing button. One you arrive on this page I would like to be able to click either the picture or the underlined text to bring me to another page that would describe my packages in depth for the category they have chosen. How can I do this. Once again thank you in advance for your awesome help.
Create a new gallery and set to journal (old) or journal style. Place all the
info/photos in the gallery description. We will help you format it.

Like this here (http://allen-steve.smugmug.com/Other/Staggard-Links/4250488_ZEbea) you can see what can be achieved. It can be reformatted any way you'd like.

jfriend
Mar-29-2011, 08:14 AM
Create a new gallery and set to journal (old) or journal style. Place all the
info/photos in the gallery description. We will help you format it.

Like this here (http://allen-steve.smugmug.com/Other/Staggard-Links/4250488_ZEbea) you can see what can be achieved. It can be reformatted any way you'd like.Except, the journal format won't get a click on the image to go anywhere he wants. To get the click on the image to go anywhere he wants would require one of your custom HTML galleries, wouldn't it?

Allen
Mar-29-2011, 08:27 AM
Except, the journal format won't get a click on the image to go anywhere he wants. To get the click on the image to go anywhere he wants would require one of your custom HTML galleries, wouldn't it?
Yes, the html in the gallery description would be configured with photo links.

BKGPhoto
Mar-29-2011, 11:59 AM
Yes that's exactly what I want. A big title across the top of the page then four (click-able) pictures (all aligned left though) and text boxes to the right with the text squared off and neat. Here (http://bkgphotography.smugmug.com/Pricing/Prices/16391933_xYMmz)is the link to the gallery I made as you requested.

Create a new gallery and set to journal (old) or journal style. Place all the
info/photos in the gallery description. We will help you format it.

Like this here (http://allen-steve.smugmug.com/Other/Staggard-Links/4250488_ZEbea) you can see what can be achieved. It can be reformatted any way you'd like.

BKGPhoto
Mar-29-2011, 02:40 PM
Allen, is there a tutorial for that kind of set up or am I going to need a guided tour?

Allen
Mar-29-2011, 03:32 PM
Allen, is there a tutorial for that kind of set up or am I going to need a guided tour?
Add some text to the gallery description to active it. Are those the photos
you want showing in the description?

BKGPhoto
Mar-29-2011, 03:41 PM
Yes those are the photos I'll go add a few lines now.

Allen
Mar-29-2011, 04:11 PM
Allen, is there a tutorial for that kind of set up or am I going to need a guided tour?
First remove all that javascript from your CSS. Only the CSS part goes in there.

Add this to the description. It's a work in progress, you'll probably want a lot of tweaking. :D

<html>
<div id="pageTop">
<center>BKG Photography Pricing</center><br>
<p>text text text text text text</p>
</div>

<hr style="width:805px; color:#ccc; margin: 30px 0;">

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="/photos/1233069129_tKq7y-S.jpg">
</a>
</div>
<div class="textRight">
<div class="boxTitle">Link 1</div><br>
<p>text text text text text text text text text
text text text text text text text text text</p>
</div>
</div>
<div class="spacer"></div>
<hr style="width:805px; color:#ccc; margin: 30px 0;">

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="/photos/1233071305_NsQNF-S.jpg">
</a>
</div>
<div class="textRight">
<div class="boxTitle">Link 2</div><br>
<p>text text text text text text text text text
text text text text text text text text text</p>
</div>
</div>
<div class="spacer"></div>
<hr style="width:805px; color:#ccc; margin: 30px 0;">

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="/photos/1233081119_cubjL-S.jpg">
</a>
</div>
<div class="textRight">
<div class="boxTitle">Link 3</div><br>
<p>text text text text text text text text text
text text text text text text text text text</p>
</div>
</div>
<div class="spacer"></div>
<hr style="width:805px; color:#ccc; margin: 30px 0;">

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="/photos/1233083479_hiyt6-S.jpg">
</a>
</div>
<div class="textRight">
<div class="boxTitle">Link 4</div><br>
<p>text text text text text text text text text
text text text text text text text text text</p>
</div>
</div>
<div class="spacer"></div>
</html>

Add to CSS

.gallery_16391933 #journal {width: 900px;}

.gallery_16391933 #pageTop { /* text only */
margin: 0 auto;
width: 500px;
text-align: justify;
font-size: 110%; /* Sets the opening paragraph body text font size */
margin-bottom: 80px; /* gap underneath */
}

.gallery_16391933 #pageTop center { /* title only */
font-family: Comic Sans MS, verdana;
text-align: center;
color: #6090D1;
font-size: 200%; /* Sets the page title font size */
}

.gallery_16391933 .myBox { /* each photo and text */
height: 280px; /* fits photo height */
p adding-top: 20px; /* gap below horz line */
}

.gallery_16391933 .textLeft {
float: left;
padding-left: 10px;
width: 450px;
}

.gallery_16391933 .textRight {
float: right;
padding-right: 50px;
width: 400px;
}

.gallery_16391933 .photoLeft {
float: left;
height: 300px;
width: 200px;
}

.gallery_16391933 .photoRight {
float: right;
clear: left;
height: 150px;
width: 150px;
}

.gallery_16391933 #albumDescription p { /* boxTitle text */
font-family: Comic Sans MS, verdana;
font-size: 125%;
color: #6090D1;
}

.gallery_16391933 #albumDescription .boxTitle {
text-align: center;
font-family: Comic Sans MS, verdana;
font-size: 135%;
color: #6090D1;
}

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
border: 8px ridge #543C1C;
padding: 40px;
background: #222;
}
.gallery_16391933 .notLoggedIn .journal_entry,
.gallery_16391933 .notLoggedIn #albumNav_top,
.gallery_16391933 .notLoggedIn #albumNav_bottom
{display: none;}


/* next two include stuff needed for IE6 image hovers to work */
.gallery_16391933 #albumDescription a:link img,
.gallery_16391933 #albumDescription a:visited img,
.gallery_16391933 #albumDescription img {
border: 4px ridge #ccc;
_border: 4px ridge #fff;
}

.gallery_16391933 #albumDescription a:focus img,
.gallery_16391933 #albumDescription a:hover img,
.gallery_16391933 #albumDescription a:active img,
.gallery_16391933 #albumDescription img:hover {
border: 4px ridge #444;
_border: 4px ridge #ccc;
}

BKGPhoto
Mar-29-2011, 04:20 PM
Thanks again Allen. This may be a dumb question but how do I know what's java and whats CSS I don't want to delete the wrong stuff.

BKGPhoto
Mar-29-2011, 04:35 PM
Never mind I figured out what I had to remove :)



Thanks again Allen. This may be a dumb question but how do I know what's java and whats CSS I don't want to delete the wrong stuff.

Allen
Mar-29-2011, 04:36 PM
Thanks again Allen. This may be a dumb question but how do I know what's java and whats CSS I don't want to delete the wrong stuff.
All this

HEADER JAVASCRIPT: //----------------------------------------------------------------
// Start of JFriend HTML5 Slideshow code in top javascript
//
// Copyright John Friend, 2011, All Rights Reserved
// Limited permission is granted to use this code on Smugmug
// Version 1.0.0
//----------------------------------------------------------------
// File: ..\src\jfslideshow-top.js (Comments removed, indentation preserved)
if (typeof JF == "undefined") {var JF = new Object();}
var YD = YAHOO.util.Dom;
var YE = YAHOO.util.Event;
JF.InsertSlideshow = function(config, o, location)
{
var id, container;
location = location || "firstchild";
if (o === "here")
{
id = YD.generateId(null, "slideshow");
document.write('<div class="slideshowContainer" id="' + id + '"></div>');
}
YE.onDOMReady(function()
{
try {
if (o === "here")

... (SNIP) ...

JF.InsertSlideshow(config, "here");
}
JF.InsertSlideshowIntoBio = function(config)
{
JF.InsertSlideshow(config, "#userBio");
};
//----------------------------------------------------------------
// End of JFriend HTML5 Slideshow Code in top javascript
//
// Copyright John Friend, 2011, All Rights Reserved
// Limited permission is granted to use this code on Smugmug
//----------------------------------------------------------------

BKGPhoto
Mar-29-2011, 06:13 PM
Ok allen quick question. Your box is there but so are my originals in the journal view. How can I hide them. Link (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz)

Allen
Mar-29-2011, 08:57 PM
Ok allen quick question. Your box is there but so are my originals in the journal view. How can I hide them. Link (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz)
Did you log out and look? Logged in you see them for maintenance.

BKGPhoto
Mar-30-2011, 06:57 AM
Thanks Allen that did it. A few more questions and i should be done bugging you How can I get rid of the box around the text? I want to use the default box that appears in the black arts theme but keep the line between pictures? I would also like to change the color of the background box to black. Last question how can I change the text color in other galleries I figured it out for this gallery but I cant for my other html text only galleries. Link (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz)

Did you log out and look? Logged in you see them for maintenance.

Allen
Mar-30-2011, 10:18 AM
Thanks Allen that did it. A few more questions and i should be done bugging you How can I get rid of the box around the text? I want to use the default box that appears in the black arts theme but keep the line between pictures? I would also like to change the color of the background box to black. Last question how can I change the text color in other galleries I figured it out for this gallery but I cant for my other html text only galleries. Link (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz)
Disable these

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
/* border: 4px ridge #CCCCCC; */
padding: 40px;
/* background: #222; */
}

Last photo is small, might use Small size instead Th.

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="http://www.bkgphoto.com/Proofs/Wortman/Wortman-11/858831206_desr2-S.jpg">
</a>
</div>

Looks like you might try the default width also.

/* .gallery_16391933 #journal {width: 900px;} */

Change all the lines like this
<!-- <hr style="width: 805px; color: rgb(196, 193, 193); margin: 30px 0pt;"> -->
<hr style="width: 680px; color: rgb(196, 193, 193); margin: 30px 0pt;">

Remove box at bottom of contact gallery.

/*====Contact-Page====*/
.gallery_8745645 #breadCrumbTrail,
.gallery_8745645 .play_slideshow,
.gallery_8745645 #albumNav_top,
.gallery_8745645 #albumNav_bottom,
.gallery_8745645 .nophotos h3,
.gallery_8745645 .notLoggedIn .emptyGallery,
.gallery_8745645 .pageNav,
.gallery_8745645 #stylebar
{display:none;}
.gallery_8745645 .journal_entry
{border:none;}

BKGPhoto
Mar-30-2011, 01:40 PM
Ok Allen i made all your changes. My title Bkg photography pricing is now in 3 lines instead of one can I squeeze them into 1?

How can I change text colors in other galleries individually?

Can I buy you Dinner?



Disable these

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
/* border: 4px ridge #CCCCCC; */
padding: 40px;
/* background: #222; */
}
Last photo is small, might use Small size instead Th.

<div class="myBox">
<div class="photoLeft">
<a href="http://www.myLinkedSite.com">
<img src="http://www.bkgphoto.com/Proofs/Wortman/Wortman-11/858831206_desr2-S.jpg">
</a>
</div>
Looks like you might try the default width also.

/* .gallery_16391933 #journal {width: 900px;} */

Change all the lines like this
<!-- <hr style="width: 805px; color: rgb(196, 193, 193); margin: 30px 0pt;"> -->
<hr style="width: 680px; color: rgb(196, 193, 193); margin: 30px 0pt;">

Remove box at bottom of contact gallery.

/*====Contact-Page====*/
.gallery_8745645 #breadCrumbTrail,
.gallery_8745645 .play_slideshow,
.gallery_8745645 #albumNav_top,
.gallery_8745645 #albumNav_bottom,
.gallery_8745645 .nophotos h3,
.gallery_8745645 .notLoggedIn .emptyGallery,
.gallery_8745645 .pageNav,
.gallery_8745645 #stylebar
{display:none;}
.gallery_8745645 .journal_entry
{border:none;}

Allen
Mar-30-2011, 03:10 PM
Ok Allen i made all your changes. My title Bkg photography pricing is now in 3 lines instead of one can I squeeze them into 1?

How can I change text colors in other galleries individually?

Can I buy you Dinner?
Fixen' these should clean up Pricing gallery

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
/* border: 4px ridge #CCCCCC; /* */ << backwards comment tag
padding: 40px;
/* background: #222; /* */ << backwards comment tag
}

...
...
_border: 2px ridge #ccc;
}

} << remove extra }

.gallery_16404567 #albumDescription .boxTitle {
text-align: center;
font-family: arial, arial; << remove extra font
font-size: 135%;
color: #CCCCCC;
}

Change width so all lines center.
<hr style="width: 680px; color: rgb(196, 193, 193); margin: 30px 0pt;">
Change 0pt to 0. Only fonts use the pt, use px for all other numbers.

Allen
Mar-30-2011, 03:17 PM
How can I change text colors in other galleries individually?

Can I buy you Dinner?
"Other galleries" covers a wide range, any specific ones in mind? :D

And what text on the pages? header, body, footer, description, captions?

BKGPhoto
Mar-30-2011, 03:53 PM
Ok all cleaned up... mostly one picture does stick out of the box on the bottom of this (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz) page

I want to change the text color from white to gray on my about page this (http://bkgphotography.smugmug.com/Pricing/Wedding/16404567_ofnpm)page (http://bkgphotography.smugmug.com/Pricing/Wedding/16404567_ofnpm)this (http://bkgphotography.smugmug.com/Pricing/Portrait/16404985_5ikS6) page and my contact page.


"Other galleries" covers a wide range, any specific ones in mind? :D

And what text on the pages? header, body, footer, description, captions?

Allen
Mar-30-2011, 04:33 PM
Ok all cleaned up... mostly one picture does stick out of the box on the bottom of this (http://www.bkgphoto.com/Pricing/Prices/16391933_xYMmz) page

I want to change the text color from white to gray on my about page this (http://bkgphotography.smugmug.com/Pricing/Wedding/16404567_ofnpm)pagethis (http://bkgphotography.smugmug.com/Pricing/Portrait/16404985_5ikS6) page and my contact page.


Missed one change. /* should be */

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
/* border: 4px ridge #CCCCCC; */
padding: 40px;
/* background: #222; */
}

.gallery_16404567 #albumDescription {color: #ccc;}

BKGPhoto
Mar-30-2011, 04:50 PM
That fixed it :clap:barb


Missed one change. /* should be */

/* increase height to keep footer gap when adding more photos */
.gallery_16391933 #albumDescription {
/* border: 4px ridge #CCCCCC; */
padding: 40px;
/* background: #222; */
}

.gallery_16404567 #albumDescription {color: #ccc;}