Make WordPress Themes

Changeset 142739


Ignore:
Timestamp:
02/08/2021 06:59:05 AM (5 years ago)
Author:
themedropbox
Message:

New version of MultiSport - 1.4.0

Location:
multisport/1.4.0
Files:
1 added
1 deleted
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • multisport/1.4.0/assets/js/jquery.eislideshow.js

    r139039 r142739  
    1515    $event.special.smartresize  = {
    1616        setup: function() {
    17             $(this).bind( "resize", $event.special.smartresize.handler );
     17            $(this).on( "resize", $event.special.smartresize.handler );
    1818        },
    1919        teardown: function() {
    20             $(this).unbind( "resize", $event.special.smartresize.handler );
     20            $(this).off( "resize", $event.special.smartresize.handler );
    2121        },
    2222        handler: function( event, execAsap ) {
     
    3636
    3737    $.fn.smartresize            = function( fn ) {
    38         return fn ? this.bind( "smartresize", fn ) : this.trigger( "smartresize", ["execAsap"] );
     38        return fn ? this.on( "smartresize", fn ) : this.trigger( "smartresize", ["execAsap"] );
    3939    };
    4040   
     
    5252        this.itemsCount     = this.$imgItems.length;
    5353        // images
    54         this.$images        = this.$imgItems.find('img:first');
     54        this.$images        = this.$imgItems.find('img');
    5555       
    5656        /***** thumbs ****/
     
    154154                    _self.$images.each( function( i ) {
    155155                       
    156                         $('<img/>').load( function() {
     156                        $('<img/>').on('load', function() {
    157157                       
    158158                            if( ++loaded === _self.itemsCount ) {
     
    389389                }
    390390               
    391                 if ( !$.isFunction( instance[options] ) || options.charAt(0) === "_" ) {
     391                if ( !(typeof  instance[options]  === "function") || options.charAt(0) === "_" ) {
    392392                    logError( "no such method '" + options + "' for eislideshow instance" );
    393393                    return;
  • multisport/1.4.0/assets/js/utilities.js

    r139039 r142739  
    8181        }
    8282
    83         $(window).scroll(function () {
     83        $(window).on('scroll', function () {
    8484
    8585            if ($(this).scrollTop() > 100) {
     
    9494        });
    9595
    96         $('.scrollup').click(function () {
     96        $('.scrollup').on('click', function () {
    9797           
    9898            $("html, body").animate({
     
    106106        if ( $(window).width() >= 800 ) {
    107107       
    108             $('#navmain > div > ul > li:has("ul")').addClass('level-one-sub-menu');
    109             $('#navmain > div > ul li ul li:has("ul")').addClass('level-two-sub-menu');
     108            $('#navmain > div > ul > li').has('ul').addClass('level-one-sub-menu');
     109            $('#navmain > div > ul li ul li').has('ul').addClass('level-two-sub-menu');
    110110
    111111    // add support of browsers which don't support focus-within
    112112    $('#navmain > div > ul > li > a:not(.login-form-icon):not(.search-form-icon), #navmain > div > ul > li > ul > li > a, #navmain > div > ul > li > ul > li > ul > li > a, .mega-menu-sub-menu')
    113       .bind('mouseenter focus', function() {
     113      .on('mouseenter focus', function() {
    114114        $(this).closest('li.level-one-sub-menu').addClass('menu-item-focused');
    115115        $(this).closest('li.level-two-sub-menu').addClass('menu-item-focused');
     
    117117        if (!$(this).parent().find('#cart-popup-content').length && $('#cart-popup-content').css('z-index') != '-1')
    118118          $('#cart-popup-content').css('z-index', '-1');
    119       }).bind('mouseleave blur', function() {
     119      }).on('mouseleave blur', function() {
    120120        $(this).closest('li.level-one-sub-menu').removeClass('menu-item-focused');
    121121        $(this).closest('li.level-two-sub-menu').removeClass('menu-item-focused');
  • multisport/1.4.0/assets/js/viewportchecker.js

    r139039 r142739  
    160160        if( 'ontouchstart' in window || 'onmsgesturechange' in window ){
    161161            // Device with touchscreen
    162             $(document).bind("touchmove MSPointerMove pointermove", this.checkElements);
     162            $(document).on("touchmove MSPointerMove pointermove", this.checkElements);
    163163        }
    164164
    165165        // Always load on window load
    166         $(options.scrollBox).bind("load scroll", this.checkElements);
     166        $(options.scrollBox).on("load scroll", this.checkElements);
    167167
    168168        // On resize change the height var
    169         $(window).resize(function(e){
     169        $(window).on('resize', function(e){
    170170            boxSize = {height: $(options.scrollBox).height(), width: $(options.scrollBox).width()};
    171171            $elem.checkElements();
  • multisport/1.4.0/credits.txt

    r139039 r142739  
    2121assets/js/viewportchecker.js - the MIT license, Reference: http://opensource.org/licenses/MIT
    2222
    23 assets/js/jquery.easing.1.3.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT
     23assets/js/jquery.easing.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT
    2424
    2525assets/js/jquery.eislideshow.js Released under The MIT License (MIT) - http://opensource.org/licenses/MIT
  • multisport/1.4.0/functions.php

    r139039 r142739  
    231231        // Load Slider JS Scripts
    232232        wp_enqueue_script( 'jquery-easing-1-3',
    233             get_template_directory_uri() . '/assets/js/jquery.easing.1.3.js',
     233            get_template_directory_uri() . '/assets/js/jquery.easing.js',
    234234            array( 'jquery' ) );
    235235
  • multisport/1.4.0/readme.txt

    r139039 r142739  
    33Tags: blog, entertainment, two-columns, right-sidebar, custom-logo, custom-background,
    44custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, theme-options, footer-widgets
    5 Tested up to: 5.5
     5Tested up to: 5.6
    66Stable tag: 1.3.0
    7 Requires PHP: 5.6.0
    8 Requires at least: 4.8.0
     7Requires PHP: 5.6
     8Requires at least: 5.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545
    4646== Changelog ==
     47
     48= 1.4.0 =
     49* Fix deprecated jQuery code usage
    4750
    4851= 1.3.9 =
     
    196199* assets/css/animate.css, © 2017 Daniel Eden, MIT
    197200* assets/js/viewportchecker.js, © 2014 Dirk Groenen, MIT
    198 * assets/js/jquery.easing.1.3.js, © 2008 George McGinley Smith, BSD
     201* assets/js/jquery.easing.js, © 2008 George McGinley Smith, BSD
    199202* assets/js/jquery.eislideshow.js, © 2011 @louis_remi, MIT
    200203* images/slider/1.jpg, © 2018 @Pxhere https://pxhere.com/en/photo/1538609, CC0
  • multisport/1.4.0/style.css

    r139039 r142739  
    55Author: customizablethemes
    66Author URI: https://customizablethemes.com
    7 Version: 1.3.9
     7Version: 1.4.0
    88Text Domain: multisport
    99Tags: blog, entertainment, two-columns, right-sidebar, custom-logo, custom-background, custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, theme-options, footer-widgets
    1010License: GNU General Public License v2.0
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    12 Requires PHP: 5.6.0
    13 Requires at least: 4.8.0
    14 Tested up to: 5.4.1
     12Requires PHP: 5.6
     13Requires at least: 5.3
     14Tested up to: 5.6
    1515*/
    1616
     
    4646article a {
    4747    text-decoration: underline;
     48}
     49
     50.entry-title a,
     51.post-entry-title a {
     52    text-decoration: none;
    4853}
    4954
     
    224229dt.gallery-icon:before {
    225230    content:'';
     231    display: none;
    226232}
    227233
    228234.custom-logo-link img {
    229235    margin-right:10px;
     236    max-width:100%;
     237    height:auto;
    230238}
    231239
     
    329337
    330338#header-main-fixed a:hover {
     339    text-decoration: none;
    331340    color:#8b8b8b;
    332341}
     
    13861395}
    13871396
     1397.gallery-item img {
     1398    width:100%;
     1399    height:auto;
     1400}
     1401
    13881402.gallery-columns-1 .gallery-item {
    1389     max-width: 50%;
     1403    max-width: 99%;
    13901404}
    13911405
    13921406.gallery-columns-3 .gallery-item {
     1407    max-width: 33%;
     1408}
     1409
     1410.gallery-columns-4 .gallery-item {
    13931411    max-width: 25%;
    13941412}
    13951413
    1396 .gallery-columns-4 .gallery-item {
     1414.gallery-columns-5 .gallery-item {
    13971415    max-width: 20%;
    13981416}
    13991417
    1400 .gallery-columns-5 .gallery-item {
    1401     max-width: 15%;
    1402 }
    1403 
    14041418.gallery-columns-6 .gallery-item {
    1405     max-width: 13%;
     1419    max-width: 16%;
    14061420}
    14071421
    14081422.gallery-columns-7 .gallery-item {
     1423    max-width: 14%;
     1424}
     1425
     1426.gallery-columns-8 .gallery-item {
     1427    max-width: 12%;
     1428}
     1429
     1430.gallery-columns-9 .gallery-item {
    14091431    max-width: 11%;
    1410 }
    1411 
    1412 .gallery-columns-8 .gallery-item {
    1413     max-width: 10%;
    1414 }
    1415 
    1416 .gallery-columns-9 .gallery-item {
    1417     max-width: 9%;
    14181432}
    14191433
     
    15611575  article > *.aligncenter,
    15621576  .entry .entry-summary > *.aligncenter {
    1563     max-width: calc(6 * (100vw / 12) - 28px);
     1577    max-width: 100%;
    15641578  }
    15651579}
     
    19992013@media only screen and (min-width: 1168px) {
    20002014  article .wp-block-image .aligncenter {
    2001     max-width: calc(6 * (100vw / 12) - 28px);
     2015    max-width: 100%;
    20022016  }
    20032017}
     
    20152029@media only screen and (min-width: 1168px) {
    20162030  article .wp-block-image .aligncenter {
    2017     width: calc(6 * (100vw / 12) - 28px);
     2031    width: 100%;
    20182032  }
    20192033  article .wp-block-image .aligncenter img {
     
    21022116  article .wp-block-cover.alignfull .wp-block-cover-text,
    21032117  article .wp-block-cover.alignfull h2 {
    2104     max-width: calc(6 * (100vw / 12) - 28px);
     2118    max-width: 100%;
    21052119  }
    21062120}
     
    21332147
    21342148article .blocks-gallery-item:before {
    2135     content:'';
     2149    content:'' !important;
    21362150}
    21372151
     
    21792193  article .wp-block-separator.is-style-wide,
    21802194  article hr.is-style-wide {
    2181     max-width: calc(6 * (100vw / 12) - 28px);
     2195    max-width: 100%;
    21822196  }
    21832197}
     
    22022216  article .wp-block-separator.is-style-dots,
    22032217  article hr.is-style-dots {
    2204     max-width: calc(6 * (100vw / 12) - 28px);
     2218    max-width: 100%;
    22052219  }
    22062220}
     
    29192933    }
    29202934
     2935    #site-identity {
     2936        min-height: 35px;
     2937    }
     2938
    29212939    #navmain {
    29222940        cursor:pointer;
Note: See TracChangeset for help on using the changeset viewer.