Webboard

Pełna wersja: Nawigacja
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.10
adres forum: dream-server.xaa.pl
na czym polega problem (screen, opis, komunikaty): Mam podlinkowaną nawigację , ale nie po kliknięciu nic się nie dzieje ani nic..
pokaz jak u ciebie wygląda szablon nav
Kod:
<ul id="breadcrumb">
<li><a href="{$mybb->settings['bburl']}/index.php" title="Home"><img src="images/vhut/home.png" alt="Home" class="home" /></a></li>
{$nav}{$activebit}
</ul>
Nie działa javascript na to slidemenu u Ciebie
Pokaż szablon headerinclude z niezgrupowanie szablony
Kod:
<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://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="images/vhut/script/jqueryslidemenu.js"></script>
<script type="text/javascript" src="images/vhut/script/toggle.js"></script>
<script type="text/javascript" src="images/vhut/script/cookie.js"></script>
<script type="text/javascript" src="images/vhut/script/general.js"></script>
<script type="text/javascript">
jQuery.noConflict();
</script>
{$stylesheets}
<link rel="alternate stylesheet" type="text/css" title="1" href="images/vhut/style/1.css" />
<link rel="alternate stylesheet" type="text/css" title="2" href="images/vhut/style/2.css" />
<link rel="alternate stylesheet" type="text/css" title="3" href="images/vhut/style/3.css" />
<link rel="alternate stylesheet" type="text/css" title="4" href="images/vhut/style/4.css" />
<link rel="alternate stylesheet" type="text/css" title="5" href="images/vhut/style/5.css" />
<script src="images/vhut/style/styleswitch.js" type="text/javascript"></script>
<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}

<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($)
{
        $('#login-trigger').click(function(){
                $(this).next('#login-content').slideToggle();
                $(this).toggleClass('active');                                  

                if ($(this).hasClass('active')) $(this).find('span').html('&#x25B2;')
                        else $(this).find('span').html('&#x25BC;')
                })
});
</script>


<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
    if ($(".headavatar img").attr("src") === "") {
        $(".headavatar img").attr("src", "images/vhut/defaultavatar.jpg");
    }
});
</script>


<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></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" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript">
/**
* Modal Boxes JS
*
* @author Euan T. <euan@euantor.com>
* @version 1.0.0
*/

jQuery.noConflict();

jQuery(document).ready(function($)
{
    // Make the jQuery modal login redirect you back to the page you're currently on //
    $('#loginModal input[name="url"]').attr("value", window.location);
    // /Login redirect //

    // Modal Boxes //
    $('a[name="modal"]').on('click', function(event)
    {
        event.preventDefault();
        
        var target = $(this).attr('rel');
        
        // Set up the shadowing
        var maskHeight = $(document).height();
        var maskWidth = $(window).width();
        $('#mask').css({'width': maskWidth, 'height': maskHeight});
        $('#mask').fadeIn(1000);    
        $('#mask').fadeTo("slow", 0.8);  
        
        // Position the actual modal
        var winH = $(window).height();
        var winW = $(window).width();
        $(target).css('top',  (winH / 2) - ($(target).height() / 2));
        $(target).css('left', (winW / 2) - ($(target).width() / 2));
        $(target).fadeIn(2000);
    });
    
    $('.modalBox a[rel="closeModal"]').on('click', function(event)
    {
        event.preventDefault();
        $('#mask, .modalBox').hide();
    });
    
    $('#mask').on('click', function ()
    {
        $(this).hide();
        $('.modalBox').hide();
    });
    // /Modal Boxes //
});
</script>


<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="images/vhut/script/jquery.innerfade.js"></script>
<script type="text/javascript">  
jQuery.noConflict();
jQuery(document).ready( function($){
               $('#news').innerfade({
        animationtype: 'slide',
        speed: 950,
        timeout: 3000,
        //type: 'random',
        type: 'sequence',
        containerheight: '1em' }
    );
    }
);
</script>
Spróbuj tak:
Kod PHP:
<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.10.1/jquery.min.js"></script>
<
script type="text/javascript">
jQuery.noConflict();
</
script>
<
script type="text/javascript" src="images/vhut/script/jqueryslidemenu.js"></script>
<
script type="text/javascript" src="images/vhut/script/toggle.js"></script>
<
script type="text/javascript" src="images/vhut/script/cookie.js"></script>
<
script type="text/javascript" src="images/vhut/script/general.js"></script>

