Inital Commit

This commit is contained in:
tanch0
2024-05-05 10:32:49 +05:45
commit cc991bb0e1
7418 changed files with 507076 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,500 @@
;(function ( $, window, document, undefined ){
$.navigation = function(element, options){
var defaults = {
responsive: true,
mobileBreakpoint: 991,
showDuration: 300,
hideDuration: 300,
showDelayDuration: 0,
hideDelayDuration: 0,
submenuTrigger: "hover",
effect: "fade",
submenuIndicator: true,
submenuIndicatorTrigger: false,
hideSubWhenGoOut: true,
visibleSubmenusOnMobile: false,
overlay: true,
overlayColor: "rgba(0, 0, 0, 0.7)",
hidden: false,
hiddenOnMobile: false,
offCanvasSide: "left",
offCanvasCloseButton: true,
animationOnShow: "",
animationOnHide: "",
hideScrollBar: true,
onInit: function() {},
onLandscape: function() {},
onPortrait: function() {},
onShowOffCanvas: function() {},
onHideOffCanvas: function() {}
};
var plugin = this,
bigScreenFlag = Number.MAX_VALUE,
smallScreenFlag = 1,
clickTouchEvents = "click.nav touchstart.nav",
hoverShowEvents = "mouseenter focusin",
hoverHideEvents = "mouseleave focusout";
plugin.settings = {};
var $element = $(element), element = element;
if($(element).find(".nav-search").length > 0){
$(element).find(".nav-search").find("form").prepend("<span class='nav-search-close-button' tabindex='0'>&#10005;</span>");
}
plugin.init = function(){
plugin.settings = $.extend({}, defaults, options);
if(plugin.settings.offCanvasCloseButton){
$(element).find(".nav-menus-wrapper").prepend("<span class='nav-menus-wrapper-close-button'>&#10005;</span>");
}
if(plugin.settings.offCanvasSide == "right"){
$(element).find(".nav-menus-wrapper").addClass("nav-menus-wrapper-right");
}
if(plugin.settings.hidden){
$(element).addClass("navigation-hidden");
plugin.settings.mobileBreakpoint = 99999;
}
checkSubmenus();
$(element).find(".nav-toggle").on("click touchstart", function(e){
e.stopPropagation();
e.preventDefault();
plugin.showOffcanvas();
if(options !== undefined){
plugin.callback("onShowOffCanvas");
}
});
$(element).find(".nav-menus-wrapper-close-button").on("click touchstart", function(){
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onHideOffCanvas");
}
});
$(element).find(".nav-search-button, .nav-search-close-button").on("click touchstart keydown", function(e){
e.stopPropagation();
e.preventDefault();
var code = e.keyCode || e.which;
if(e.type === "click" || e.type === "touchstart" || (e.type === "keydown" && code == 13)){
plugin.toggleSearch();
}
else{
if(code == 9){
$(e.target).blur();
}
}
});
$(window).resize(function(){
plugin.initNavigationMode(windowWidth());
fixSubmenuRightPosition();
if(plugin.settings.hiddenOnMobile){
hideNavbarPortrait();
}
});
plugin.initNavigationMode(windowWidth());
if(plugin.settings.hiddenOnMobile){
hideNavbarPortrait();
}
if(plugin.settings.overlay){
$(element).append("<div class='nav-overlay-panel'></div>");
}
if($(element).find(".megamenu-tabs").length > 0){
activateTabs();
}
if(options !== undefined){
plugin.callback("onInit");
}
};
// reset submenus
var resetSubmenus = function(){
$(element).find(".nav-submenu").hide(0);
$(element).find("li").removeClass("focus");
};
// check the existence of submenus/add indicators to them
var checkSubmenus = function(){
$(element).find("li").each(function(){
if($(this).children(".nav-dropdown,.megamenu-panel").length > 0){
$(this).children(".nav-dropdown,.megamenu-panel").addClass("nav-submenu");
if(plugin.settings.submenuIndicator){
$(this).children("a").append(
"<span class='submenu-indicator'>" +
"<span class='submenu-indicator-chevron'></span>" +
"</span>"
);
}
}
});
};
//hide navbar on portrait mode
var hideNavbarPortrait = function(){
if($(element).hasClass("navigation-portrait")){
$(element).addClass("navigation-hidden");
}
else{
$(element).removeClass("navigation-hidden");
}
};
// show a submenu
plugin.showSubmenu = function(parentItem, submenuEffect){
if(windowWidth() > plugin.settings.mobileBreakpoint){
$(element).find(".nav-search").find("form").fadeOut();
}
if(submenuEffect == "fade"){
$(parentItem).children(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.showDelayDuration)
.fadeIn(plugin.settings.showDuration)
.removeClass(plugin.settings.animationOnHide)
.addClass(plugin.settings.animationOnShow);
}
else{
$(parentItem).children(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.showDelayDuration)
.slideDown(plugin.settings.showDuration)
.removeClass(plugin.settings.animationOnHide)
.addClass(plugin.settings.animationOnShow);
}
$(parentItem).addClass("focus");
};
// hide a submenu
plugin.hideSubmenu = function(parentItem, submenuEffect){
if(submenuEffect == "fade"){
$(parentItem).find(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.hideDelayDuration)
.fadeOut(plugin.settings.hideDuration)
.removeClass(plugin.settings.animationOnShow)
.addClass(plugin.settings.animationOnHide);
}
else{
$(parentItem).find(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.hideDelayDuration)
.slideUp(plugin.settings.hideDuration)
.removeClass(plugin.settings.animationOnShow)
.addClass(plugin.settings.animationOnHide);
}
$(parentItem).removeClass("focus").find(".focus").removeClass("focus");
};
// show the overlay panel
var showOverlay = function(){
if(plugin.settings.hideScrollBar){
$("body").addClass("no-scroll");
}
if(plugin.settings.overlay){
$(element).find(".nav-overlay-panel")
.css("background-color", plugin.settings.overlayColor)
.fadeIn(300)
.on("click touchstart", function(){
plugin.hideOffcanvas();
});
}
};
// hide the overlay panel
var hideOverlay = function(){
if(plugin.settings.hideScrollBar){
$("body").removeClass("no-scroll");
}
if(plugin.settings.overlay){
$(element).find(".nav-overlay-panel").fadeOut(400);
}
};
// show offcanvas
plugin.showOffcanvas = function(){
showOverlay();
if(plugin.settings.offCanvasSide == "left"){
$(element).find(".nav-menus-wrapper").css("transition-property", "left").addClass("nav-menus-wrapper-open");
}
else{
$(element).find(".nav-menus-wrapper").css("transition-property", "right").addClass("nav-menus-wrapper-open");
}
};
// hide offcanvas
plugin.hideOffcanvas = function(){
$(element).find(".nav-menus-wrapper").removeClass("nav-menus-wrapper-open")
.on("webkitTransitionEnd moztransitionend transitionend oTransitionEnd", function(){
$(element).find(".nav-menus-wrapper")
.css("transition-property", "none")
.off();
});
hideOverlay();
};
// toggle offcanvas
plugin.toggleOffcanvas = function(){
if(windowWidth() <= plugin.settings.mobileBreakpoint){
if($(element).find(".nav-menus-wrapper").hasClass("nav-menus-wrapper-open")){
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onHideOffCanvas");
}
}
else{
plugin.showOffcanvas();
if(options !== undefined){
plugin.callback("onShowOffCanvas");
}
}
}
};
// show/hide the search form
plugin.toggleSearch = function(){
if($(element).find(".nav-search").find("form").css("display") == "none"){
$(element).find(".nav-search").find("form").fadeIn(200);
$(element).find(".nav-search").find("input").focus();
}
else{
$(element).find(".nav-search").find("form").fadeOut(200);
$(element).find(".nav-search").find("input").blur();
}
};
// set the navigation mode and others configs
plugin.initNavigationMode = function(screenWidth){
if(plugin.settings.responsive){
if(screenWidth <= plugin.settings.mobileBreakpoint && bigScreenFlag > plugin.settings.mobileBreakpoint){
$(element).addClass("navigation-portrait").removeClass("navigation-landscape");
portraitMode();
if(options !== undefined){
plugin.callback("onPortrait");
}
}
if(screenWidth > plugin.settings.mobileBreakpoint && smallScreenFlag <= plugin.settings.mobileBreakpoint){
$(element).addClass("navigation-landscape").removeClass("navigation-portrait");
landscapeMode();
hideOverlay();
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onLandscape");
}
}
bigScreenFlag = screenWidth;
smallScreenFlag = screenWidth;
}
else{
$(element).addClass("navigation-landscape");
landscapeMode();
if(options !== undefined){
plugin.callback("onLandscape");
}
}
};
// hide submenus/form when click/touch outside
var goOut = function(){
$("html").on("click.body touchstart.body", function(e){
if($(e.target).closest(".navigation").length === 0){
$(element).find(".nav-submenu").fadeOut();
$(element).find(".focus").removeClass("focus");
$(element).find(".nav-search").find("form").fadeOut();
}
});
};
// return the window's width
var windowWidth = function(){
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
};
// unbind events
var unbindEvents = function(mode){
if(mode == "landscape")
$(element).find(".nav-menu").find("li, a").off(clickTouchEvents)
else
$(element).find(".nav-menu").find("li, a").off(hoverShowEvents).off(hoverHideEvents);
};
// fix submenu right position
var fixSubmenuRightPosition = function(){
if(windowWidth() > plugin.settings.mobileBreakpoint){
var navWidth = $(element).outerWidth();
$(element).find(".nav-menu").children("li").children(".nav-submenu").each(function(){
if($(this).parent().position().left + $(this).outerWidth() > navWidth){
$(this).css("right", 0);
}
else{
$(this).css("right", "auto");
}
});
}
};
// activate the tabs
var activateTabs = function(){
function initTabs(tabs){
var navs = $(tabs).children(".megamenu-tabs-nav").children("li");
var panes = $(tabs).children(".megamenu-tabs-pane");
$(navs).on("mouseenter.tabs click.tabs touchstart.tabs", function(e){
e.stopPropagation();
e.preventDefault();
$(navs).removeClass("active");
$(this).addClass("active");
$(panes).hide(0).removeClass("active");
$(panes[$(this).index()]).show(0).addClass("active");
});
}
if($(element).find(".megamenu-tabs").length > 0){
var navigationTabs = $(element).find(".megamenu-tabs");
for(var i = 0; i < navigationTabs.length; i++){
initTabs(navigationTabs[i]);
}
}
};
// set the landscape mode
var landscapeMode = function(){
unbindEvents("landscape");
resetSubmenus();
if(navigator.userAgent.match(/Mobi/i) || navigator.maxTouchPoints > 0 || plugin.settings.submenuTrigger == "click"){
$(element).find(".nav-menu, .nav-dropdown").children("li").children("a").on(clickTouchEvents, function(e){
plugin.hideSubmenu($(this).parent("li").siblings("li"), plugin.settings.effect);
$(this).closest(".nav-menu").siblings(".nav-menu").find(".nav-submenu").fadeOut(plugin.settings.hideDuration);
if($(this).siblings(".nav-submenu").length > 0){
e.stopPropagation();
e.preventDefault();
if($(this).siblings(".nav-submenu").css("display") == "none"){
plugin.showSubmenu($(this).parent("li"), plugin.settings.effect);
fixSubmenuRightPosition();
return false;
}
else{
plugin.hideSubmenu($(this).parent("li"), plugin.settings.effect);
}
if($(this).attr("target") === "_blank" || $(this).attr("target") === "blank"){
window.open($(this).attr("href"));
}
else{
if($(this).attr("href") === "#" || $(this).attr("href") === "" || $(this).attr("href") === "javascript:void(0)"){
return false;
}
else{
window.location.href = $(this).attr("href");
}
}
}
});
}
else{
$(element).find(".nav-menu").find("li").on(hoverShowEvents, function(){
plugin.showSubmenu(this, plugin.settings.effect);
fixSubmenuRightPosition();
}).on(hoverHideEvents, function(){
plugin.hideSubmenu(this, plugin.settings.effect);
});
}
if(plugin.settings.hideSubWhenGoOut){
goOut();
}
};
// set the portrait mode
var portraitMode = function(){
unbindEvents("portrait");
resetSubmenus();
if(plugin.settings.visibleSubmenusOnMobile){
$(element).find(".nav-submenu").show(0);
}
else{
$(element).find(".submenu-indicator").removeClass("submenu-indicator-up");
if(plugin.settings.submenuIndicator && plugin.settings.submenuIndicatorTrigger){
$(element).find(".submenu-indicator").on(clickTouchEvents, function(e){
e.stopPropagation();
e.preventDefault();
plugin.hideSubmenu($(this).parent("a").parent("li").siblings("li"), "slide");
plugin.hideSubmenu($(this).closest(".nav-menu").siblings(".nav-menu").children("li"), "slide");
if($(this).parent("a").siblings(".nav-submenu").css("display") == "none"){
$(this).addClass("submenu-indicator-up");
$(this).parent("a").parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
$(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.showSubmenu($(this).parent("a").parent("li"), "slide");
return false;
}
else{
$(this).parent("a").parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.hideSubmenu($(this).parent("a").parent("li"), "slide");
}
});
}
else{
$(element).find(".nav-menu, .nav-dropdown").children("li").children("a").each(function(){
if($(this).siblings(".nav-submenu").length > 0){
$(this).on(clickTouchEvents, function(e){
e.stopPropagation();
e.preventDefault();
plugin.hideSubmenu($(this).parent("li").siblings("li"), plugin.settings.effect);
plugin.hideSubmenu($(this).closest(".nav-menu").siblings(".nav-menu").children("li"), "slide");
if($(this).siblings(".nav-submenu").css("display") == "none"){
$(this).children(".submenu-indicator").addClass("submenu-indicator-up");
$(this).parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
$(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.showSubmenu($(this).parent("li"), "slide");
return false;
}
else{
$(this).parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.hideSubmenu($(this).parent("li"), "slide");
}
if($(this).attr("target") === "_blank" || $(this).attr("target") === "blank"){
window.open($(this).attr("href"));
}
else{
if($(this).attr("href") === "#" || $(this).attr("href") === "" || $(this).attr("href") === "javascript:void(0)"){
return false;
}
else{
window.location.href = $(this).attr("href");
}
}
});
}
});
}
}
};
plugin.callback = function(func) {
if (options[func] !== undefined) {
options[func].call(element);
}
};
plugin.init();
};
$.fn.navigation = function(options){
return this.each(function(){
if (undefined === $(this).data("navigation")){
var plugin = new $.navigation(this, options);
$(this).data("navigation", plugin);
}
});
};
})( jQuery, window, document );

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
!function(i,t,e,n){i.fixed=function(e,s){var a={topSpace:0,placeholder:!0,onFixed:function(){},onStatic:function(){}},o=this;o.settings={};var c,l,d,e=(i(e),e);o.init=function(){o.settings=i.extend({},a,s),i(e).wrap("<div class='navigation-fixed-wrapper'></div>").each(function(){c=i(e).parent(),o.settings.placeholder&&(i("<div class='navigation-fixed-placeholder'></div>").insertBefore(c),i(".navigation-fixed-placeholder").css("height",i(c).outerHeight()),l=i(".navigation-fixed-placeholder"))}),d=i(c).offset().top,d<=o.settings.topSpace?f():i(t).on("scroll",function(){i(t).scrollTop()>=d-o.settings.topSpace?i(c).hasClass("fixed")||f():i(c).hasClass("fixed")&&r()}),i(t).resize(function(){h(),o.settings.placeholder&&i(l).css("height",i(c).outerHeight())}),i(e).on("click touchstart",function(){h()})};var f=function(){i(c).addClass("fixed"),o.settings.placeholder&&i(l).addClass("visible"),h(),s!==n&&o.callback("onFixed")},r=function(){i(c).removeClass("fixed"),o.settings.placeholder&&i(l).removeClass("visible"),s!==n&&o.callback("onStatic")},h=function(){i(e).css("width",i(c).parent().width()),i(c).css("top",o.settings.topSpace)};o.callback=function(i){s[i]!==n&&s[i].call(e)},o.init()},i.fn.fixed=function(t){return this.each(function(){if(n==i(this).data("fixed")){var e=new i.fixed(this,t);i(this).data("fixed",e)}})}}(jQuery,window,document);

