Skip to content

Commit

Permalink
last page
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingonionman committed Jan 8, 2020
1 parent aee9f7a commit e416b55
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 13 deletions.
33 changes: 33 additions & 0 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,39 @@ $(document).ready(function() {
$(lister[13]).addClass("visible")
}


if (scrollTop > 31200 && scrollTop < 31400 ){
for (let i = 9; i < 13; ++i) {
$(lister[i]).removeClass("visible")
$(lister[i]).addClass("invisible")

}
$(lister[14]).removeClass("invisible")
$(lister[14]).addClass("visible")
}

/* PAGE FOUR */
if (scrollTop > 33200 && scrollTop < 33400 ){
$(lister[14]).removeClass("visible")
$(lister[14]).addClass("invisible")

$(lister[15]).removeClass("invisible")
$(lister[15]).addClass("visible")
}

if (scrollTop > 35200 && scrollTop < 35400 ){
$(lister[16]).removeClass("invisible")
$(lister[16]).addClass("visible")
}
if (scrollTop > 37200 && scrollTop < 37400 ){
$(lister[17]).removeClass("invisible")
$(lister[17]).addClass("visible")
}
if (scrollTop > 39200 && scrollTop < 39400 ){
$(lister[18]).removeClass("invisible")
$(lister[18]).addClass("visible")
}


});
});
26 changes: 13 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,30 +142,30 @@ img{

.p3tright{
position: fixed;
top: 15%;
height: 70%;
left: 16%;
top: 2%;
height: 42%;
left: 14%;
}

.p3tleft{
position: fixed;
top: 15%;
height: 70%;
left: 42.5%;
top: 30%;
height: 42%;
left: 14.5%;
}

.p3bleft{
position: fixed;
top: 15%;
height: 70%;
left: 60%;
position: fixed;
top: 56%;
height: 52%;
left: 41%;
}

.p3bright{
position: fixed;
top: 15%;
height: 70%;
left: 60%;
top: 46%;
height: 37%;
left: 71%;
}

.visual{
Expand Down

0 comments on commit e416b55

Please sign in to comment.