Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Animowane dodatkowe grupy - nie działają

Błąd   Założony przez  Ecosse.

wersja skryptu MyBB: 1.8.5
adres forum: http://zorscy.com/forum
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):

Witam, plugin Animowane dodatkowe grupy po wgraniu i zainstalowaniu nie działa. Dokładnie nie działa animacja, natomiast dodatkowe grupy po prostu pokazują się pod główną grupą, o tak:

[Obrazek: 8qincRV.png]

Wgrałem wymagany plugin Plugin Library pod wersję MyBB 1.8. Nie mam pojęcia dlaczego nie działa, wszystkie opcje pluginu w ACP zaznaczone na tak.

Konto testowe
Login: test
Hasło: test1

Pozdrawiam!
Pomoc poza forum - odpłatnie.
pokaz headerinclude
To wywal z hederinclude:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<
link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />

<
link href='http://fonts.googleapis.com/css?family=Exo+2&subset=latin,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
<
link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<
link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- <
link href="{$mybb->settings['bburl']}/images/square/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" /> -->

<
meta http-equiv="Content-Type" content="text/html; charset={$charset}/>
<
meta http-equiv="Content-Script-Type" content="text/javascript" />
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
{
$additional_images_js}
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/tipsy.js"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/tabcontent.js"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/xem_fast_rep.js"></script>

{
$stylesheets}

<
script type="text/javascript">
<!--
    
lang.unknown_error "{$lang->unknown_error}";

    
lang.select2_match "{$lang->select2_match}";
    
lang.select2_matches "{$lang->select2_matches}";
    
lang.select2_nomatches "{$lang->select2_nomatches}";
    
lang.select2_inputtooshort_single "{$lang->select2_inputtooshort_single}";
    
lang.select2_inputtooshort_plural "{$lang->select2_inputtooshort_plural}";
    
lang.select2_inputtoolong_single "{$lang->select2_inputtoolong_single}";
    
lang.select2_inputtoolong_plural "{$lang->select2_inputtoolong_plural}";
    
lang.select2_selectiontoobig_single "{$lang->select2_selectiontoobig_single}";
    
lang.select2_selectiontoobig_plural "{$lang->select2_selectiontoobig_plural}";
    
lang.select2_loadmore "{$lang->select2_loadmore}";
    
lang.select2_searching "{$lang->select2_searching}";

    var 
cookieDomain "{$mybb->settings['cookiedomain']}";
    var 
cookiePath "{$mybb->settings['cookiepath']}";
    var 
cookiePrefix "{$mybb->settings['cookieprefix']}";
    var 
deleteevent_confirm "{$lang->deleteevent_confirm}";
    var 
removeattach_confirm "{$lang->removeattach_confirm}";
    var 
loading_text '{$lang->ajax_loading}';
    var 
saving_changes '{$lang->saving_changes}';
    var 
use_xmlhttprequest "{$mybb->settings['use_xmlhttprequest']}";
    var 
my_post_key "{$mybb->post_code}";
    var 
rootpath "{$mybb->settings['bburl']}";
    var 
imagepath "{$theme['imgdir']}";
      var 
yes_confirm "{$lang->yes}";
    var 
no_confirm "{$lang->no}";
    var 
MyBBEditor null;
    var 
spinner_image "{$theme['imgdir']}/spinner.gif";
    var 
spinner "<img src='" spinner_image +"' alt='' />";
    var 
modal_zindex 9999;
// -->
</script>

<
script type="text/javascript">
jQuery(document).ready(function($) {

function 
DropDown(el) {
    
this.dd el;
    
this.initEvents();
        }
            
DropDown.prototype = {
                
initEvents : function() {
                    var 
obj this;

                    
obj.dd.on('click', function(event){
                        $(
this).toggleClass('active');
                        
event.stopPropagation();
            });    
            }
        }

            $(function() {
                                var 
dd = new DropDown( $('#dd') );

                $(
document).click(function() {
                    $(
'.wrapper-dropdown-5').removeClass('active');
                });

            });
});
</
script>

<
script type="text/javascript">
jQuery(function() {

    var 
quotes jQuery(".quotes");
    var 
quoteIndex = -1;
    
    function 
showNextQuote() {
        ++
quoteIndex;
        
quotes.eq(quoteIndex quotes.length)
            .
fadeIn(500)
            .
delay(12000)
            .
fadeOut(500showNextQuote);
    }
    
    
showNextQuote();

});
</
script>