View File

@ -0,0 +1,500 @@
;(function ( $, window, document, undefined ){
$.navigation = function(element, options){
var defaults = {
responsive: true,
mobileBreakpoint: 767,
showDuration: 300,
hideDuration: 300,
showDelayDuration: 0,
hideDelayDuration: 0,
submenuTrigger: "hover",
effect: "fade",
submenuIndicator: true,
submenuIndicatorTrigger: false,
hideSubWhenGoOut: true,
visibleSubmenusOnMobile: false,
overlay: true,
overlayColor: "rgba(0, 0, 0, 0.7)",
hidden: false,
hiddenOnMobile: false,
offCanvasSide: "left",
offCanvasCloseButton: true,
animationOnShow: "",
animationOnHide: "",
hideScrollBar: true,
onInit: function() {},
onLandscape: function() {},
onPortrait: function() {},
onShowOffCanvas: function() {},
onHideOffCanvas: function() {}
};
var plugin = this,
bigScreenFlag = Number.MAX_VALUE,
smallScreenFlag = 1,
clickTouchEvents = "click.nav touchstart.nav",
hoverShowEvents = "mouseenter focusin",
hoverHideEvents = "mouseleave focusout";
plugin.settings = {};
var $element = $(element), element = element;
if($(element).find(".nav-search").length > 0){
$(element).find(".nav-search").find("form").prepend("<span class='nav-search-close-button' tabindex='0'>&#10005;</span>");
}
plugin.init = function(){
plugin.settings = $.extend({}, defaults, options);
if(plugin.settings.offCanvasCloseButton){
$(element).find(".nav-menus-wrapper").prepend("<span class='nav-menus-wrapper-close-button'>&#10005;</span>");
}
if(plugin.settings.offCanvasSide == "right"){
$(element).find(".nav-menus-wrapper").addClass("nav-menus-wrapper-right");
}
if(plugin.settings.hidden){
$(element).addClass("navigation-hidden");
plugin.settings.mobileBreakpoint = 99999;
}
checkSubmenus();
$(element).find(".nav-toggle").on("click touchstart", function(e){
e.stopPropagation();
e.preventDefault();
plugin.showOffcanvas();
if(options !== undefined){
plugin.callback("onShowOffCanvas");
}
});
$(element).find(".nav-menus-wrapper-close-button").on("click touchstart", function(){
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onHideOffCanvas");
}
});
$(element).find(".nav-search-button, .nav-search-close-button").on("click touchstart keydown", function(e){
e.stopPropagation();
e.preventDefault();
var code = e.keyCode || e.which;
if(e.type === "click" || e.type === "touchstart" || (e.type === "keydown" && code == 13)){
plugin.toggleSearch();
}
else{
if(code == 9){
$(e.target).blur();
}
}
});
$(window).resize(function(){
plugin.initNavigationMode(windowWidth());
fixSubmenuRightPosition();
if(plugin.settings.hiddenOnMobile){
hideNavbarPortrait();
}
});
plugin.initNavigationMode(windowWidth());
if(plugin.settings.hiddenOnMobile){
hideNavbarPortrait();
}
if(plugin.settings.overlay){
$(element).append("<div class='nav-overlay-panel'></div>");
}
if($(element).find(".megamenu-tabs").length > 0){
activateTabs();
}
if(options !== undefined){
plugin.callback("onInit");
}
};
// reset submenus
var resetSubmenus = function(){
$(element).find(".nav-submenu").hide(0);
$(element).find("li").removeClass("focus");
};
// check the existence of submenus/add indicators to them
var checkSubmenus = function(){
$(element).find("li").each(function(){
if($(this).children(".nav-dropdown,.megamenu-panel").length > 0){
$(this).children(".nav-dropdown,.megamenu-panel").addClass("nav-submenu");
if(plugin.settings.submenuIndicator){
$(this).children("a").append(
"<span class='submenu-indicator'>" +
"<span class='submenu-indicator-chevron'></span>" +
"</span>"
);
}
}
});
};
//hide navbar on portrait mode
var hideNavbarPortrait = function(){
if($(element).hasClass("navigation-portrait")){
$(element).addClass("navigation-hidden");
}
else{
$(element).removeClass("navigation-hidden");
}
};
// show a submenu
plugin.showSubmenu = function(parentItem, submenuEffect){
if(windowWidth() > plugin.settings.mobileBreakpoint){
$(element).find(".nav-search").find("form").fadeOut();
}
if(submenuEffect == "fade"){
$(parentItem).children(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.showDelayDuration)
.fadeIn(plugin.settings.showDuration)
.removeClass(plugin.settings.animationOnHide)
.addClass(plugin.settings.animationOnShow);
}
else{
$(parentItem).children(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.showDelayDuration)
.slideDown(plugin.settings.showDuration)
.removeClass(plugin.settings.animationOnHide)
.addClass(plugin.settings.animationOnShow);
}
$(parentItem).addClass("focus");
};
// hide a submenu
plugin.hideSubmenu = function(parentItem, submenuEffect){
if(submenuEffect == "fade"){
$(parentItem).find(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.hideDelayDuration)
.fadeOut(plugin.settings.hideDuration)
.removeClass(plugin.settings.animationOnShow)
.addClass(plugin.settings.animationOnHide);
}
else{
$(parentItem).find(".nav-submenu")
.stop(true, true)
.delay(plugin.settings.hideDelayDuration)
.slideUp(plugin.settings.hideDuration)
.removeClass(plugin.settings.animationOnShow)
.addClass(plugin.settings.animationOnHide);
}
$(parentItem).removeClass("focus").find(".focus").removeClass("focus");
};
// show the overlay panel
var showOverlay = function(){
if(plugin.settings.hideScrollBar){
$("body").addClass("no-scroll");
}
if(plugin.settings.overlay){
$(element).find(".nav-overlay-panel")
.css("background-color", plugin.settings.overlayColor)
.fadeIn(300)
.on("click touchstart", function(){
plugin.hideOffcanvas();
});
}
};
// hide the overlay panel
var hideOverlay = function(){
if(plugin.settings.hideScrollBar){
$("body").removeClass("no-scroll");
}
if(plugin.settings.overlay){
$(element).find(".nav-overlay-panel").fadeOut(400);
}
};
// show offcanvas
plugin.showOffcanvas = function(){
showOverlay();
if(plugin.settings.offCanvasSide == "left"){
$(element).find(".nav-menus-wrapper").css("transition-property", "left").addClass("nav-menus-wrapper-open");
}
else{
$(element).find(".nav-menus-wrapper").css("transition-property", "right").addClass("nav-menus-wrapper-open");
}
};
// hide offcanvas
plugin.hideOffcanvas = function(){
$(element).find(".nav-menus-wrapper").removeClass("nav-menus-wrapper-open")
.on("webkitTransitionEnd moztransitionend transitionend oTransitionEnd", function(){
$(element).find(".nav-menus-wrapper")
.css("transition-property", "none")
.off();
});
hideOverlay();
};
// toggle offcanvas
plugin.toggleOffcanvas = function(){
if(windowWidth() <= plugin.settings.mobileBreakpoint){
if($(element).find(".nav-menus-wrapper").hasClass("nav-menus-wrapper-open")){
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onHideOffCanvas");
}
}
else{
plugin.showOffcanvas();
if(options !== undefined){
plugin.callback("onShowOffCanvas");
}
}
}
};
// show/hide the search form
plugin.toggleSearch = function(){
if($(element).find(".nav-search").find("form").css("display") == "none"){
$(element).find(".nav-search").find("form").fadeIn(200);
$(element).find(".nav-search").find("input").focus();
}
else{
$(element).find(".nav-search").find("form").fadeOut(200);
$(element).find(".nav-search").find("input").blur();
}
};
// set the navigation mode and others configs
plugin.initNavigationMode = function(screenWidth){
if(plugin.settings.responsive){
if(screenWidth <= plugin.settings.mobileBreakpoint && bigScreenFlag > plugin.settings.mobileBreakpoint){
$(element).addClass("navigation-portrait").removeClass("navigation-landscape");
portraitMode();
if(options !== undefined){
plugin.callback("onPortrait");
}
}
if(screenWidth > plugin.settings.mobileBreakpoint && smallScreenFlag <= plugin.settings.mobileBreakpoint){
$(element).addClass("navigation-landscape").removeClass("navigation-portrait");
landscapeMode();
hideOverlay();
plugin.hideOffcanvas();
if(options !== undefined){
plugin.callback("onLandscape");
}
}
bigScreenFlag = screenWidth;
smallScreenFlag = screenWidth;
}
else{
$(element).addClass("navigation-landscape");
landscapeMode();
if(options !== undefined){
plugin.callback("onLandscape");
}
}
};
// hide submenus/form when click/touch outside
var goOut = function(){
$("html").on("click.body touchstart.body", function(e){
if($(e.target).closest(".navigation").length === 0){
$(element).find(".nav-submenu").fadeOut();
$(element).find(".focus").removeClass("focus");
$(element).find(".nav-search").find("form").fadeOut();
}
});
};
// return the window's width
var windowWidth = function(){
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
};
// unbind events
var unbindEvents = function(mode){
if(mode == "landscape")
$(element).find(".nav-menu").find("li, a").off(clickTouchEvents)
else
$(element).find(".nav-menu").find("li, a").off(hoverShowEvents).off(hoverHideEvents);
};
// fix submenu right position
var fixSubmenuRightPosition = function(){
if(windowWidth() > plugin.settings.mobileBreakpoint){
var navWidth = $(element).outerWidth();
$(element).find(".nav-menu").children("li").children(".nav-submenu").each(function(){
if($(this).parent().position().left + $(this).outerWidth() > navWidth){
$(this).css("right", 0);
}
else{
$(this).css("right", "auto");
}
});
}
};
// activate the tabs
var activateTabs = function(){
function initTabs(tabs){
var navs = $(tabs).children(".megamenu-tabs-nav").children("li");
var panes = $(tabs).children(".megamenu-tabs-pane");
$(navs).on("mouseenter.tabs click.tabs touchstart.tabs", function(e){
e.stopPropagation();
e.preventDefault();
$(navs).removeClass("active");
$(this).addClass("active");
$(panes).hide(0).removeClass("active");
$(panes[$(this).index()]).show(0).addClass("active");
});
}
if($(element).find(".megamenu-tabs").length > 0){
var navigationTabs = $(element).find(".megamenu-tabs");
for(var i = 0; i < navigationTabs.length; i++){
initTabs(navigationTabs[i]);
}
}
};
// set the landscape mode
var landscapeMode = function(){
unbindEvents("landscape");
resetSubmenus();
if(navigator.userAgent.match(/Mobi/i) || navigator.maxTouchPoints > 0 || plugin.settings.submenuTrigger == "click"){
$(element).find(".nav-menu, .nav-dropdown").children("li").children("a").on(clickTouchEvents, function(e){
plugin.hideSubmenu($(this).parent("li").siblings("li"), plugin.settings.effect);
$(this).closest(".nav-menu").siblings(".nav-menu").find(".nav-submenu").fadeOut(plugin.settings.hideDuration);
if($(this).siblings(".nav-submenu").length > 0){
e.stopPropagation();
e.preventDefault();
if($(this).siblings(".nav-submenu").css("display") == "none"){
plugin.showSubmenu($(this).parent("li"), plugin.settings.effect);
fixSubmenuRightPosition();
return false;
}
else{
plugin.hideSubmenu($(this).parent("li"), plugin.settings.effect);
}
if($(this).attr("target") === "_blank" || $(this).attr("target") === "blank"){
window.open($(this).attr("href"));
}
else{
if($(this).attr("href") === "#" || $(this).attr("href") === "" || $(this).attr("href") === "javascript:void(0)"){
return false;
}
else{
window.location.href = $(this).attr("href");
}
}
}
});
}
else{
$(element).find(".nav-menu").find("li").on(hoverShowEvents, function(){
plugin.showSubmenu(this, plugin.settings.effect);
fixSubmenuRightPosition();
}).on(hoverHideEvents, function(){
plugin.hideSubmenu(this, plugin.settings.effect);
});
}
if(plugin.settings.hideSubWhenGoOut){
goOut();
}
};
// set the portrait mode
var portraitMode = function(){
unbindEvents("portrait");
resetSubmenus();
if(plugin.settings.visibleSubmenusOnMobile){
$(element).find(".nav-submenu").show(0);
}
else{
$(element).find(".submenu-indicator").removeClass("submenu-indicator-up");
if(plugin.settings.submenuIndicator && plugin.settings.submenuIndicatorTrigger){
$(element).find(".submenu-indicator").on(clickTouchEvents, function(e){
e.stopPropagation();
e.preventDefault();
plugin.hideSubmenu($(this).parent("a").parent("li").siblings("li"), "slide");
plugin.hideSubmenu($(this).closest(".nav-menu").siblings(".nav-menu").children("li"), "slide");
if($(this).parent("a").siblings(".nav-submenu").css("display") == "none"){
$(this).addClass("submenu-indicator-up");
$(this).parent("a").parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
$(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.showSubmenu($(this).parent("a").parent("li"), "slide");
return false;
}
else{
$(this).parent("a").parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.hideSubmenu($(this).parent("a").parent("li"), "slide");
}
});
}
else{
$(element).find(".nav-menu, .nav-dropdown").children("li").children("a").each(function(){
if($(this).siblings(".nav-submenu").length > 0){
$(this).on(clickTouchEvents, function(e){
e.stopPropagation();
e.preventDefault();
plugin.hideSubmenu($(this).parent("li").siblings("li"), plugin.settings.effect);
plugin.hideSubmenu($(this).closest(".nav-menu").siblings(".nav-menu").children("li"), "slide");
if($(this).siblings(".nav-submenu").css("display") == "none"){
$(this).children(".submenu-indicator").addClass("submenu-indicator-up");
$(this).parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
$(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.showSubmenu($(this).parent("li"), "slide");
return false;
}
else{
$(this).parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up");
plugin.hideSubmenu($(this).parent("li"), "slide");
}
if($(this).attr("target") === "_blank" || $(this).attr("target") === "blank"){
window.open($(this).attr("href"));
}
else{
if($(this).attr("href") === "#" || $(this).attr("href") === "" || $(this).attr("href") === "javascript:void(0)"){
return false;
}
else{
window.location.href = $(this).attr("href");
}
}
});
}
});
}
}
};
plugin.callback = function(func) {
if (options[func] !== undefined) {
options[func].call(element);
}
};
plugin.init();
};
$.fn.navigation = function(options){
return this.each(function(){
if (undefined === $(this).data("navigation")){
var plugin = new $.navigation(this, options);
$(this).data("navigation", plugin);
}
});
};
})( jQuery, window, document );

