first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:22:29 +03:00
commit ec28a2024d
208 changed files with 23836 additions and 0 deletions

5
static/js/jquery-1.11.3.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

259
static/js/plugins.js Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,40 @@
// JavaScript Document
// supersized
jQuery(function($){
$.supersized({
// Functionality
slideshow : 1, // Slideshow on/off
autoplay : 1, // Slideshow starts playing automatically
start_slide : 1, // Start slide (0 is random)
stop_loop : 1, // Pauses slideshow on last slide
random : 0, // Randomize slide order (Ignores start slide)
slide_interval : 6000, // Length between transitions
transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 2000, // Speed of transition
new_window : 0, // Image links open in new window/tab
pause_hover : 0, // Pause slideshow on hover
keyboard_nav : 1, // Keyboard navigation on/off
performance : 2, // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect : 1, // Disables image dragging and right click with Javascript
// Size || Position
min_width : 0, // Min width allowed (in pixels)
min_height : 0, // Min height allowed (in pixels)
vertical_center : 1, // Vertically center background
horizontal_center : 1, // Horizontally center background
fit_always : 0, // Image will never exceed browser width or height (Ignores min. dimensions)
fit_portrait : 1, // Portrait images will not exceed browser height
fit_landscape : 0, // Landscape images will not exceed browser width
// Components
slide_links : 'false', // Individual links for each slide (Options: false, 'number', 'name', 'blank')
thumb_links : 0, // Individual thumb links for each slide
thumbnail_navigation : 0, // Thumbnail navigation
slides : [ // Slideshow Images
{image: "static/img/background/back.avif", title: '', thumb: '', url: ''} ]
});
});

View File

@@ -0,0 +1,44 @@
// JavaScript Document
// supersized
jQuery(function($){
$.supersized({
// Functionality
slideshow : 1, // Slideshow on/off
autoplay : 1, // Slideshow starts playing automatically
start_slide : 1, // Start slide (0 is random)
stop_loop : 0, // Pauses slideshow on last slide
random : 0, // Randomize slide order (Ignores start slide)
slide_interval : 6000, // Length between transitions
transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 2000, // Speed of transition
new_window : 0, // Image links open in new window/tab
pause_hover : 0, // Pause slideshow on hover
keyboard_nav : 1, // Keyboard navigation on/off
performance : 2, // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect : 1, // Disables image dragging and right click with Javascript
// Size || Position
min_width : 0, // Min width allowed (in pixels)
min_height : 0, // Min height allowed (in pixels)
vertical_center : 1, // Vertically center background
horizontal_center : 1, // Horizontally center background
fit_always : 0, // Image will never exceed browser width or height (Ignores min. dimensions)
fit_portrait : 1, // Portrait images will not exceed browser height
fit_landscape : 0, // Landscape images will not exceed browser width
// Components
slide_links : 'false', // Individual links for each slide (Options: false, 'number', 'name', 'blank')
thumb_links : 0, // Individual thumb links for each slide
thumbnail_navigation : 0, // Thumbnail navigation
slides : [ // Slideshow Images
{image : 'img/background/1.jpg', title : '', thumb : '', url : ''},
{image : 'img/background/2.jpg', title : '', thumb : '', url : ''},
{image : 'img/background/3.jpg', title : '', thumb : '', url : ''},
{image : 'img/background/4.jpg', title : '', thumb : '', url : ''}
]
});
});

View File

@@ -0,0 +1,41 @@
// JavaScript Document
// supersized
jQuery(function($){
$.supersized({
// Functionality
slideshow : 1, // Slideshow on/off
autoplay : 1, // Slideshow starts playing automatically
start_slide : 1, // Start slide (0 is random)
stop_loop : 1, // Pauses slideshow on last slide
random : 0, // Randomize slide order (Ignores start slide)
slide_interval : 6000, // Length between transitions
transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 2000, // Speed of transition
new_window : 0, // Image links open in new window/tab
pause_hover : 0, // Pause slideshow on hover
keyboard_nav : 1, // Keyboard navigation on/off
performance : 2, // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect : 1, // Disables image dragging and right click with Javascript
// Size || Position
min_width : 0, // Min width allowed (in pixels)
min_height : 0, // Min height allowed (in pixels)
vertical_center : 1, // Vertically center background
horizontal_center : 1, // Horizontally center background
fit_always : 0, // Image will never exceed browser width or height (Ignores min. dimensions)
fit_portrait : 1, // Portrait images will not exceed browser height
fit_landscape : 0, // Landscape images will not exceed browser width
// Components
slide_links : 'false', // Individual links for each slide (Options: false, 'number', 'name', 'blank')
thumb_links : 0, // Individual thumb links for each slide
thumbnail_navigation : 0, // Thumbnail navigation
slides : [ // Slideshow Images
{image : 'img/background/video-HTML5.jpg', title : '', thumb : '', url : ''}
]
});
});

View File