<
script type="text/javascript">
jQuery(function($) {
    $(
".clickedbuttons").hide();
    $(
".buttons").click(function() {
        $(
".sidebar").animate({height"hide"opacity0}, 500,
            function() {
                $(
".forums").animate({width"984px"}, 500);
            });
        $(
this).hide();
        $(
".clickedbuttons").show();
        $.
cookie("sidebar","collapsed", {expires365});
        return 
false;
    });
    $(
".clickedbuttons").click(function() {
        $(
".forums").animate({width"724px"}, 500,
            function() {
                $(
".sidebar").animate({height"show"opacity1}, 500);
            });
        $(
this).hide();
        $(
".buttons").show();
        $.
cookie("sidebar","expanded", {expires365});
        return 
false;
    });
    if($.
cookie("sidebar") == "collapsed") {
        $(
".buttons").hide();
        $(
".clickedbuttons").show();
        $(
".forums").css("width","984px");
        $(
".sidebar").hide();
    };
});
</
script>

<
script type="text/javascript"
jQuery(function() {
    
jQuery("a").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("title").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("img").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("i").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("span").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("div").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("label").tipsy({gravityjQuery.fn.tipsy.autoNS});
    
jQuery("input").tipsy({gravityjQuery.fn.tipsy.autoNS});
});
</
script>

<
script type="text/javascript">
jQuery(document).ready(function($) {

    $(
".catdesc").hide();

    $(
".cattitle").on('mouseover mouseout', function(event) {

        var 
catdesc = $(this).parent().children('.catdesc');

        var 
content catdesc.text();

        if (
content !== "") {
            if (
event.type == 'mouseover') {
                
catdesc.fadeIn('slow');
            } else {
                
catdesc.stop(truetrue).fadeOut('slow');
            }
        }

    });

});
</
script>

<
script type="text/javascript">
jQuery(document).ready(function() {
    var 
offset 100;
    var 
duration 250;
    
jQuery(window).scroll(function() {
        if (
jQuery(this).scrollTop() > offset) {
            
jQuery(".scrolltotop").fadeIn(duration);
        } else {
            
jQuery(".scrolltotop").fadeOut(duration);
            }
    });
    
    
jQuery('.scrolltotop').click(function(event) {
        
event.preventDefault();
        
jQuery('html, body').animate({scrollTop0}, 600);
            return 
false;
        })
});
</
script>

<
script type="text/javascript">
$(
window).load(function() {
  $(
"#cssmenu").menumaker({
    
title"Menu",
    
format"multitoggle"
  
});

  $(
"#cssmenu").prepend("<div id='menu-line'></div>");

var 
foundActive falseactiveElementlinePosition 0menuLine = $("#cssmenu #menu-line"), lineWidthdefaultPositiondefaultWidth;

$(
"#cssmenu > ul > li").each(function() {
  if ($(
this).hasClass('active')) {
    
activeElement = $(this);
    
foundActive true;
  }
});

if (
foundActive === false) {
  
activeElement = $("#cssmenu > ul > li").first();
}

defaultWidth lineWidth activeElement.width();

defaultPosition linePosition activeElement.position().left;

menuLine.css("width"lineWidth);
menuLine.css("left"linePosition);

$(
"#cssmenu > ul > li").hover(function() {
  
activeElement = $(this);
  
lineWidth activeElement.width();
  
linePosition activeElement.position().left;
  
menuLine.css("width"lineWidth);
  
menuLine.css("left"linePosition);
}, 
function() {
  
menuLine.css("left"defaultPosition);
  
menuLine.css("width"defaultWidth);
});

});
</
script
Pomoc poza forum - odpłatnie.
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />

<link href='http://fonts.googleapis.com/css?family=Exo+2&subset=latin,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- <link href="{$mybb->settings['bburl']}/images/square/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" /> -->

<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/tipsy.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/tabcontent.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/xem_fast_rep.js"></script>

{$stylesheets}

<script type="text/javascript">
<!--
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
      var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
    var modal_zindex = 9999;
// -->
</script>

