mirror of
https://git.wownero.com/wownero/wownero.org-website.git
synced 2024-08-15 01:03:33 +00:00
redesign by cisme
This commit is contained in:
parent
7eb87dac8e
commit
ea1a1872a7
120 changed files with 6391 additions and 5324 deletions
14
js/scroll.js
Normal file
14
js/scroll.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
$(document).ready(function() {
|
||||
$(window).scroll( function(){
|
||||
$('.fadein').each( function(i){
|
||||
|
||||
var bottom_of_element = $(this).offset().top + $(this).outerHeight();
|
||||
var bottom_of_window = $(window).scrollTop() + $(window).height();
|
||||
|
||||
if( bottom_of_window > bottom_of_element ){
|
||||
$(this).animate({'opacity':'10'},1000);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue