Browse files

index page scroll work

  • Loading branch information...
1 parent 564577b commit e0fb3594fcb8af2b77ef7464dd110b395c3c7850 @seanburles seanburles committed Jun 6, 2012
Showing with 49 additions and 30 deletions.
  1. BIN images/home-button.png
  2. +8 −8 scripts/scripts.js
  3. +34 −15 styles/style.css
  4. +7 −7 testimonials.html
View
BIN images/home-button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 scripts/scripts.js
@@ -94,21 +94,21 @@ $(document).ready(function() {
});
-1
+
$(document).ready(function() {
-2
+
-3
+
$('a[href=#top]').click(function(){
-4
+
$('html, body').animate({scrollTop:0}, 'slow');
-5
+
return false;
-6
+
});
-7
+
-8
+
});
View
49 styles/style.css
@@ -230,7 +230,9 @@ p {
}
-
+ #slide_wrap #text2 a:hover {
+ color: #cccccc;
+ }
li.slide1, li.slide2, li.slide3 {
@@ -300,6 +302,12 @@ ul.products_nav li{
#slide_wrap #text a:hover {
color: #cccccc;
}
+
+ #products_button{
+
+ margin-top: 10%;
+
+ }
/* END PRODUCTS PAGE */
@@ -808,8 +816,7 @@ a.nav:active {text-decoration:none;}
background-color: #d2232d;
cursor: pointer;
height: auto;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: .70em;
margin-top: 20px;
width: 90px;
text-align: center;
@@ -936,10 +943,11 @@ a.nav:active {text-decoration:none;}
.testimonialColumns {
width: 100%;
- margin-bottom: 12%;
+ margin-bottom: 10%;
min-height: 400px;
border-top: solid 2px #d2232a;
-
+ margin-top: 5%;
+
}
@@ -971,20 +979,31 @@ p + p {
.testimonial_pictures{
width: 50%;
-
+ margin-top: 10%;
margin: 115px 0 0 35px;
}
+
+
+
+ .button{
+ margin-left: 1.5em;
+ padding: 1em;
+ background-color: #d2232a;
+ }
+
+ a.button{
+
+ text-decoration: none;
+ color: white;
+ }
+
+
+a.button:hover {
+ color: #cccccc;
+ }
- .polute a{
-
- position: fixed;
-
- margin: 200px 0 0 -120px;
- color: #d2232a;
- text-decoration: none;
- }
-<<<<<<< HEAD
+ <<<<<<< HEAD
/* #Media Queries
======================================================================================= */
View
14 testimonials.html
@@ -26,7 +26,7 @@
<div id="header" class="container clearfix">
<div id="logo">
- <a href="index.html"><img src="images/logo.png"> </div></a><!--end logo-->
+ <a href="index.html" id="top"><img src="images/logo.png"> </div></a><!--end logo-->
<div id="nav">
@@ -112,6 +112,7 @@
<h3>All of our referrals</h3>
</br>
<p>My husband and I are seniors, in our 50's and 60's. We watch the local channels, for News, and an occasional movie. My 82 year old mama lives with us, and she loves her Latino programs, All the Documentary, Discovery and History channels. </p> <p>Comcast kept going up in price, and not offering more channels. My mother had Dish Network when she live in Idaho. We called Mr. Shukree, he came out the next day and gave us information on Dish. He was patient and kind, when it came to </p>
+
</div>
<div class="column2"><p> explaining the Technology of this high-definition stuff. Mr. Shukree walked us through the control of the remote. Helped my mama find her old channels from Comcast on her new Dish channels. </p>
@@ -125,7 +126,7 @@
</div> <!--/columns-->
-
+<div><a href="#top" class="button">BACK TO TOP</a></div>
<div class="testimonialColumns" class="clearfix">
@@ -134,12 +135,12 @@
</br>
<p>The technician that SLT sent out to my residence was competent and professional. He worked with us to find the best package to fit our unique situation and <b><i>he did the cleanest install job of any installer Ive worked with.</b></i></br></br>
<h5>-Mark Lofdahl </br> Antelope, OR</h5></p> </div>
- <img class="testimonial_pictures" src="images/safety_picture.jpg">
+ <div><img class="testimonial_pictures" src="images/safety_picture.jpg"></div>
</div> <!--/columns-->
-
+<div><a href="#top" class="button">BACK TO TOP</a></div>
<div class="testimonialColumns" class="clearfix">
@@ -149,15 +150,14 @@
<p>My job schedule is really hectic and the only time I could be home for the install was after 8 pm. Most of the other companies I spoke with could not accomodate me. When I called SLT Telecom to set up my install time,<b><i> they were happy to come at my convenience</i></b>. The installer was knowledgeable and professional and stayed with me until I fully understood my equipment. I have already told my family and co-workers about SLT.</br></br>
<h5>-Penny Barton </br>Lake Oswego, OR</h5></p> </div>
- <img class="testimonial_pictures" src="images/my-convenience.jpg">
+ <div><img class="testimonial_pictures" src="images/my-convenience.jpg"> </div>
</div> <!--/columns-->
-
+<div><a href="#top" class="button">BACK TO TOP</a></div>
</div><!--/column-container-->
-
<div id="footer" class='clearfix container'><!--New Footer/anthony-->
<p>&copy; 2012 SLT Telecom </p>

0 comments on commit e0fb359

Please sign in to comment.