Skip to content

Commit

Permalink
removed parallax effect
Browse files Browse the repository at this point in the history
  • Loading branch information
SCSUCSCIClub committed Feb 8, 2017
1 parent b30159b commit 78b6f5d
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions mainpage/static/mainpage/js/particles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Particleground demo
* Particleground
* @author Jonathan Nicol - @mrjnicol
*/

Expand All @@ -11,22 +11,10 @@ document.addEventListener('DOMContentLoaded', function () {
proximity:100,
minRadiusPct:1,
maxRadiusPct:2.2,
density:4000
density:2500,
parallax:false,
});
//var intro = document.getElementById('intro');
//intro.style.marginTop = - intro.offsetHeight / 2 + 'px';
}, false);


/*
// jQuery plugin example:
$(document).ready(function() {
$('#particles').particleground({
dotColor: '#5cbdaa',
lineColor: '#5cbdaa'
});
$('.intro').css({
'margin-top': -($('.intro').height() / 2)
});
});
*/

0 comments on commit 78b6f5d

Please sign in to comment.