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

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

Nie wysuwa się dropdown ala IPB

Założony przez  Kacper Wojciechowski.

wersja skryptu MyBB: 1.6.16
adres forum: PPS-Serv.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki):
Jak wkleję tą linijkę
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
(jest potrzebna do DVZ Shoutbox) to nie chcę się z headeru wysuwać dropdown ala IPB

Konto testowe:
l: Test
h: 123456
https://webboard.pl/thread-36416.html
Tylko że jak wkleję
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

to nie działa dropdown a jak nie będzie to działa dropdown ale DVZ Shoutbox za to nie
A jak dodasz takie coś?

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
W headerinclude masz dodane
<script type="text/javascript">jQuery.noConflict();</script
Nie wysuwa się dropdown + slider

Mój 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="{$mybb->settings['bburl']}/images/wojna/js/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/jflow.plus.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript">
$.noConflict();

    jQuery(document).ready(function(){

        jQuery("#myController").jFlow({

            controller: ".jFlowControl", // must be class, use . sign

            slideWrapper : "#jFlowSlide", // must be id, use # sign

            slides: "#mySlides",  // the div where all your sliding divs are nested in

            selectedWrapper: "jFlowSelected",  // just pure text, no sign
            
            effect: "rewind", //this is the slide effect (rewind or flow)

            width: "470px",  // this is the width for the content-slider

            height: "120px",  // this is the height for the content-slider

            duration: 900,  // time in milliseconds to transition one slide
            
            pause: 9000, //time between transitions

            prev: ".jFlowPrev", // must be class, use . sign

            next: ".jFlowNext", // must be class, use . sign

            auto: true    

    });

});

</script>

<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/member.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/sidebar_2.0.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}
Spróbuj 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" />
<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="{$mybb->settings['bburl']}/images/wojna/js/jflow.plus.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript">$.noConflict();</script>
<script type="text/javascript">
    jQuery(document).ready(function(){

        jQuery("#myController").jFlow({

            controller: ".jFlowControl", // must be class, use . sign

            slideWrapper : "#jFlowSlide", // must be id, use # sign

            slides: "#mySlides",  // the div where all your sliding divs are nested in

            selectedWrapper: "jFlowSelected",  // just pure text, no sign
            
            effect: "rewind", //this is the slide effect (rewind or flow)

            width: "470px",  // this is the width for the content-slider

            height: "120px",  // this is the height for the content-slider

            duration: 900,  // time in milliseconds to transition one slide
            
            pause: 9000, //time between transitions

            prev: ".jFlowPrev", // must be class, use . sign

            next: ".jFlowNext", // must be class, use . sign

            auto: true    

    });

});
</script>

<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/member.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/panel.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/cookies.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/easing.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/fancycollapses.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/script.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/wojna/js/sidebar_2.0.js"></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('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}
to samo

Nie działa



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

3 gości