Change line endings from CRLF to LF
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
$(window).scroll(function(){
|
||||
if($(this).scrollTop() >
|
||||
//$(window).height()*0.3){
|
||||
100) {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0"});
|
||||
} else {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0.4"});
|
||||
}
|
||||
});
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$(window).scroll(function(){
|
||||
if($(this).scrollTop() >
|
||||
//$(window).height()*0.3){
|
||||
100) {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0"});
|
||||
} else {
|
||||
$(".mind-global-header_arrow-down").css({"opacity" : "0.4"});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
1316
assets/js/jquery-3.5.1.js
vendored
1316
assets/js/jquery-3.5.1.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,38 +1,38 @@
|
||||
function openPolicyPopup() {
|
||||
if(getCookie("consentGiven") === "true") return;
|
||||
|
||||
$("#mind-policy-popup").fadeIn(1000); // Enable the div
|
||||
}
|
||||
|
||||
function agreePolicyPopup() {
|
||||
const _paq = window._paq || [];
|
||||
_paq.push(['rememberConsentGiven', 43800]);
|
||||
$("#mind-policy-popup").fadeOut(1000); // Disable the div
|
||||
setCookie("consentGiven", "true", 1825) // todo: check if already present? also, firefox was throwing a warning...
|
||||
}
|
||||
|
||||
function getCookie(cname) {
|
||||
var name = cname + "=";
|
||||
var decodedCookie = decodeURIComponent(document.cookie);
|
||||
var ca = decodedCookie.split(';');
|
||||
for(var i = 0; i <ca.length; i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0) === ' ') {
|
||||
c = c.substring(1);
|
||||
}
|
||||
if (c.indexOf(name) === 0) {
|
||||
return c.substring(name.length, c.length);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCookie(name, value, days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/;SameSite=Lax";
|
||||
}
|
||||
function openPolicyPopup() {
|
||||
if(getCookie("consentGiven") === "true") return;
|
||||
|
||||
$("#mind-policy-popup").fadeIn(1000); // Enable the div
|
||||
}
|
||||
|
||||
function agreePolicyPopup() {
|
||||
const _paq = window._paq || [];
|
||||
_paq.push(['rememberConsentGiven', 43800]);
|
||||
$("#mind-policy-popup").fadeOut(1000); // Disable the div
|
||||
setCookie("consentGiven", "true", 1825) // todo: check if already present? also, firefox was throwing a warning...
|
||||
}
|
||||
|
||||
function getCookie(cname) {
|
||||
var name = cname + "=";
|
||||
var decodedCookie = decodeURIComponent(document.cookie);
|
||||
var ca = decodedCookie.split(';');
|
||||
for(var i = 0; i <ca.length; i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0) === ' ') {
|
||||
c = c.substring(1);
|
||||
}
|
||||
if (c.indexOf(name) === 0) {
|
||||
return c.substring(name.length, c.length);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
function setCookie(name, value, days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/;SameSite=Lax";
|
||||
}
|
||||
|
||||
@@ -1,48 +1,48 @@
|
||||
var scroll_pos = 0;
|
||||
var transparent = true;
|
||||
var offset = 100;
|
||||
|
||||
function makeTransparent()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-colored').addClass('mind-global-navbar_primary-transparent');
|
||||
transparent = true;
|
||||
}
|
||||
|
||||
function makeOpaque()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-transparent').addClass('mind-global-navbar_primary-colored');
|
||||
transparent = false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#mind-global-navbar_primary").addClass('mind-global-navbar_primary-allowmoving');
|
||||
scroll_pos = $(this).scrollTop();
|
||||
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
else
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
|
||||
$(document).scroll(function() {
|
||||
scroll_pos = $(this).scrollTop();
|
||||
if(transparent)
|
||||
{
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(scroll_pos <= offset)
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
var scroll_pos = 0;
|
||||
var transparent = true;
|
||||
var offset = 100;
|
||||
|
||||
function makeTransparent()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-colored').addClass('mind-global-navbar_primary-transparent');
|
||||
transparent = true;
|
||||
}
|
||||
|
||||
function makeOpaque()
|
||||
{
|
||||
$("#mind-global-navbar_primary").removeClass('mind-global-navbar_primary-transparent').addClass('mind-global-navbar_primary-colored');
|
||||
transparent = false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#mind-global-navbar_primary").addClass('mind-global-navbar_primary-allowmoving');
|
||||
scroll_pos = $(this).scrollTop();
|
||||
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
else
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
|
||||
$(document).scroll(function() {
|
||||
scroll_pos = $(this).scrollTop();
|
||||
if(transparent)
|
||||
{
|
||||
if(scroll_pos > offset)
|
||||
{
|
||||
makeOpaque();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(scroll_pos <= offset)
|
||||
{
|
||||
makeTransparent();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
1898
assets/js/three.r95.min.js
vendored
1898
assets/js/three.r95.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user