{
$stylesheets}
<
link rel="alternate stylesheet" type="text/css" title="1" href="images/vhut/style/1.css" />
<
link rel="alternate stylesheet" type="text/css" title="2" href="images/vhut/style/2.css" />
<
link rel="alternate stylesheet" type="text/css" title="3" href="images/vhut/style/3.css" />
<
link rel="alternate stylesheet" type="text/css" title="4" href="images/vhut/style/4.css" />
<
link rel="alternate stylesheet" type="text/css" title="5" href="images/vhut/style/5.css" />
<
script src="images/vhut/style/styleswitch.js" type="text/javascript"></script>
<
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}
<
script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($)
{
        $(
'#login-trigger').click(function(){
                $(
this).next('#login-content').slideToggle();
                $(
this).toggleClass('active');                                  

                if ($(
this).hasClass('active')) $(this).find('span').html('&#x25B2;')
                        else $(
this).find('span').html('&#x25BC;')
                })
});
</
script>
<
script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
    if ($(
".headavatar img").attr("src") === "") {
        $(
".headavatar img").attr("src""images/vhut/defaultavatar.jpg");
    }
});
</
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">
/**
* Modal Boxes JS
*
* @author Euan T. <euan@euantor.com>
* @version 1.0.0
*/

jQuery.noConflict();

jQuery(document).ready(function($)
{
    
// Make the jQuery modal login redirect you back to the page you're currently on //
    
$('#loginModal input[name="url"]').attr("value"window.location);
    
// /Login redirect //

    // Modal Boxes //
    
$('a[name="modal"]').on('click', function(event)
    {
        
event.preventDefault();
        
        var 
target = $(this).attr('rel');
        
        
// Set up the shadowing
        
var maskHeight = $(document).height();
        var 
maskWidth = $(window).width();
        $(
'#mask').css({'width'maskWidth'height'maskHeight});
        $(
'#mask').fadeIn(1000);    
        $(
'#mask').fadeTo("slow"0.8);  
        
        
// Position the actual modal
        
var winH = $(window).height();
        var 
winW = $(window).width();
        $(
target).css('top',  (winH 2) - ($(target).height() / 2));
        $(
target).css('left', (winW 2) - ($(target).width() / 2));
        $(
target).fadeIn(2000);
    });
    
    $(
'.modalBox a[rel="closeModal"]').on('click', function(event)
    {
        
event.preventDefault();
        $(
'#mask, .modalBox').hide();
    });
    
    $(
'#mask').on('click', function ()
    {
        $(
this).hide();
        $(
'.modalBox').hide();
    });
    
// /Modal Boxes //
});
</
script>
<
script type="text/javascript" src="images/vhut/script/jquery.innerfade.js"></script>
<
script type="text/javascript">  
jQuery.noConflict();
jQuery(document).ready( function($){
               $(
'#news').innerfade({
        
animationtype'slide',
        
speed950,
        
timeout3000,
        
//type: 'random',
        
type'sequence',
        
containerheight'1em' }
    );
    }
);
</
script
Błąd


Kod:
jQuery.noConflict(); jQuery.noConflict(); jQuery(document).ready(function($) {         $('#login-trigger').click(function(){                 $(this).next('#login-content').slideToggle();                 $(this).toggleClass('active');                                                   if ($(this).hasClass('active')) $(this).find('span').html('▲')                         else $(this).find('span').html('▼')                 }) }); jQuery.noConflict(); jQuery(document).ready(function($) {     if ($(".headavatar img").attr("src") === "") {         $(".headavatar img").attr("src", "images/vhut/defaultavatar.jpg");     } }); jQuery.noConflict(); jQuery(document).ready(function() {     jQuery('a[href=#top]').click(function(){         jQuery('html, body').animate({scrollTop:0}, 'slow');         return false;     }); }); /** * Modal Boxes JS * * @author Euan T.  * @version 1.0.0 */ jQuery.noConflict(); jQuery(document).ready(function($) {     // Make the jQuery modal login redirect you back to the page you're currently on //     $('#loginModal input[name="url"]').attr("value", window.location);     // /Login redirect //     // Modal Boxes //     $('a[name="modal"]').on('click', function(event)     {         event.preventDefault();                  var target = $(this).attr('rel');                  // Set up the shadowing         var maskHeight = $(document).height();         var maskWidth = $(window).width();         $('#mask').css({'width': maskWidth, 'height': maskHeight});         $('#mask').fadeIn(1000);             $('#mask').fadeTo("slow", 0.8);                    // Position the actual modal         var winH = $(window).height();         var winW = $(window).width();         $(target).css('top',  (winH / 2) - ($(target).height() / 2));         $(target).css('left', (winW / 2) - ($(target).width() / 2));         $(target).fadeIn(2000);     });          $('.modalBox a[rel="closeModal"]').on('click', function(event)     {         event.preventDefault();         $('#mask, .modalBox').hide();     });          $('#mask').on('click', function ()     {         $(this).hide();         $('.modalBox').hide();     });     // /Modal Boxes // });    jQuery.noConflict(); jQuery(document).ready( function($){                $('#news').innerfade({         animationtype: 'slide',         speed: 950,         timeout: 3000,         //type: 'random',         type: 'sequence',         containerheight: '1em' }     );     } );
To niestety nie wiem. Napisz do autora stylu.
Może ktoś ma jeszcze jakiś pomysł?