mirror of
https://github.com/offen/website.git
synced 2024-10-18 20:20:24 +02:00
9 lines
253 B
JavaScript
9 lines
253 B
JavaScript
;(function ($) {
|
|
$(document).ready(function () {
|
|
$(window).scroll(function () {
|
|
var scrollProgress = parseInt($(window).scrollTop(), 10)
|
|
$('.brand-index').css('opacity', Math.min(scrollProgress / 100, 1))
|
|
})
|
|
})
|
|
})(window.jQuery)
|