@@ -0,0 +1,41 @@
// JavaScript Document
// supersized
jQuery(function($){
$.supersized({
// Functionality
slideshow : 1, // Slideshow on/off
autoplay : 1, // Slideshow starts playing automatically
start_slide : 1, // Start slide (0 is random)
stop_loop : 1, // Pauses slideshow on last slide
random : 0, // Randomize slide order (Ignores start slide)
slide_interval : 6000, // Length between transitions
transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 2000, // Speed of transition
new_window : 0, // Image links open in new window/tab
pause_hover : 0, // Pause slideshow on hover
keyboard_nav : 1, // Keyboard navigation on/off
performance : 2, // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect : 1, // Disables image dragging and right click with Javascript
// Size || Position
min_width : 0, // Min width allowed (in pixels)
min_height : 0, // Min height allowed (in pixels)
vertical_center : 1, // Vertically center background
horizontal_center : 1, // Horizontally center background
fit_always : 0, // Image will never exceed browser width or height (Ignores min. dimensions)
fit_portrait : 1, // Portrait images will not exceed browser height
fit_landscape : 0, // Landscape images will not exceed browser width
// Components
slide_links : 'false', // Individual links for each slide (Options: false, 'number', 'name', 'blank')
thumb_links : 0, // Individual thumb links for each slide
thumbnail_navigation : 0, // Thumbnail navigation
slides : [ // Slideshow Images
{image : 'img/background/video.jpg', title : '', thumb : '', url : ''}
]
});
});

204
static/js/the-outskirts.js Normal file
View File

@@ -0,0 +1,204 @@
(function($) {
// WINDOW.LOAD FUNCTION start
$(window).load(function() {
"use strict";
// screen loader
$('.screen-loader').fadeOut('slow');
});
// WINDOW.LOAD FUNCTION end
// DOCUMENT.READY FUNCTION start
$(document).ready(function() {
"use strict";
// preload
$('#preload').css({
display: 'table'
});
// preload.Timeout
setTimeout(function() {
$('#preload').delay(250).fadeOut(1400);
$('#intro-wrapper').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('#menu-wrapper').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('#countdown-wrapper').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('#film-grain').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('.weather').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('#snow').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('#particles-holder').delay(1400).css({
display: 'none'
}).fadeIn(2400);
$('.clouds').delay(1400).css({
display: 'none'
}).fadeIn(2400);
});
// kenburnsy
$("#kenburnsy-bg").kenburnsy({
fullscreen: true
});
// magnificPopup
$('.popup-photo').magnificPopup({
type: 'image',
gallery: {
enabled: true,
tPrev: '',
tNext: '',
tCounter: '%curr% / %total%'
},
removalDelay: 300,
mainClass: 'mfp-fade'
});
// countdown setup start
$("#countdown").countdown({
date: "15 August 2019 12:00:00", // countdown target date settings
format: "on"
}, function() {
// callback function
});
// snow
$(function() {
$("#snow").each(function() {
snowBind();
});
});
// fire
// fire home
$("#fire-home").on("click", function(e) {
e.preventDefault();
$(".current").fadeOut(1200, function() {
$("#home").fadeIn(2200);
$(".current").removeClass("current");
$("#home").addClass("current");
});
});
// fire about
$("#fire-about").on("click", function(e) {
e.preventDefault();
$(".current").fadeOut(1200, function() {
$("#about").fadeIn(2200);
$(".current").removeClass("current");
$("#about").addClass("current");
});
});
// fire services
$("#fire-services").on("click", function(e) {
e.preventDefault();
$(".current").fadeOut(1200, function() {
$("#services").fadeIn(2200);
$(".current").removeClass("current");
$("#services").addClass("current");
});
});
// fire photos
$("#fire-photos").on("click", function(e) {
e.preventDefault();
$(".current").fadeOut(1200, function() {
$("#photos").fadeIn(2200);
$(".current").removeClass("current");
$("#photos").addClass("current");
});
});
// fire contact
$("#fire-contact").on("click", function(e) {
e.preventDefault();
$(".current").fadeOut(1200, function() {
$("#contact").fadeIn(2200);
$(".current").removeClass("current");
$("#contact").addClass("current");
});
});
// menu active state
$('a.menu-state').on("click", function() {
$('a.menu-state').removeClass("active");
$(this).addClass("active");
});
// owlCarousel
$(".services-gallery-slider").owlCarousel({
slideSpeed: 350,
singleItem: true,
autoHeight: true,
navigation: true,
navigationText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"]
});
// wordRotator
$("#wordrotator").wordsrotator({
autoLoop: true, // auto rotate words
randomize: false, // show random entries from the words array
stopOnHover: false, // stop animation on hover
changeOnClick: false, // force animation run on click
animationIn: "fadeInLeft", // css class for entrace animation
animationOut: "fadeOutRight", // css class for exit animation
speed: 4000, // delay in milliseconds between two words
words: ['the<br><span class="highlighter">Outskirts</span>', 'where the<br><span class="highlighter">city ends</span>',
'and the<br><span class="highlighter">suburbs begin</span>'
]
// Array of words, it may contain HTML values
});
// dialog
(function() {
var dlgtrigger = document.querySelector('[data-dialog]'),
somedialog = document.getElementById(dlgtrigger.getAttribute('data-dialog')),
dlg = new DialogFx(somedialog);
dlgtrigger.addEventListener('click', dlg.toggle.bind(dlg));
})();
// YTPlayer
$(function() {
$(".player").mb_YTPlayer();
});
});
// DOCUMENT.READY FUNCTION end
// MOBILE DETECT start
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function() {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera: function() {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows: function() {
return navigator.userAgent.match(/IEMobile/i);
},
any: function() {
return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
}
};
// MOBILE DETECT end
})(jQuery);