<script type="text/javascript">
jQuery(document).ready(function($) {

function DropDown(el) {
    this.dd = el;
    this.initEvents();
        }
            DropDown.prototype = {
                initEvents : function() {
                    var obj = this;

                    obj.dd.on('click', function(event){
                        $(this).toggleClass('active');
                        event.stopPropagation();
            });    
            }
        }

            $(function() {
                                var dd = new DropDown( $('#dd') );

                $(document).click(function() {
                    $('.wrapper-dropdown-5').removeClass('active');
                });

            });
});
</script>

<script type="text/javascript">
jQuery(function() {

    var quotes = jQuery(".quotes");
    var quoteIndex = -1;
    
    function showNextQuote() {
        ++quoteIndex;
        quotes.eq(quoteIndex % quotes.length)
            .fadeIn(500)
            .delay(12000)
            .fadeOut(500, showNextQuote);
    }
    
    showNextQuote();

});
</script>

<script type="text/javascript">
jQuery(function($) {
    $(".clickedbuttons").hide();
    $(".buttons").click(function() {
        $(".sidebar").animate({height: "hide", opacity: 0}, 500,
            function() {
                $(".forums").animate({width: "984px"}, 500);
            });
        $(this).hide();
        $(".clickedbuttons").show();
        $.cookie("sidebar","collapsed", {expires: 365});
        return false;
    });
    $(".clickedbuttons").click(function() {
        $(".forums").animate({width: "724px"}, 500,
            function() {
                $(".sidebar").animate({height: "show", opacity: 1}, 500);
            });
        $(this).hide();
        $(".buttons").show();
        $.cookie("sidebar","expanded", {expires: 365});
        return false;
    });
    if($.cookie("sidebar") == "collapsed") {
        $(".buttons").hide();
        $(".clickedbuttons").show();
        $(".forums").css("width","984px");
        $(".sidebar").hide();
    };
});
</script>