View File

@ -0,0 +1,200 @@

;(function ($, window, document, undefined) {
// Add our plugin to fn
$.fn.extend({
// Scrollspy is the name of the plugin
scrollspy: function (options) {
// Define our defaults
var defaults = {
namespace: 'scrollspy',
activeClass: 'active',
scrollSpeed: 500,
offset: 0,
container: window,
onChange: function(){},
onExit: function(){}
};
// Add any overriden options to a new object
options = $.extend({}, defaults, options);
// Adds two numbers together
var add = function (ex1, ex2) {
return parseInt(ex1, 10) + parseInt(ex2, 10);
}
// Find our elements
var findElements = function (links) {
// Declare our array
var elements = [];
// Loop through the links
for (var i = 0; i < links.length; i++) {
// Get our current link
var link = links[i];
// Get our hash
var hash = $(link).attr("href");
// Store our hash as an element
var element = $(hash);
// If we have an element matching the hash
if (element.length > 0) {
// Get our offset
var top = Math.floor(element.offset().top),
bottom = top + Math.floor(element.outerHeight());
// Add to our array
elements.push({ element: element, hash: hash, top: top, bottom: bottom });
}
}
// Return our elements
return elements;
};
// Find our link from a hash
var findLink = function (links, hash) {
// For each link
for (var i = 0; i < links.length; i++) {
// Get our current link
var link = $(links[i]);
// If our hash matches the link href
if (link.attr("href") === hash) {
// Return the link
return link;
}
}
};
// Reset classes on our elements
var resetClasses = function (links) {
// For each link
for (var i = 0; i < links.length; i++) {
// Get our current link
var link = $(links[i]);
// Remove the active class
link.parent().removeClass(options.activeClass);
}
};
// For each scrollspy instance
return this.each(function () {
// Declare our global variables
var element = this,
container = $(options.container);
// Get our objects
var links = $(element).find(".nav-menu").find('[href*="#"]');
// Loop through our links
for (var i = 0; i < links.length; i++) {
// Get our current link
var link = links[i];
// Bind the click event
$(link).on("click", function (e) {
// Get our target
var target = $(this).attr("href"),
$target = $(target);
// If we have the element
if ($target.length > 0) {
// Get it's scroll position
var top = add($target.offset().top, options.offset);
// Scroll to our position
$('html, body').animate({ scrollTop: top }, options.scrollSpeed);
// Prevent our link
e.preventDefault();
}
});
}
// Get our elements
var elements = findElements(links);
$(window).resize(function() {
elements = findElements(links);
});
// Add a listener to the window
container.on('scroll.' + options.namespace, function () {
// Get the position and store in an object
var position = {
top: add($(this).scrollTop(), Math.abs(options.offset)),
left: $(this).scrollLeft()
};
// Create a variable for our link
var link;
// Loop through our elements
for (var i = 0; i < elements.length; i++) {
// Get our current item
var current = elements[i];
// If we are within the boundries of our element
if (position.top >= current.top && position.top < current.bottom) {
// get our element
var hash = current.hash;
// Get the link
link = findLink(links, hash);
// If we have a link
if (link) {
// If we have an onChange function
if (options.onChange) {
// Fire our onChange function
options.onChange(current.element, $(element), position);
}
// Reset the classes on all other link
resetClasses(links);
// Add our active link to our parent
link.parent().addClass(options.activeClass);
// break our loop
break;
}
}
}
// If we don't have a link and we have a exit function
if (!link && options.onExit) {
// Fire our onChange function
options.onExit($(element), position);
}
});
});
}
});
})(jQuery, window, document, undefined);

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 it is too large Load Diff

