Skip to content

Commit

Permalink
Merge pull request #18 from visuale/nodejs
Browse files Browse the repository at this point in the history
Added a timeout() to the parallax image on the front page.
  • Loading branch information
gastaldi committed Jun 16, 2015
2 parents 25c2ad0 + e94c50c commit 0c7ed69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/css/forge.css
Expand Up @@ -179,8 +179,6 @@ h6,.h6 {
}




.page-section {
position: relative;
width:100%;
Expand Down Expand Up @@ -2195,8 +2193,6 @@ GRADIENT BACKGROUNDS
float:none;
}



/* Create a static bg image for the top-most 'download button' section (normally where parallax goes) */
.page-section.intro-download-section {
background-image: url(../images/sparks_med_res.jpg);
Expand All @@ -2205,7 +2201,6 @@ GRADIENT BACKGROUNDS
background-position: center center;
}


/* Change login & register buttons to 1 pillbox */
.login-register-button-div {
margin-top:0;
Expand Down
4 changes: 2 additions & 2 deletions app/js/lib/forge.jquery.js
Expand Up @@ -64,7 +64,7 @@ function initializeUI() {
//widthBox();

// Use vertical-only parallax
runVertParallax();
setTimeout('runVertParallax()',300);

// Maintain position of emblem if viewing on a phone-size screen
smallScreenWidthMgr();
Expand Down Expand Up @@ -600,7 +600,7 @@ function productModal() {
// Vertically-oriented parallax
// Initially designed to deactivate for smaller screens but that happens automatically
function runVertParallax() {
$('.intro-download-section').parallax({imageSrc: 'images/sparks_med_res.jpg'});
$('.intro-download-section').parallax({imageSrc: 'images/sparks_large_res.jpg'});
}


Expand Down

0 comments on commit 0c7ed69

Please sign in to comment.