| Server IP : 217.160.0.15 / Your IP : 216.73.216.227 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u37981780 ( 1696858) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/43/d124547881/htdocs/outofboundsldn.co.uk/wp-content/themes/new-blog_old/js/ |
Upload File : |
jQuery(document).ready(function(){
jQuery('.banner').slick({
dots: false,
infinite: true,
arrows:true,
speed: 1000,
slidesToShow: 1,
autoplay:true,
slidesToScroll: 1,
fade: true
});
});
jQuery(document).ready(function(){
jQuery('.post-slider').slick({
dots: true,
infinite: true,
arrows: false,
speed: 1000,
slidesToShow: 1,
autoplay:true,
slidesToScroll: 1
});
});
jQuery(document).ready(function(){
jQuery('.instagram .row').slick({
dots: false,
infinite: true,
arrows:false,
speed: 500,
slidesToShow: 6,
autoplay:true,
slidesToScroll: 1,
fade: false,
swipeToSlide: true,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 5,
slidesToScroll: 1
}
},
{
breakpoint: 992,
settings: {
slidesToShow: 4,
slidesToScroll: 1
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 3,
slidesToScroll: 1
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 2,
slidesToScroll: 1
}
}
]
});
});
jQuery(document).ready(function(){
jQuery('.related-posts .row').slick({
dots: true,
infinite: true,
arrows:false,
speed: 500,
slidesToShow: 2,
autoplay:true,
slidesToScroll: 1,
fade: false,
swipeToSlide: true,
responsive: [
{
breakpoint: 768,
settings: {
slidesToShow: 1
}
}
]
});
});
jQuery(function () {
jQuery('a[href="#search"]').on('click', function(event) {
event.preventDefault();
jQuery('#search').addClass('open');
jQuery('#search > form > input[type="search"]').focus();
});
jQuery('#search, #search button.close').on('click keyup', function(event) {
if (event.target == this || event.target.className == 'close' || event.keyCode == 27) {
jQuery(this).removeClass('open');
}
});
});
// jQuery('[data-sidenav]').sidenav();
(function($) {
"use strict";
$(document).on('ready', function() {
/*====================================
Scrool Up
======================================*/
$.scrollUp({
scrollName: 'scrollUp', // Element ID
scrollDistance: 800, // Distance from top/bottom before showing element (px)
scrollFrom: 'top', // 'top' or 'bottom'
scrollSpeed: 1000, // Speed back to top (ms)
animationSpeed: 200, // Animation speed (ms)
scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object
scrollTarget: false, // Set a custom target element for scrolling to. Can be element or number
scrollText: ["<i class='fa fa-arrow-circle-up'></i>"], // Text for element, can contain HTML
scrollTitle: false, // Set a custom <a> title if required.
scrollImg: false, // Set true to use image
activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'
zIndex: 2147483647 // Z-Index for the overlay
});
});
if(jQuery('#scroll-top div').hasClass('col-lg-12')) {
jQuery('.wp-block-image.alignfull img').css('max-width','125%' ) ;
jQuery('.wp-block-image.alignfull img').css('width','125%');
jQuery('.wp-block-image.alignfull img').css('margin-left','-12.5%');
jQuery('.wp-block-image.alignwide').css('max-width','108%');
jQuery('.wp-block-image.alignwide').css('width','108%');
jQuery('.wp-block-image.alignwide').css('margin-left','-4%');
jQuery('.wp-block-media-text.alignwide').css('margin-left','-6%' ) ;
jQuery('.wp-block-media-text.alignwide').css('width','115%');
jQuery('.wp-block-media-text.alignfull').css('margin-left','-12.5%' ) ;
jQuery('.wp-block-media-text.alignfull').css('width','125%');
/** for post gallery */
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignwide').css('max-width','112%');
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignwide').css('width','112%');
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignwide').css('margin-left','-6%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignwide').css('max-width','112%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignwide').css('width','112%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignwide').css('margin-left','-6%');
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignfull').css('max-width','125%');
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignfull').css('width','125%');
jQuery('.detail-block .thumb-body ul.wp-block-gallery.alignfull').css('margin-left','-12.5%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignfull').css('max-width','125%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignfull').css('width','125%');
jQuery('.detail-block .thumb-body figure.wp-block-gallery.alignfull').css('margin-left','-12.5%');
/** for page gallery */
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignwide').css('max-width','112%');
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignwide').css('width','112%');
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignwide').css('margin-left','-6%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignwide').css('max-width','112%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignwide').css('width','112%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignwide').css('margin-left','-6%');
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignfull').css('max-width','125%');
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignfull').css('width','125%');
jQuery('#scroll-top .entry-content ul.wp-block-gallery.alignfull').css('margin-left','-12.5%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignfull').css('max-width','125%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignfull').css('width','125%');
jQuery('#scroll-top .entry-content figure.wp-block-gallery.alignfull').css('margin-left','-12.5%');
}
$('#main_nav ul a:last').focusout(function(){
if(screen.width < 992 || $( window ).width() < 992 ){
$('#main_nav ul:first').addClass('unique-main-menu');
$('.unique-main-menu').hide();
$('#collapse-1').removeClass('show');
$(".navbar-toggler").focus();
}
});
var width = $(window).width();
$(window).on('resize', function() {
if ($(this).width() !== width) {
width = $(this).width();
if( width < 992 ){
$('.unique-main-menu').hide();
}
if( width > 991 ){
$('.unique-main-menu').show();
}
}
});
$(".navbar-toggler").on('click',function(){
$('#main_nav ul.navbar-nav').show();
});
$('.navbar-toggler').focusin(function() {
if ($('#collapse-1').hasClass('show') ){
$('#main_nav ul:first').addClass('unique-main-menu');
$('.unique-main-menu').hide();
$('#collapse-1').removeClass('show');
$(".navbar-toggler").focus();
}
});
})(jQuery);
/** prevent scroll to top if there is hash on menu*/
( function( $ ) {
$( 'a[href="#"]' ).click( function(e) {
e.preventDefault();
} );
jQuery('.post-close').click(function(){
var id = $(this).attr('id');
jQuery('.'+id).hide();
});
} )( jQuery );