<script type="text/javascript">
jQuery(function() {
    jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("label").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("input").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>

<script type="text/javascript">
jQuery(document).ready(function($) {

    $(".catdesc").hide();

    $(".cattitle").on('mouseover mouseout', function(event) {

        var catdesc = $(this).parent().children('.catdesc');

        var content = catdesc.text();

        if (content !== "") {
            if (event.type == 'mouseover') {
                catdesc.fadeIn('slow');
            } else {
                catdesc.stop(true, true).fadeOut('slow');
            }
        }

    });

});
</script>

<script type="text/javascript">
jQuery(document).ready(function() {
    var offset = 100;
    var duration = 250;
    jQuery(window).scroll(function() {
        if (jQuery(this).scrollTop() > offset) {
            jQuery(".scrolltotop").fadeIn(duration);
        } else {
            jQuery(".scrolltotop").fadeOut(duration);
            }
    });
    
    jQuery('.scrolltotop').click(function(event) {
        event.preventDefault();
        jQuery('html, body').animate({scrollTop: 0}, 600);
            return false;
        })
});
</script>

<script type="text/javascript">
$(window).load(function() {
  $("#cssmenu").menumaker({
    title: "Menu",
    format: "multitoggle"
  });

  $("#cssmenu").prepend("<div id='menu-line'></div>");

var foundActive = false, activeElement, linePosition = 0, menuLine = $("#cssmenu #menu-line"), lineWidth, defaultPosition, defaultWidth;

$("#cssmenu > ul > li").each(function() {
  if ($(this).hasClass('active')) {
    activeElement = $(this);
    foundActive = true;
  }
});

if (foundActive === false) {
  activeElement = $("#cssmenu > ul > li").first();
}

defaultWidth = lineWidth = activeElement.width();

defaultPosition = linePosition = activeElement.position().left;

menuLine.css("width", lineWidth);
menuLine.css("left", linePosition);

$("#cssmenu > ul > li").hover(function() {
  activeElement = $(this);
  lineWidth = activeElement.width();
  linePosition = activeElement.position().left;
  menuLine.css("width", lineWidth);
  menuLine.css("left", linePosition);
},
function() {
  menuLine.css("left", defaultPosition);
  menuLine.css("width", defaultWidth);
});

});
</script>

<script type="text/javascript">
function animate_additional_images() {
    $(".additional_images").each(function() {
        var th = $(this);
        if(th.find(".additional_img").length > 1)
        {
            var current = th.find(".additional_img_active");
            {$pause}
            var img = current.next(".additional_img");
            var next = img.length ? img : th.find(".additional_img_first");
            
            current.removeClass("additional_img_active").fadeOut(function() {
                next.fadeIn().addClass("additional_img_active")
            });
        }
    });
}

$(document).ready(function() {
    setInterval(animate_additional_images, {$switchtime});
});
</script>

mimo iż zmienna jest w szablonie w kodzie źródłowym strony nie widze skryptu, dodałem go ręcznie
@Supryk, usunąłeś {$additional_images_js} i dodałeś sam kod JS na koniec. Już to robiłem i tak jak teraz brak efektów :/
Pomoc poza forum - odpłatnie.
tak sprawdz

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />

<link href='http://fonts.googleapis.com/css?family=Exo+2&subset=latin,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- <link href="{$mybb->settings['bburl']}/images/square/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" /> -->

<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/tipsy.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/tabcontent.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/xem_fast_rep.js"></script>

{$stylesheets}

<script type="text/javascript">
<!--
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
      var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
    var modal_zindex = 9999;
// -->
</script>

<script type="text/javascript">
jQuery(document).ready(function($) {

function DropDown(el) {
    this.dd = el;
    this.initEvents();
        }
            DropDown.prototype = {
                initEvents : function() {
                    var obj = this;

                    obj.dd.on('click', function(event){
                        $(this).toggleClass('active');
                        event.stopPropagation();
            });    
            }
        }

            $(function() {
                                var dd = new DropDown( $('#dd') );

                $(document).click(function() {
                    $('.wrapper-dropdown-5').removeClass('active');
                });

            });
});
</script>

<script type="text/javascript">
jQuery(function() {

    var quotes = jQuery(".quotes");
    var quoteIndex = -1;
    
    function showNextQuote() {
        ++quoteIndex;
        quotes.eq(quoteIndex % quotes.length)
            .fadeIn(500)
            .delay(12000)
            .fadeOut(500, showNextQuote);
    }
    
    showNextQuote();

});
</script>

<script type="text/javascript">
jQuery(function($) {
    $(".clickedbuttons").hide();
    $(".buttons").click(function() {
        $(".sidebar").animate({height: "hide", opacity: 0}, 500,
            function() {
                $(".forums").animate({width: "984px"}, 500);
            });
        $(this).hide();
        $(".clickedbuttons").show();
        $.cookie("sidebar","collapsed", {expires: 365});
        return false;
    });
    $(".clickedbuttons").click(function() {
        $(".forums").animate({width: "724px"}, 500,
            function() {
                $(".sidebar").animate({height: "show", opacity: 1}, 500);
            });
        $(this).hide();
        $(".buttons").show();
        $.cookie("sidebar","expanded", {expires: 365});
        return false;
    });
    if($.cookie("sidebar") == "collapsed") {
        $(".buttons").hide();
        $(".clickedbuttons").show();
        $(".forums").css("width","984px");
        $(".sidebar").hide();
    };
});
</script>

<script type="text/javascript">
jQuery(function() {
    jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("title").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("i").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("span").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("div").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("label").tipsy({gravity: jQuery.fn.tipsy.autoNS});
    jQuery("input").tipsy({gravity: jQuery.fn.tipsy.autoNS});
});
</script>

<script type="text/javascript">
jQuery(document).ready(function($) {

    $(".catdesc").hide();

    $(".cattitle").on('mouseover mouseout', function(event) {

        var catdesc = $(this).parent().children('.catdesc');

        var content = catdesc.text();

        if (content !== "") {
            if (event.type == 'mouseover') {
                catdesc.fadeIn('slow');
            } else {
                catdesc.stop(true, true).fadeOut('slow');
            }
        }

    });

});
</script>

<script type="text/javascript">
jQuery(document).ready(function() {
    var offset = 100;
    var duration = 250;
    jQuery(window).scroll(function() {
        if (jQuery(this).scrollTop() > offset) {
            jQuery(".scrolltotop").fadeIn(duration);
        } else {
            jQuery(".scrolltotop").fadeOut(duration);
            }
    });
    
    jQuery('.scrolltotop').click(function(event) {
        event.preventDefault();
        jQuery('html, body').animate({scrollTop: 0}, 600);
            return false;
        })
});
</script>

<script type="text/javascript">
function animate_additional_images() {
    $(".additional_images").each(function() {
        var th = $(this);
        if(th.find(".additional_img").length > 1)
        {
            var current = th.find(".additional_img_active");
            {$pause}
            var img = current.next(".additional_img");
            var next = img.length ? img : th.find(".additional_img_first");
            
            current.removeClass("additional_img_active").fadeOut(function() {
                next.fadeIn().addClass("additional_img_active")
            });
        }
    });
}

$(document).ready(function() {
    setInterval(animate_additional_images, {$switchtime});
});
</script>
Brak zmian. Zauważyłem, że pojawia się błąd w wierszu setInterval(animate_additional_images, tutaj jest pusto a powinien być czas zmiany w ms);. W JS w tym miejscu jest funkcja {$switchtime} więc ją wywaliłem i napisałem ręcznie 2000, ale również brak zmian.

Jestem ciekaw czy inni użytkownicy którzy instalują ten plugin również mają ten problem że nie ma animacji tylko 2 obrazki grup.
Pomoc poza forum - odpłatnie.
ja nadal widze t pustke
http://i.imgur.com/Riwu6v3.png
i tu faktycznie jest pies pogrzebany
Znów dodałem ręcznie ale brak zmian. Widocznie coś z pluginem jest nie tak i trzeba zgłosić błąd do autora. Temat chyba wyczerpany, chyba że ktoś ma jakiś pomysł.
Pomoc poza forum - odpłatnie.
Jutro zobacze siebie
zobacz jeszcze tak

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />

<link href='http://fonts.googleapis.com/css?family=Exo+2&subset=latin,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- <link href="{$mybb->settings['bburl']}/images/square/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css" /> -->

<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1804"></script>
<script type="text/javascript">
function animate_additional_images() {
    $(".additional_images").each(function() {
        var th = $(this);
        if(th.find(".additional_img").length > 1)
        {
            var current = th.find(".additional_img_active");
            {$pause}
            var img = current.next(".additional_img");
            var next = img.length ? img : th.find(".additional_img_first");
            
            current.removeClass("additional_img_active").fadeOut(function() {
                next.fadeIn().addClass("additional_img_active")
            });
        }
    });
}

$(document).ready(function() {
    setInterval(animate_additional_images, 5000);
});
</script>

{$stylesheets}

<script type="text/javascript">
<!--
    lang.unknown_error = "{$lang->unknown_error}";

    lang.select2_match = "{$lang->select2_match}";
    lang.select2_matches = "{$lang->select2_matches}";
    lang.select2_nomatches = "{$lang->select2_nomatches}";
    lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
    lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
    lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
    lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
    lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
    lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
    lang.select2_loadmore = "{$lang->select2_loadmore}";
    lang.select2_searching = "{$lang->select2_searching}";

    var cookieDomain = "{$mybb->settings['cookiedomain']}";
    var cookiePath = "{$mybb->settings['cookiepath']}";
    var cookiePrefix = "{$mybb->settings['cookieprefix']}";
    var deleteevent_confirm = "{$lang->deleteevent_confirm}";
    var removeattach_confirm = "{$lang->removeattach_confirm}";
    var loading_text = '{$lang->ajax_loading}';
    var saving_changes = '{$lang->saving_changes}';
    var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
    var my_post_key = "{$mybb->post_code}";
    var rootpath = "{$mybb->settings['bburl']}";
    var imagepath = "{$theme['imgdir']}";
      var yes_confirm = "{$lang->yes}";
    var no_confirm = "{$lang->no}";
    var MyBBEditor = null;
    var spinner_image = "{$theme['imgdir']}/spinner.gif";
    var spinner = "<img src='" + spinner_image +"' alt='' />";
    var modal_zindex = 9999;
// -->
</script>
Niestety brak efektów.
Pomoc poza forum - odpłatnie.
A jakbyś użył tego tak:

setInterval(function(){ animate_additional_images() }, 2000);
@LikeLoveHate, wtedy tym bardziej nie będzie działać bo jak widzisz jest już zaimplikowana funkcja.
Pomoc poza forum - odpłatnie.
-.- to jest inny zapis wywołania funkcji w setInterval(), ale nvm...



Użytkownicy przeglądający ten wątek:

1 gości