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

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

Rotator Responsive Carousel

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

wersja skryptu MyBB: 1.6.10
adres forum: http://new-generation.xaa.pl/portal.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Mam problem, ponieważ wgrałem rotator zdjęć na moją stronę. Trzy 'scripty' i plik 'css' podpięty. Co jest nie tak?

Rotator ten: http://sorgalla.com/jcarousel/examples/responsive/
Linijka:

<script type="text/javascript">jQuery.noConflict();</script>

Parę miejsc o góry, za raz po:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
Tak wygląda headerinclude:
<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" />
<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->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/member.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {

    jQuery('a[href=#top]').click(function(){
        jQuery('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });

});
</script>
<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</script>
{$stylesheets}
<script type="text/javascript">
<!--
    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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
a tak portal head
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
    var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "portal";
-->
</script>

<link href="jcarousel.responsive.css" type="text/css" rel="stylesheet" />
<script src="jscripts/jquery.jcarousel.min.js" type="text/javascript"></script>
<script src="jscripts/jcarousel.responsive.js" type="text/javascript"></script>
<script src="jscripts/jquery.js" type="text/javascript"></script>

</head>
Kody JS z portalu spróbuj przerzucić do headerinclude, + sprawdź czy podałeś prawidłową ścieżkę do plików.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Headerinclude:

<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" />
<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->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/member.js"></script>
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {

    jQuery('a[href=#top]').click(function(){
        jQuery('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });

});
</script>
<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</script>
{$stylesheets}
<script type="text/javascript">
<!--
    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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

Spróbuj w ten sposób (Na wszelki wypadek zrób kopię).
Przeniosłem linki z portal do headerinclude+dodałem tak jak mówi c0nst i dalej nic...

Wgrywam już chyba te rotatory dziesiąty raz i nigdy nie chcą mi działać... :(
Udało się zrobić rotator - działa, ale po dodaniu skyptu przestało działać menu (panel użytkownika wyskakujący z górnej belki). Jak to naprawić?

headerinclude
<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 rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/rotator.css" />
<link rel="stylesheet" type="text/css" href="{$mybb->settings['bburl']}/jcarousel.responsive.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->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/sidebar_2.0.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/carbon/js/member.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jcarousel.responsive.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('#wczytywanie').fadeOut('slow',function(){
jQuery(this).remove();
});
});
</script>

<script type="text/javascript">
jQuery(document).ready(function($) {
jQuery(".tipTip").tipTip();
});
</script>
{$stylesheets}
<script type="text/javascript">
<!--
    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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}



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

2 gości