Merge SLEGPI repo into this stand alone one !

This commit is contained in:
JunkJumper
2018-08-30 09:46:43 +02:00
committed by GitHub
parent a838eb70b6
commit f2b9a04bbc
78 changed files with 10946 additions and 1 deletions

View File

@ -0,0 +1,4 @@
setTimeout(function () {
window.location.href= 'http://localhost/slegpi/auto.php'; // the redirect goes here
},2000);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,43 @@
// Foundation JavaScript
// Documentation can be found at: http://foundation.zurb.com/docs
$(document).foundation();
$(document).ready(function()
{
// Image hover
$(".thumbnail-img").hover(function() {
$(this).find(".thumbnail-hover").stop(true, true).fadeIn(200);
}, function() {
$(this).find(".thumbnail-hover").fadeOut(400);
});
$(".thumbnail-img").click(function() {
$(this).find(".thumbnail-hover").fadeOut(400);
});
// Hide hover effect on touch devices
if (Modernizr.touch) {
$(".thumbnail-hover").css("display", "none");
$(".thumbnail-hover").css("visibility", "hidden");
$(".thumbnail-img").unbind("mouseenter mouseleave");
}
// Trigger caption hover on thumbnail hover
$(".thumbnail-img").hover(function(){
$(this).parent().find(".caption-link").toggleClass("caption-hover");
});
// Trigger thumbnail hover on caption hover
$(".caption-link").hover(function() {
$(this).parent().parent().find(".thumbnail-hover").stop(true, true).fadeIn(200);
}, function() {
$(this).parent().parent().find(".thumbnail-hover").fadeOut(400);
});
// Back to top button on detail view page
$(".back-to-top").click(function(event) {
event.preventDefault();
$("html, body").animate({scrollTop: 0}, 700);
});
});

View File

@ -0,0 +1,4 @@
setTimeout(function () {
window.location.href= 'http://localhost/slegpi'; // the redirect goes here
},2000);