Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 19 additions and 11 deletions.
  1. +3 −0  css/hackweek.css
  2. +16 −11 js/hackweek.js
View
3  css/hackweek.css
@@ -123,6 +123,7 @@ span:hover{
#start-menu{
position: inherit;
right: 50%;
+ display: none;
}
.menu-border{
margin-top: 0;
@@ -173,6 +174,7 @@ span:hover{
background-repeat: no-repeat;
width: 791px;
height: 120px;
+ position: relative;
float: left;
}
#hackweek9-img{
@@ -182,6 +184,7 @@ span:hover{
height: 378px;
float: left;
margin-top: -132px;
+ position: relative;
}
#pay-off{
background-color: #D4DF4C;
View
27 js/hackweek.js
@@ -147,6 +147,13 @@ $(function () {
}
}
+ /* project page actions */
+ $("#break_apart").on('click', function(event) {
+ // make stuff fall down:
+ //http://blog.themeforest.net/tutorials/simulate-gravity-with-jquery/
+ })
+
+
/* where page actions */
$(".location").on('mouseover click', function(event) {
@@ -257,25 +264,23 @@ $(function () {
/* start page text initial animation */
if ($(window).scrollTop() == 0) {
- $("#claim-line1").css({ top: -600 })
- $("#claim-line1").animate({
+ $("#hackweek9-text").css({ top: -600 })
+ $("#hackweek9-text").animate({
top: 0
}, 800);
- $("#claim-line2").css({ left: $(window).width() })
- $("#claim-line2").animate({
+ $("#hackweek9-img").css({ left: $(window).width() })
+ $("#hackweek9-img").delay(300).animate({
left: 0, top: 0
}, 800);
- $("#claim-line3").css({ right: $(window).width() })
- $("#claim-line3").animate({
- left: 0, top: 0
+ $("#pay-off").css({ right: $(window).width() })
+ $("#pay-off").delay(600).animate({
+ right: '50%'
}, 800);
- $("#claim-line4").css({ bottom: -600 })
- $("#claim-line4").animate({
- top: 0
- }, 800);
+ $("#start-menu").delay(1200).fadeIn()
+
}

No commit comments for this range

Something went wrong with that request. Please try again.