View File

@ -0,0 +1,3 @@
/*! modernizr 3.6.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-setclasses !*/
!function(n,e,s){function o(n){var e=f.className,s=Modernizr._config.classPrefix||"";if(l&&(e=e.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+s+"no-js(\\s|$)");e=e.replace(o,"$1"+s+"js$2")}Modernizr._config.enableClasses&&(e+=" "+s+n.join(" "+s),l?f.className.baseVal=e:f.className=e)}function a(n,e){return typeof n===e}function i(){var n,e,s,o,i,f,l;for(var c in r)if(r.hasOwnProperty(c)){if(n=[],e=r[c],e.name&&(n.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(s=0;s<e.options.aliases.length;s++)n.push(e.options.aliases[s].toLowerCase());for(o=a(e.fn,"function")?e.fn():e.fn,i=0;i<n.length;i++)f=n[i],l=f.split("."),1===l.length?Modernizr[l[0]]=o:(!Modernizr[l[0]]||Modernizr[l[0]]instanceof Boolean||(Modernizr[l[0]]=new Boolean(Modernizr[l[0]])),Modernizr[l[0]][l[1]]=o),t.push((o?"":"no-")+l.join("-"))}}var t=[],f=e.documentElement,l="svg"===f.nodeName.toLowerCase(),r=[],c={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,e){var s=this;setTimeout(function(){e(s[n])},0)},addTest:function(n,e,s){r.push({name:n,fn:e,options:s})},addAsyncTest:function(n){r.push({name:null,fn:n})}},Modernizr=function(){};Modernizr.prototype=c,Modernizr=new Modernizr,i(),o(t),delete c.addTest,delete c.addAsyncTest;for(var u=0;u<Modernizr._q.length;u++)Modernizr._q[u]();n.Modernizr=Modernizr}(window,document);

View File

@ -0,0 +1,44 @@
var data = [
{ y: '2014', a: 50, b: 90},
{ y: '2015', a: 65, b: 75},
{ y: '2016', a: 50, b: 50},
{ y: '2017', a: 75, b: 60},
{ y: '2018', a: 80, b: 65},
{ y: '2019', a: 90, b: 70},
{ y: '2020', a: 100, b: 75},
{ y: '2021', a: 115, b: 75},
{ y: '2022', a: 120, b: 85},
{ y: '2023', a: 145, b: 85},
{ y: '2024', a: 160, b: 95}
],
config = {
data: data,
xkey: 'y',
ykeys: ['a', 'b'],
labels: ['Total Income', 'Total Outcome'],
fillOpacity: 0.6,
hideHover: 'auto',
behaveLikeLine: true,
resize: true,
pointFillColors:['#ffffff'],
pointStrokeColors: ['black'],
lineColors:['gray','red']
};
config.element = 'area-chart';
Morris.Area(config);
config.element = 'line-chart';
Morris.Line(config);
config.element = 'bar-chart';
Morris.Bar(config);
config.element = 'stacked';
config.stacked = true;
Morris.Bar(config);
Morris.Donut({
element: 'pie-chart',
data: [
{label: "Friends", value: 30},
{label: "Allies", value: 15},
{label: "Enemies", value: 45},
{label: "Neutral", value: 10}
]
});

View File

@ -0,0 +1,50 @@
/* ===============================================
CONTACT FORM
=============================================== */
const form = document.getElementById("form");
const result = document.getElementById("result");
form.addEventListener("submit", function (e) {
const formData = new FormData(form);
e.preventDefault();
var object = {};
formData.forEach((value, key) => {
object[key] = value;
});
var json = JSON.stringify(object);
result.innerHTML = "Please wait...";
fetch("https://api.web3forms.com/submit", {
method: "POST",
headers: {
"Content-Type": "application/json",
Accept: "application/json"
},
body: json
})
.then(async (response) => {
let json = await response.json();
if (response.status == 200) {
result.innerHTML = json.message;
result.classList.remove("text-gray-500");
result.classList.add("text-green-500");
} else {
console.log(response);
result.innerHTML = json.message;
result.classList.remove("text-gray-500");
result.classList.add("text-red-500");
}
})
.catch((error) => {
console.log(error);
result.innerHTML = "Something went wrong!";
})
.then(function () {
form.reset();
setTimeout(() => {
result.style.display = "none";
}, 5000);
});
});

View File

@ -0,0 +1,502 @@
let date= new Date("1,1,2023")
let CountDay=document.getElementById("Days")
let CountHour=document.getElementById("Hours")
let CountMinutes=document.getElementById("Minutes")
let CountSeconds=document.getElementById("Seconds")
let Int=setInterval(UpdateTime,1)
function UpdateTime(){
let Now= new Date().getTime()
let distance= date - Now
CountDay.innerHTML=Math.floor(distance / (1000 * 60 * 60 * 24));
CountHour.innerHTML= Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
CountMinutes.innerHTML= Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
CountSeconds.innerHTML= Math.floor((distance % (1000 * 60)) / 1000);
if(distance<0){
clearInterval(Int)
document.getElementById("Days").innerHTML="this";
document.getElementById("Hours").innerHTML="pen";
document.getElementById("Minutes").innerHTML="is";
document.getElementById("Seconds").innerHTML="Exp"
}
}
var VanillaTilt = (function () {
'use strict';
class VanillaTilt {
constructor(element, settings = {}) {
if (!(element instanceof Node)) {
throw ("Can't initialize VanillaTilt because " + element + " is not a Node.");
}
this.width = null;
this.height = null;
this.clientWidth = null;
this.clientHeight = null;
this.left = null;
this.top = null;
this.gammazero = null;
this.betazero = null;
this.lastgammazero = null;
this.lastbetazero = null;
this.transitionTimeout = null;
this.updateCall = null;
this.event = null;
this.updateBind = this.update.bind(this);
this.resetBind = this.reset.bind(this);
this.element = element;
this.settings = this.extendSettings(settings);
this.reverse = this.settings.reverse ? -1 : 1;
this.glare = VanillaTilt.isSettingTrue(this.settings.glare);
this.glarePrerender = VanillaTilt.isSettingTrue(this.settings["glare-prerender"]);
this.fullPageListening = VanillaTilt.isSettingTrue(this.settings["full-page-listening"]);
this.gyroscope = VanillaTilt.isSettingTrue(this.settings.gyroscope);
this.gyroscopeSamples = this.settings.gyroscopeSamples;
this.elementListener = this.getElementListener();
if (this.glare) {
this.prepareGlare();
}
if (this.fullPageListening) {
this.updateClientSize();
}
this.addEventListeners();
this.reset();
this.updateInitialPosition();
}
static isSettingTrue(setting) {
return setting === "" || setting === true || setting === 1;
}
getElementListener() {
if (this.fullPageListening) {
return window.document;
}
if (typeof this.settings["mouse-event-element"] === "string") {
const mouseEventElement = document.querySelector(this.settings["mouse-event-element"]);
if (mouseEventElement) {
return mouseEventElement;
}
}
if (this.settings["mouse-event-element"] instanceof Node) {
return this.settings["mouse-event-element"];
}
return this.element;
}
addEventListeners() {
this.onMouseEnterBind = this.onMouseEnter.bind(this);
this.onMouseMoveBind = this.onMouseMove.bind(this);
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
this.onWindowResizeBind = this.onWindowResize.bind(this);
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
this.elementListener.addEventListener("mouseleave", this.onMouseLeaveBind);
this.elementListener.addEventListener("mousemove", this.onMouseMoveBind);
if (this.glare || this.fullPageListening) {
window.addEventListener("resize", this.onWindowResizeBind);
}
if (this.gyroscope) {
window.addEventListener("deviceorientation", this.onDeviceOrientationBind);
}
}
removeEventListeners() {
this.elementListener.removeEventListener("mouseenter", this.onMouseEnterBind);
this.elementListener.removeEventListener("mouseleave", this.onMouseLeaveBind);
this.elementListener.removeEventListener("mousemove", this.onMouseMoveBind);
if (this.gyroscope) {
window.removeEventListener("deviceorientation", this.onDeviceOrientationBind);
}
if (this.glare || this.fullPageListening) {
window.removeEventListener("resize", this.onWindowResizeBind);
}
}
destroy() {
clearTimeout(this.transitionTimeout);
if (this.updateCall !== null) {
cancelAnimationFrame(this.updateCall);
}
this.reset();
this.removeEventListeners();
this.element.vanillaTilt = null;
delete this.element.vanillaTilt;
this.element = null;
}
onDeviceOrientation(event) {
if (event.gamma === null || event.beta === null) {
return;
}
this.updateElementPosition();
if (this.gyroscopeSamples > 0) {
this.lastgammazero = this.gammazero;
this.lastbetazero = this.betazero;
if (this.gammazero === null) {
this.gammazero = event.gamma;
this.betazero = event.beta;
} else {
this.gammazero = (event.gamma + this.lastgammazero) / 2;
this.betazero = (event.beta + this.lastbetazero) / 2;
}
this.gyroscopeSamples -= 1;
}
const totalAngleX = this.settings.gyroscopeMaxAngleX - this.settings.gyroscopeMinAngleX;
const totalAngleY = this.settings.gyroscopeMaxAngleY - this.settings.gyroscopeMinAngleY;
const degreesPerPixelX = totalAngleX / this.width;
const degreesPerPixelY = totalAngleY / this.height;
const angleX = event.gamma - (this.settings.gyroscopeMinAngleX + this.gammazero);
const angleY = event.beta - (this.settings.gyroscopeMinAngleY + this.betazero);
const posX = angleX / degreesPerPixelX;
const posY = angleY / degreesPerPixelY;
if (this.updateCall !== null) {
cancelAnimationFrame(this.updateCall);
}
this.event = {
clientX: posX + this.left,
clientY: posY + this.top,
};
this.updateCall = requestAnimationFrame(this.updateBind);
}
onMouseEnter() {
this.updateElementPosition();
this.element.style.willChange = "transform";
this.setTransition();
}
onMouseMove(event) {
if (this.updateCall !== null) {
cancelAnimationFrame(this.updateCall);
}
this.event = event;
this.updateCall = requestAnimationFrame(this.updateBind);
}
onMouseLeave() {
this.setTransition();
if (this.settings.reset) {
requestAnimationFrame(this.resetBind);
}
}
reset() {
this.event = {
clientX: this.left + this.width / 2,
clientY: this.top + this.height / 2
};
if (this.element && this.element.style) {
this.element.style.transform = `perspective(${this.settings.perspective}px) ` +
`rotateX(0deg) ` +
`rotateY(0deg) ` +
`scale3d(1, 1, 1)`;
}
this.resetGlare();
}
resetGlare() {
if (this.glare) {
this.glareElement.style.transform = "rotate(180deg) translate(-50%, -50%)";
this.glareElement.style.opacity = "0";
}
}
updateInitialPosition() {
if (this.settings.startX === 0 && this.settings.startY === 0) {
return;
}
this.onMouseEnter();
if (this.fullPageListening) {
this.event = {
clientX: (this.settings.startX + this.settings.max) / (2 * this.settings.max) * this.clientWidth,
clientY: (this.settings.startY + this.settings.max) / (2 * this.settings.max) * this.clientHeight
};
} else {
this.event = {
clientX: this.left + ((this.settings.startX + this.settings.max) / (2 * this.settings.max) * this.width),
clientY: this.top + ((this.settings.startY + this.settings.max) / (2 * this.settings.max) * this.height)
};
}
let backupScale = this.settings.scale;
this.settings.scale = 1;
this.update();
this.settings.scale = backupScale;
this.resetGlare();
}
getValues() {
let x, y;
if (this.fullPageListening) {
x = this.event.clientX / this.clientWidth;
y = this.event.clientY / this.clientHeight;
} else {
x = (this.event.clientX - this.left) / this.width;
y = (this.event.clientY - this.top) / this.height;
}
x = Math.min(Math.max(x, 0), 1);
y = Math.min(Math.max(y, 0), 1);
let tiltX = (this.reverse * (this.settings.max - x * this.settings.max * 2)).toFixed(2);
let tiltY = (this.reverse * (y * this.settings.max * 2 - this.settings.max)).toFixed(2);
let angle = Math.atan2(this.event.clientX - (this.left + this.width / 2), -(this.event.clientY - (this.top + this.height / 2))) * (180 / Math.PI);
return {
tiltX: tiltX,
tiltY: tiltY,
percentageX: x * 100,
percentageY: y * 100,
angle: angle
};
}
updateElementPosition() {
let rect = this.element.getBoundingClientRect();
this.width = this.element.offsetWidth;
this.height = this.element.offsetHeight;
this.left = rect.left;
this.top = rect.top;
}
update() {
let values = this.getValues();
this.element.style.transform = "perspective(" + this.settings.perspective + "px) " +
"rotateX(" + (this.settings.axis === "x" ? 0 : values.tiltY) + "deg) " +
"rotateY(" + (this.settings.axis === "y" ? 0 : values.tiltX) + "deg) " +
"scale3d(" + this.settings.scale + ", " + this.settings.scale + ", " + this.settings.scale + ")";
if (this.glare) {
this.glareElement.style.transform = `rotate(${values.angle}deg) translate(-50%, -50%)`;
this.glareElement.style.opacity = `${values.percentageY * this.settings["max-glare"] / 100}`;
}
this.element.dispatchEvent(new CustomEvent("tiltChange", {
"detail": values
}));
this.updateCall = null;
}
prepareGlare() {
if (!this.glarePrerender) {
const jsTiltGlare = document.createElement("div");
jsTiltGlare.classList.add("js-tilt-glare");
const jsTiltGlareInner = document.createElement("div");
jsTiltGlareInner.classList.add("js-tilt-glare-inner");
jsTiltGlare.appendChild(jsTiltGlareInner);
this.element.appendChild(jsTiltGlare);
}
this.glareElementWrapper = this.element.querySelector(".js-tilt-glare");
this.glareElement = this.element.querySelector(".js-tilt-glare-inner");
if (this.glarePrerender) {
return;
}
Object.assign(this.glareElementWrapper.style, {
"position": "absolute",
"top": "0",
"left": "0",
"width": "100%",
"height": "100%",
"overflow": "hidden",
"pointer-events": "none"
});
Object.assign(this.glareElement.style, {
"position": "absolute",
"top": "50%",
"left": "50%",
"pointer-events": "none",
"background-image": `linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)`,
"transform": "rotate(180deg) translate(-50%, -50%)",
"transform-origin": "0% 0%",
"opacity": "0",
});
this.updateGlareSize();
}
updateGlareSize() {
if (this.glare) {
const glareSize = (this.element.offsetWidth > this.element.offsetHeight ? this.element.offsetWidth : this.element.offsetHeight) * 2;
Object.assign(this.glareElement.style, {
"width": `${glareSize}px`,
"height": `${glareSize}px`,
});
}
}
updateClientSize() {
this.clientWidth = window.innerWidth
|| document.documentElement.clientWidth
|| document.body.clientWidth;
this.clientHeight = window.innerHeight
|| document.documentElement.clientHeight
|| document.body.clientHeight;
}
onWindowResize() {
this.updateGlareSize();
this.updateClientSize();
}
setTransition() {
clearTimeout(this.transitionTimeout);
this.element.style.transition = this.settings.speed + "ms " + this.settings.easing;
if (this.glare) this.glareElement.style.transition = `opacity ${this.settings.speed}ms ${this.settings.easing}`;
this.transitionTimeout = setTimeout(() => {
this.element.style.transition = "";
if (this.glare) {
this.glareElement.style.transition = "";
}
}, this.settings.speed);
}
extendSettings(settings) {
let defaultSettings = {
reverse: false,
max: 15,
startX: 0,
startY: 0,
perspective: 1000,
easing: "cubic-bezier(.03,.98,.52,.99)",
scale: 1,
speed: 300,
transition: true,
axis: null,
glare: false,
"max-glare": 1,
"glare-prerender": false,
"full-page-listening": false,
"mouse-event-element": null,
reset: true,
gyroscope: true,
gyroscopeMinAngleX: -45,
gyroscopeMaxAngleX: 45,
gyroscopeMinAngleY: -45,
gyroscopeMaxAngleY: 45,
gyroscopeSamples: 10
};
let newSettings = {};
for (var property in defaultSettings) {
if (property in settings) {
newSettings[property] = settings[property];
} else if (this.element.hasAttribute("data-tilt-" + property)) {
let attribute = this.element.getAttribute("data-tilt-" + property);
try {
newSettings[property] = JSON.parse(attribute);
} catch (e) {
newSettings[property] = attribute;
}
} else {
newSettings[property] = defaultSettings[property];
}
}
return newSettings;
}
static init(elements, settings) {
if (elements instanceof Node) {
elements = [elements];
}
if (elements instanceof NodeList) {
elements = [].slice.call(elements);
}
if (!(elements instanceof Array)) {
return;
}
elements.forEach((element) => {
if (!("vanillaTilt" in element)) {
element.vanillaTilt = new VanillaTilt(element, settings);
}
});
}
}
if (typeof document !== "undefined") {
/* expose the class to window */
window.VanillaTilt = VanillaTilt;
VanillaTilt.init(document.querySelectorAll("[data-tilt]"));
}
return VanillaTilt;
}());

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,13 @@
$( function() {
$( "#slider-range" ).slider({
range: true,
min: 0,
max: 85000,
values: [ 4500, 75300 ],
slide: function( event, ui ) {
$( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
}
});
$( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) +
" - $" + $( "#slider-range" ).slider( "values", 1 ) );
} );

View File

@ -0,0 +1,80 @@
var tpj=jQuery;
var revapi1014;
tpj(document).ready(function() {
if(tpj("#rev_slider_1014_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1014_1");
}else{
revapi1014 = tpj("#rev_slider_1014_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:true,
hide_under:768,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:20,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:20,
v_offset:0
}
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,600],
lazyType:"none",
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
// RsTypewriterAddOn(tpj, revapi1014);
}); /*ready*/

View File

@ -0,0 +1,111 @@
var tpj=jQuery;
var revapi486;
tpj(document).ready(function() {
if(tpj("#rev_slider_486_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_486_1");
}else{
revapi486 = tpj("#rev_slider_486_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullwidth",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"on",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"on",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"gyges",
enable:true,
hide_onmobile:false,
hide_over:778,
hide_onleave:false,
tmp:'',
left: {
h_align:"right",
v_align:"bottom",
h_offset:40,
v_offset:0
},
right: {
h_align:"right",
v_align:"bottom",
h_offset:0,
v_offset:0
}
}
,
tabs: {
style:"erinyen",
enable:true,
width:250,
height:100,
min_width:250,
wrapper_padding:0,
wrapper_color:"transparent",
wrapper_opacity:"0",
tmp:'<div class="tp-tab-title">{{title}}</div><div class="tp-tab-desc">{{description}}</div>',
visibleAmount: 3,
hide_onmobile: true,
hide_under:778,
hide_onleave:false,
hide_delay:200,
direction:"vertical",
span:false,
position:"inner",
space:10,
h_align:"right",
v_align:"center",
h_offset:30,
v_offset:0
}
},
viewPort: {
enable:true,
outof:"pause",
visible_area:"80%",
presize:false
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"scroll",
origo:"enterpoint",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,50,46,47,48,49,50,55],
type:"scroll",
},
shadow:0,
spinner:"off",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,28 @@
var options = {
autoPlay: true,
autoPlay: 2000,
accessibility: true,
prevNextButtons: true,
pageDots: true,
setGallerySize: false,
arrowShape: {
x0: 10,
x1: 60,
y1: 50,
x2: 60,
y2: 45,
x3: 15
}
};
var carousel = document.querySelector('[data-carousel]');
var slides = document.getElementsByClassName('carousel-cell');
var flkty = new Flickity(carousel, options);
flkty.on('scroll', function () {
flkty.slides.forEach(function (slide, i) {
var image = slides[i];
var x = (slide.target + flkty.x) * -1 / 3;
image.style.backgroundPosition = x + 'px';
});
});

View File

@ -0,0 +1,97 @@
var tpj = jQuery;
var revapi1077;
tpj(document).ready(function () {
if (tpj("#rev_slider_1077_1").revolution == undefined) {
revslider_showDoubleJqueryError("#rev_slider_1077_1");
} else {
revapi1077 = tpj("#rev_slider_1077_1").show().revolution({
sliderType: "standard",
jsFileLocation: "revolution/js/",
sliderLayout: "fullscreen",
dottedOverlay: "none",
delay: 9000,
navigation: {
keyboardNavigation: "off",
keyboard_direction: "horizontal",
mouseScrollNavigation: "off",
mouseScrollReverse: "default",
onHoverStop: "off",
touch: {
touchenabled: "on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
},
bullets: {
enable: true,
hide_onmobile: true,
hide_under: 960,
style: "zeus",
hide_onleave: false,
direction: "horizontal",
h_align: "right",
v_align: "bottom",
h_offset: 80,
v_offset: 50,
space: 5,
tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-imageoverlay"></span><span class="tp-bullet-title">{{title}}</span>'
}
},
responsiveLevels: [1240, 1024, 778, 480],
visibilityLevels: [1240, 1024, 778, 480],
gridwidth: [1240, 1024, 778, 480],
gridheight: [868, 768, 960, 720],
lazyType: "none",
parallax: {
type: "mouse",
origo: "slidercenter",
speed: 2000,
levels: [2, 3, 4, 5, 6, 7, 12, 16, 10, 50, 46, 47, 48, 49, 50, 55],
type: "mouse",
disable_onmobile: "on"
},
shadow: 0,
spinner: "off",
stopLoop: "on",
stopAfterLoops: 0,
stopAtSlide: 1,
shuffle: "off",
autoHeight: "off",
fullScreenAutoWidth: "off",
fullScreenAlignForce: "off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar: "on",
hideThumbsOnMobile: "off",
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
debugMode: false,
fallbacks: {
simplifyAll: "off",
nextSlideOnWindowFocus: "off",
disableFocusListener: false,
}
});
var newCall = new Object(),
cslide;
newCall.callback = function () {
var proc = revapi1077.revgetparallaxproc(),
fade = 1 + proc,
scale = 1 + (Math.abs(proc) / 10);
punchgs.TweenLite.set(revapi1077.find('.slotholder, .rs-background-video-layer'), {
opacity: fade,
scale: scale
});
}
newCall.inmodule = "parallax";
newCall.atposition = "start";
revapi1077.bind("revolution.slide.onloaded", function (e) {
revapi1077.revaddcallback(newCall);
});
}
}); /*ready*/

View File

@ -0,0 +1,96 @@
var tpj=jQuery;
var revapi465;
tpj(document).ready(function() {
if(tpj("#rev_slider_465_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_465_1");
}else{
revapi465 = tpj("#rev_slider_465_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullwidth",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"metis",
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:0,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:0,
v_offset:0
}
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:768,
style:"hermes",
hide_onleave:false,
direction:"horizontal",
h_align:"center",
v_align:"bottom",
h_offset:0,
v_offset:30,
space:5,
tmp:''
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[800,768,960,720],
lazyType:"smart",
parallax: {
type:"scroll",
origo:"enterpoint",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:"scroll",
disable_onmobile:"on"
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,63 @@
var tpj=jQuery;
var revapi24;
tpj(document).ready(function() {
if(tpj("#rev_slider_24_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_24_1");
}else{
revapi24 = tpj("#rev_slider_24_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
bullets: {
enable:true,
hide_onmobile:false,
style:"bullet-bar",
hide_onleave:false,
direction:"horizontal",
h_align:"center",
v_align:"bottom",
h_offset:0,
v_offset:50,
space:5,
tmp:''
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
shadow:0,
spinner:"off",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
if(revapi24) revapi24.revSliderSlicey();
}); /*ready*/

View File

@ -0,0 +1,82 @@
var tpj=jQuery;
var revapi1083;
tpj(document).ready(function() {
if(tpj("#rev_slider_1083_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1083_1");
}else{
revapi1083 = tpj("#rev_slider_1083_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"auto",
dottedOverlay:"none",
delay:6000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:600,
style:"hermes",
hide_onleave:true,
hide_delay:200,
hide_delay_mobile:1200,
direction:"vertical",
h_align:"right",
v_align:"center",
h_offset:30,
v_offset:0,
space:5,
tmp:''
}
},
viewPort: {
enable:true,
outof:"pause",
visible_area:"80%",
presize:false
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"mouse",
origo:"slidercenter",
speed:2000,
levels:[2,3,4,5,6,7,12,16,10,50,46,47,48,49,50,55],
type:"mouse",
},
shadow:0,
spinner:"off",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,78 @@
var tpj = jQuery;
var revapi1059;
tpj(document).ready(function () {
if (tpj("#rev_slider_1059_1").revolution == undefined) {
revslider_showDoubleJqueryError("#rev_slider_1059_1");
} else {
revapi1059 = tpj("#rev_slider_1059_1").show().revolution({
sliderType: "standard",
jsFileLocation: "revolution/js/",
sliderLayout: "fullscreen",
dottedOverlay: "none",
delay: 9000,
navigation: {
keyboardNavigation: "off",
keyboard_direction: "horizontal",
mouseScrollNavigation: "off",
mouseScrollReverse: "default",
onHoverStop: "off",
touch: {
touchenabled: "on",
swipe_threshold: 75,
swipe_min_touches: 50,
swipe_direction: "horizontal",
drag_block_vertical: false
},
bullets: {
enable: true,
hide_onmobile: true,
hide_under: 800,
style: "zeus",
hide_onleave: false,
direction: "horizontal",
h_align: "center",
v_align: "bottom",
h_offset: 0,
v_offset: 30,
space: 5,
tmp: '<span class="tp-bullet-image"></span><span class="tp-bullet-imageoverlay"></span><span class="tp-bullet-title">{{title}}</span>'
}
},
responsiveLevels: [1240, 1024, 778, 480],
visibilityLevels: [1240, 1024, 778, 480],
gridwidth: [1240, 1024, 778, 480],
gridheight: [868, 768, 960, 720],
lazyType: "none",
parallax: {
type: "scroll",
origo: "slidercenter",
speed: 1000,
levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 100, 55],
type: "scroll",
},
shadow: 0,
spinner: "off",
stopLoop: "on",
stopAfterLoops: 0,
stopAtSlide: 1,
shuffle: "off",
autoHeight: "off",
fullScreenAutoWidth: "off",
fullScreenAlignForce: "off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar: "on",
hideThumbsOnMobile: "off",
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
debugMode: false,
fallbacks: {
simplifyAll: "off",
nextSlideOnWindowFocus: "off",
disableFocusListener: false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,105 @@
var tpj = jQuery;
var revapi149;
tpj(document).ready(function () {
if (tpj("#rev_slider_149_1").revolution == undefined) {
revslider_showDoubleJqueryError("#rev_slider_149_1");
} else {
revapi149 = tpj("#rev_slider_149_1").show().revolution({
sliderType: "standard",
jsFileLocation: "revolution/js/",
sliderLayout: "fullscreen",
dottedOverlay: "none",
delay: 9000,
snow: {
startSlide: "first",
endSlide: "last",
maxNum: "400",
minSize: "0.2",
maxSize: "6",
minOpacity: "0.3",
maxOpacity: "1",
minSpeed: "30",
maxSpeed: "100",
minSinus: "1",
maxSinus: "100",
},
navigation: {
keyboardNavigation: "off",
keyboard_direction: "vertical",
mouseScrollNavigation: "off",
mouseScrollReverse: "default",
onHoverStop: "off",
touch: {
touchenabled: "on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
},
arrows: {
style: "uranus",
enable: true,
hide_onmobile: false,
hide_onleave: false,
tmp: '',
left: {
h_align: "left",
v_align: "center",
h_offset: 10,
v_offset: 0
},
right: {
h_align: "right",
v_align: "center",
h_offset: 10,
v_offset: 0
}
}
},
responsiveLevels: [1240, 1024, 778, 480],
visibilityLevels: [1240, 1024, 778, 480],
gridwidth: [1240, 1024, 778, 480],
gridheight: [868, 768, 960, 720],
lazyType: "none",
scrolleffect: {
blur: "on",
maxblur: "20",
on_slidebg: "on",
direction: "top",
multiplicator: "2",
multiplicator_layers: "2",
tilt: "10",
disable_on_mobile: "off",
},
parallax: {
type: "scroll",
origo: "slidercenter",
speed: 400,
levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 51, 55],
},
shadow: 0,
spinner: "spinner3",
stopLoop: "off",
stopAfterLoops: -1,
stopAtSlide: -1,
shuffle: "off",
autoHeight: "off",
fullScreenAutoWidth: "off",
fullScreenAlignForce: "off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
hideThumbsOnMobile: "off",
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
debugMode: false,
fallbacks: {
simplifyAll: "off",
nextSlideOnWindowFocus: "off",
disableFocusListener: false,
}
});
}
// RsSnowAddOn(tpj, revapi149);
}); /*ready*/

View File

@ -0,0 +1,96 @@
var tpj=jQuery;
var revapi465;
tpj(document).ready(function() {
if(tpj("#rev_slider_465_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_465_1");
}else{
revapi465 = tpj("#rev_slider_465_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullwidth",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"metis",
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:0,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:0,
v_offset:0
}
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:768,
style:"hermes",
hide_onleave:false,
direction:"horizontal",
h_align:"center",
v_align:"bottom",
h_offset:0,
v_offset:30,
space:5,
tmp:''
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[800,768,960,650],
lazyType:"smart",
parallax: {
type:"scroll",
origo:"enterpoint",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:"scroll",
disable_onmobile:"on"
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,107 @@
var tpj=jQuery;
var revapi149;
tpj(document).ready(function() {
if(tpj("#rev_slider_149_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_149_1");
}else{
revapi149 = tpj("#rev_slider_149_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
snow: {
startSlide: "first",
endSlide: "last",
maxNum: "400",
minSize: "0.2",
maxSize: "6",
minOpacity: "0.3",
maxOpacity: "1",
minSpeed: "30",
maxSpeed: "100",
minSinus: "1",
maxSinus: "100",
},
navigation: {
keyboardNavigation:"off",
keyboard_direction: "vertical",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:10,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:10,
v_offset:0
}
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
scrolleffect: {
blur:"on",
maxblur:"20",
on_slidebg:"on",
direction:"top",
multiplicator:"2",
multiplicator_layers:"2",
tilt:"10",
disable_on_mobile:"off",
},
parallax: {
type:"scroll",
origo:"slidercenter",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
},
shadow:0,
spinner:"spinner3",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
// RsSnowAddOn(tpj, revapi149);
}); /*ready*/

View File

@ -0,0 +1,108 @@
var tpj = jQuery;
var revapi1164;
tpj(document).ready(function () {
if (tpj("#rev_slider_1164_1").revolution == undefined) {
revslider_showDoubleJqueryError("#rev_slider_1164_1");
} else {
revapi1164 = tpj("#rev_slider_1164_1").show().revolution({
sliderType: "standard",
jsFileLocation: "revolution/js/",
sliderLayout: "fullscreen",
dottedOverlay: "none",
delay: 9000,
navigation: {
keyboardNavigation: "off",
keyboard_direction: "horizontal",
mouseScrollNavigation: "off",
mouseScrollReverse: "default",
onHoverStop: "off",
touch: {
touchenabled: "on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
},
arrows: {
style: "gyges",
enable: true,
hide_onmobile: false,
hide_over: 1199,
hide_onleave: false,
tmp: '',
left: {
h_align: "right",
v_align: "bottom",
h_offset: 60,
v_offset: 20
},
right: {
h_align: "right",
v_align: "bottom",
h_offset: 20,
v_offset: 20
}
},
tabs: {
style: "news-header",
enable: true,
width: 350,
height: 50,
min_width: 350,
wrapper_padding: 5,
wrapper_color: "transparent",
wrapper_opacity: "0.05",
tmp: '<div class="tp-tab-title">{{title}} <i style="float:right; margin-top:5px;" class="fa-icon-chevron-right"></i></div><div class="tp-tab-desc">{{param1}}</div>',
visibleAmount: 3,
hide_onmobile: true,
hide_under: 1200,
hide_onleave: false,
hide_delay: 200,
direction: "vertical",
span: false,
position: "inner",
space: 25,
h_align: "right",
v_align: "bottom",
h_offset: 43,
v_offset: 110
}
},
responsiveLevels: [1240, 1024, 778, 480],
visibilityLevels: [1240, 1024, 778, 480],
gridwidth: [1240, 1024, 778, 480],
gridheight: [868, 768, 960, 800],
lazyType: "single",
parallax: {
type: "scroll",
origo: "slidercenter",
speed: 400,
levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 51, 55],
type: "scroll",
},
shadow: 0,
spinner: "off",
stopLoop: "on",
stopAfterLoops: 0,
stopAtSlide: 1,
shuffle: "off",
autoHeight: "off",
fullScreenAutoWidth: "off",
fullScreenAlignForce: "off",
fullScreenOffsetContainer: ".header",
fullScreenOffset: "60px",
disableProgressBar: "on",
hideThumbsOnMobile: "off",
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
debugMode: false,
fallbacks: {
simplifyAll: "off",
nextSlideOnWindowFocus: "off",
disableFocusListener: false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,109 @@
var tpj=jQuery;
var revapi1164;
tpj(document).ready(function() {
if(tpj("#rev_slider_1164_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1164_1");
}else{
revapi1164 = tpj("#rev_slider_1164_1").show().revolution({
sliderType:"standard", jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"gyges",
enable:true,
hide_onmobile:false,
hide_over:1199,
hide_onleave:false,
tmp:'',
left: {
h_align:"right",
v_align:"bottom",
h_offset:60,
v_offset:20
},
right: {
h_align:"right",
v_align:"bottom",
h_offset:20,
v_offset:20
}
}
,
tabs: {
style:"news-header",
enable:true,
width:350,
height:50,
min_width:350,
wrapper_padding:5,
wrapper_color:"transparent",
wrapper_opacity:"0.05",
tmp:'<div class="tp-tab-title">{{title}} <i style="float:right; margin-top:5px;" class="fa-icon-chevron-right"></i></div><div class="tp-tab-desc">{{param1}}</div>',
visibleAmount: 3,
hide_onmobile: true,
hide_under:1200,
hide_onleave:false,
hide_delay:200,
direction:"vertical",
span:false,
position:"inner",
space:25,
h_align:"right",
v_align:"bottom",
h_offset:43,
v_offset:110
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,800],
lazyType:"single",
parallax: {
type:"scroll",
origo:"slidercenter",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:"scroll",
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: ".header",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,107 @@
var tpj=jQuery;
var revapi149;
tpj(document).ready(function() {
if(tpj("#rev_slider_149_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_149_1");
}else{
revapi149 = tpj("#rev_slider_149_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
snow: {
startSlide: "first",
endSlide: "last",
maxNum: "400",
minSize: "0.2",
maxSize: "6",
minOpacity: "0.3",
maxOpacity: "1",
minSpeed: "30",
maxSpeed: "100",
minSinus: "1",
maxSinus: "100",
},
navigation: {
keyboardNavigation:"off",
keyboard_direction: "vertical",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:10,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:10,
v_offset:0
}
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
scrolleffect: {
blur:"on",
maxblur:"20",
on_slidebg:"on",
direction:"top",
multiplicator:"2",
multiplicator_layers:"2",
tilt:"10",
disable_on_mobile:"off",
},
parallax: {
type:"scroll",
origo:"slidercenter",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
},
shadow:0,
spinner:"spinner3",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
// RsSnowAddOn(tpj, revapi149);
}); /*ready*/

View File

@ -0,0 +1,110 @@
var tpj=jQuery;
var revapi1164;
tpj(document).ready(function() {
if(tpj("#rev_slider_1164_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1164_1");
}else{
revapi1164 = tpj("#rev_slider_1164_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"gyges",
enable:true,
hide_onmobile:false,
hide_over:1199,
hide_onleave:false,
tmp:'',
left: {
h_align:"right",
v_align:"bottom",
h_offset:60,
v_offset:20
},
right: {
h_align:"right",
v_align:"bottom",
h_offset:20,
v_offset:20
}
}
,
tabs: {
style:"news-header",
enable:true,
width:350,
height:50,
min_width:350,
wrapper_padding:5,
wrapper_color:"transparent",
wrapper_opacity:"0.05",
tmp:'<div class="tp-tab-title">{{title}} <i style="float:right; margin-top:5px;" class="fa-icon-chevron-right"></i></div><div class="tp-tab-desc">{{param1}}</div>',
visibleAmount: 3,
hide_onmobile: true,
hide_under:1200,
hide_onleave:false,
hide_delay:200,
direction:"vertical",
span:false,
position:"inner",
space:25,
h_align:"right",
v_align:"bottom",
h_offset:43,
v_offset:110
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,800],
lazyType:"single",
parallax: {
type:"scroll",
origo:"slidercenter",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:"scroll",
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: ".header",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,80 @@
var tpj=jQuery;
var revapi1014;
tpj(document).ready(function() {
if(tpj("#rev_slider_1014_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1014_1");
}else{
revapi1014 = tpj("#rev_slider_1014_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:true,
hide_under:768,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:20,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:20,
v_offset:0
}
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,600],
lazyType:"none",
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
// RsTypewriterAddOn(tpj, revapi1014);
}); /*ready*/

View File

@ -0,0 +1,79 @@
var tpj=jQuery;
var revapi1059;
tpj(document).ready(function() {
if(tpj("#rev_slider_1059_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1059_1");
}else{
revapi1059 = tpj("#rev_slider_1059_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 50,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:800,
style:"zeus",
hide_onleave:false,
direction:"horizontal",
h_align:"center",
v_align:"bottom",
h_offset:0,
v_offset:30,
space:5,
tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-imageoverlay"></span><span class="tp-bullet-title">{{title}}</span>'
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"scroll",
origo:"slidercenter",
speed:1000,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,100,55],
type:"scroll",
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,79 @@
var tpj=jQuery;
var revapi1059;
tpj(document).ready(function() {
if(tpj("#rev_slider_1059_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1059_1");
}else{
revapi1059 = tpj("#rev_slider_1059_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
keyboardNavigation:"off",
keyboard_direction: "horizontal",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 50,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
bullets: {
enable:true,
hide_onmobile:true,
hide_under:800,
style:"zeus",
hide_onleave:false,
direction:"horizontal",
h_align:"center",
v_align:"bottom",
h_offset:0,
v_offset:30,
space:5,
tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-imageoverlay"></span><span class="tp-bullet-title">{{title}}</span>'
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"scroll",
origo:"slidercenter",
speed:1000,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,100,55],
type:"scroll",
},
shadow:0,
spinner:"off",
stopLoop:"on",
stopAfterLoops:0,
stopAtSlide:1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,107 @@
var tpj=jQuery;
var revapi149;
tpj(document).ready(function() {
if(tpj("#rev_slider_149_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_149_1");
}else{
revapi149 = tpj("#rev_slider_149_1").show().revolution({
sliderType:"standard",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
snow: {
startSlide: "first",
endSlide: "last",
maxNum: "400",
minSize: "0.2",
maxSize: "6",
minOpacity: "0.3",
maxOpacity: "1",
minSpeed: "30",
maxSpeed: "100",
minSinus: "1",
maxSinus: "100",
},
navigation: {
keyboardNavigation:"off",
keyboard_direction: "vertical",
mouseScrollNavigation:"off",
mouseScrollReverse:"default",
onHoverStop:"off",
touch:{
touchenabled:"on",
swipe_threshold: 75,
swipe_min_touches: 1,
swipe_direction: "horizontal",
drag_block_vertical: false
}
,
arrows: {
style:"uranus",
enable:true,
hide_onmobile:false,
hide_onleave:false,
tmp:'',
left: {
h_align:"left",
v_align:"center",
h_offset:10,
v_offset:0
},
right: {
h_align:"right",
v_align:"center",
h_offset:10,
v_offset:0
}
}
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
scrolleffect: {
blur:"on",
maxblur:"20",
on_slidebg:"on",
direction:"top",
multiplicator:"2",
multiplicator_layers:"2",
tilt:"10",
disable_on_mobile:"off",
},
parallax: {
type:"scroll",
origo:"slidercenter",
speed:400,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
},
shadow:0,
spinner:"spinner3",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60px",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
nextSlideOnWindowFocus:"off",
disableFocusListener:false,
}
});
}
// RsSnowAddOn(tpj, revapi149);
}); /*ready*/

View File

@ -0,0 +1,47 @@
var tpj=jQuery;
var revapi1069;
tpj(document).ready(function() {
if(tpj("#rev_slider_1069_1").revolution == undefined){
revslider_showDoubleJqueryError("#rev_slider_1069_1");
}else{
revapi1069 = tpj("#rev_slider_1069_1").show().revolution({
sliderType:"hero",
jsFileLocation:"revolution/js/",
sliderLayout:"fullscreen",
dottedOverlay:"none",
delay:9000,
navigation: {
},
responsiveLevels:[1240,1024,778,480],
visibilityLevels:[1240,1024,778,480],
gridwidth:[1240,1024,778,480],
gridheight:[868,768,960,720],
lazyType:"none",
parallax: {
type:"scroll",
origo:"slidercenter",
speed:1000,
levels:[5,10,15,20,25,30,35,40,45,46,47,48,49,50,51,55],
type:"scroll",
},
shadow:0,
spinner:"spinner2",
autoHeight:"off",
fullScreenAutoWidth:"off",
fullScreenAlignForce:"off",
fullScreenOffsetContainer: "",
fullScreenOffset: "60",
disableProgressBar:"on",
hideThumbsOnMobile:"off",
hideSliderAtLimit:0,
hideCaptionAtLimit:0,
hideAllCaptionAtLilmit:0,
debugMode:false,
fallbacks: {
simplifyAll:"off",
disableFocusListener:false,
}
});
}
}); /*ready*/

View File

@ -0,0 +1,28 @@
var options = {
autoPlay: true,
autoPlay: 2000,
accessibility: true,
prevNextButtons: true,
pageDots: true,
setGallerySize: false,
arrowShape: {
x0: 10,
x1: 60,
y1: 50,
x2: 60,
y2: 45,
x3: 15
}
};
var carousel = document.querySelector('[data-carousel]');
var slides = document.getElementsByClassName('carousel-cell');
var flkty = new Flickity(carousel, options);
flkty.on('scroll', function () {
flkty.slides.forEach(function (slide, i) {
var image = slides[i];
var x = (slide.target + flkty.x) * -1 / 3;
image.style.backgroundPosition = x + 'px';
});
});