Webboard

Pełna wersja: Nie działa przycisk za zwijanie Forum
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:najnowsze
adres forum:mrkarpiuk.com.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Nie działają przyciski za zwijanie forum :C

Czy coś się popsuło tego nie wiem, jak to naprawić ?
pokaż headerinclude
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/jquery.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></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.9.0/jquery.min.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar_2.0.js"></script>
<
script type="text/javascript">jQuery.noConflict();</script>
{
$stylesheets}
<
script>
jQuery.noConflict();
jQuery(document).ready(function(){
    
jQuery(function () {
        
// scroll body to 0px on click
        
jQuery('#back-top').click(function () {
            
jQuery('body,html').animate({
                
scrollTop0
            
}, 800);
            return 
false;
        });
    });
        
jQuery(".loginbutton").click(function(e) {
            
e.preventDefault();
            
jQuery(".loginbutton_menu").slideToggle("fast");
            
jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        
jQuery(".loginbutton_menu").mouseup(function() {
            return 
false
        
});
        
jQuery(document).mouseup(function(e) {
            if(
jQuery(e.target).parent("a.loginbutton").length==0) {
                
jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                
jQuery(".loginbutton_menu").slideUp("fast",  function() {display'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition"top"fadeIn300});
});
});
</
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>
<
script>
jQuery.noConflict();
jQuery(document).ready(function() {    
    
//select all the a tag with name equal to modal
    
jQuery('a[name=modal]').click(function(e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
//Get the A tag
        
var id jQuery(this).attr('href');
    
        
//Get the screen height and width
        
var maskHeight jQuery(document).height();
        var 
maskWidth jQuery(window).width();
    
        
//Set height and width to mask to fill up the whole screen
        
jQuery('#mask').css({'width':maskWidth,'height':maskHeight});
        
        
//transition effect        
        
jQuery('#mask').fadeIn("fast");
        
jQuery('#mask').fadeTo("slow",0.5);    
    
        
//Get the window height and width
        
var winH jQuery(window).height();
        var 
winW jQuery(window).width();
              
    
        
//transition effect
        
jQuery(id).fadeIn("slow"); 
    
    });
    
    
//if close button is clicked
    
jQuery('.window .close').click(function (e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    
//if mask is clicked
    
jQuery('#mask').click(function () {
        
jQuery(this).fadeOut("slow");
        
jQuery('.window').fadeOut("slow");
    });            
    
});
</
script>
{
$newpmmsg
Zamień:
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/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></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.9.0/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar_2.0.js"></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}
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
    jQuery(function () {
        // scroll body to 0px on click
        jQuery('#back-top').click(function () {
            jQuery('body,html').animate({
                scrollTop: 0
            }, 800);
            return false;
        });
    });
        jQuery(".loginbutton").click(function(e) {
            e.preventDefault();
            jQuery(".loginbutton_menu").slideToggle("fast");
            jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        jQuery(".loginbutton_menu").mouseup(function() {
            return false
        });
        jQuery(document).mouseup(function(e) {
            if(jQuery(e.target).parent("a.loginbutton").length==0) {
                jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                jQuery(".loginbutton_menu").slideUp("fast",  function() {display: 'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>

<script>
jQuery.noConflict();
jQuery(document).ready(function() {    
    //select all the a tag with name equal to modal
    jQuery('a[name=modal]').click(function(e) {
        //Cancel the link behavior
        e.preventDefault();
        //Get the A tag
        var id = jQuery(this).attr('href');
    
        //Get the screen height and width
        var maskHeight = jQuery(document).height();
        var maskWidth = jQuery(window).width();
    
        //Set height and width to mask to fill up the whole screen
        jQuery('#mask').css({'width':maskWidth,'heigh​t':maskHeight});
        
        //transition effect        
        jQuery('#mask').fadeIn("fast");
        jQuery('#mask').fadeTo("slow",0.5);    
    
        //Get the window height and width
        var winH = jQuery(window).height();
        var winW = jQuery(window).width();
              
    
        //transition effect
        jQuery(id).fadeIn("slow");
    
    });
    
    //if close button is clicked
    jQuery('.window .close').click(function (e) {
        //Cancel the link behavior
        e.preventDefault();
        jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    //if mask is clicked
    jQuery('#mask').click(function () {
        jQuery(this).fadeOut("slow");
        jQuery('.window').fadeOut("slow");
    });            
    
});
</script>
(04.07.2013, 17:27)mrkarpiuk napisał(a): [ -> ]Czy coś się popsuło tego nie wiem, jak to naprawić ?

Na przyszłość podawaj więcej szczegółów... Co robiłeś, co zmieniałeś... itd.
Właśnie jak bym wiedział to bym podał lub sam spr co zrobiłem nie tak ;/

Za raz spr czy działa.



Dalej nie Działa ;//
Sprawdziłem teraz i jakoś działa normalnie.
To Powiedz czemu mi nie działa ?

Z czego może to wynikać ?


I może spr jak zmieniony był styl na inny bo coś robię i spr ciągle co może być nie tak i nic nie pomaga ;/

Ref nikt nie wie :C

Chodzi mi o ten przycisk :

[Obrazek: 30qc.png]
REF...
Pokaż Twój aktualny headerinclude
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/jquery.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></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.9.0/jquery.min.js"></script>
<
script type="text/javascript">jQuery.noConflict();</script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar_2.0.js"></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}
<
script>
jQuery.noConflict();
jQuery(document).ready(function(){
    
jQuery(function () {
        
// scroll body to 0px on click
        
jQuery('#back-top').click(function () {
            
jQuery('body,html').animate({
                
scrollTop0
            
}, 800);
            return 
false;
        });
    });
        
jQuery(".loginbutton").click(function(e) {
            
e.preventDefault();
            
jQuery(".loginbutton_menu").slideToggle("fast");
            
jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        
jQuery(".loginbutton_menu").mouseup(function() {
            return 
false
        
});
        
jQuery(document).mouseup(function(e) {
            if(
jQuery(e.target).parent("a.loginbutton").length==0) {
                
jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                
jQuery(".loginbutton_menu").slideUp("fast",  function() {display'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition"top"fadeIn300});
});
});
</
script>

<
script>
jQuery.noConflict();
jQuery(document).ready(function() {    
    
//select all the a tag with name equal to modal
    
jQuery('a[name=modal]').click(function(e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
//Get the A tag
        
var id jQuery(this).attr('href');
    
        
//Get the screen height and width
        
var maskHeight jQuery(document).height();
        var 
maskWidth jQuery(window).width();
    
        
//Set height and width to mask to fill up the whole screen
        
jQuery('#mask').css({'width':maskWidth,'heigh??t':maskHeight});
        
        
//transition effect        
        
jQuery('#mask').fadeIn("fast");
        
jQuery('#mask').fadeTo("slow",0.5);    
    
        
//Get the window height and width
        
var winH jQuery(window).height();
        var 
winW jQuery(window).width();
              
    
        
//transition effect
        
jQuery(id).fadeIn("slow");
    
    });
    
    
//if close button is clicked
    
jQuery('.window .close').click(function (e) {
        
//Cancel the link behavior
        
e.preventDefault();
        
jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    
//if mask is clicked
    
jQuery('#mask').click(function () {
        
jQuery(this).fadeOut("slow");
        
jQuery('.window').fadeOut("slow");
    });            
    
});
</
script>
{
$newpmmsg
Zamiana:
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/jquery.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/tiptip.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/yetii.js"></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.9.0/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/sidebar_2.0.js"></script>
<script type="text/javascript">jQuery.noConflict();</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}
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
    jQuery(function () {
        // scroll body to 0px on click
        jQuery('#back-top').click(function () {
            jQuery('body,html').animate({
                scrollTop: 0
            }, 800);
            return false;
        });
    });
        jQuery(".loginbutton").click(function(e) {
            e.preventDefault();
            jQuery(".loginbutton_menu").slideToggle("fast");
            jQuery(".loginbutton").toggleClass("loginbutton_menu_open");
        });
        jQuery(".loginbutton_menu").mouseup(function() {
            return false
        });
        jQuery(document).mouseup(function(e) {
            if(jQuery(e.target).parent("a.loginbutton").length==0) {
                jQuery(".loginbutton").removeClass("loginbutton_menu_open");
                jQuery(".loginbutton_menu").slideUp("fast",  function() {display: 'toggle'});;
            }
            
        });
jQuery(function(){
jQuery(".pmpopup").tipTip({defaultPosition: "top", fadeIn: 300});
});
});
</script>

<script>
jQuery.noConflict();
jQuery(document).ready(function() {    
    //select all the a tag with name equal to modal
    jQuery('a[name=modal]').click(function(e) {
        //Cancel the link behavior
        e.preventDefault();
        //Get the A tag
        var id = jQuery(this).attr('href');
    
        //Get the screen height and width
        var maskHeight = jQuery(document).height();
        var maskWidth = jQuery(window).width();
    
        //Set height and width to mask to fill up the whole screen
        jQuery('#mask').css({'width':maskWidth,'heigh​??t':maskHeight});
        
        //transition effect        
        jQuery('#mask').fadeIn("fast");
        jQuery('#mask').fadeTo("slow",0.5);    
    
        //Get the window height and width
        var winH = jQuery(window).height();
        var winW = jQuery(window).width();
              
    
        //transition effect
        jQuery(id).fadeIn("slow");
    
    });
    
    //if close button is clicked
    jQuery('.window .close').click(function (e) {
        //Cancel the link behavior
        e.preventDefault();
        jQuery('#mask, .window, #loginbox').fadeOut("slow");
    });        
    
    //if mask is clicked
    jQuery('#mask').click(function () {
        jQuery(this).fadeOut("slow");
        jQuery('.window').fadeOut("slow");
    });            
    
});
</script>

I pytanie: Po co Ci 2 razy {$newpmmsg}??
To pozostałość chyba po tym co robiłem...

Nadal lipa...

Kolego jak możesz spr czy u cb normalnie śmiga : www.mrkarpiuk.com.pl/forum
podaj
strona główna -> index
opis działu -> forumbit_depth1_cat
Kod PHP:
<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
thead>
<
tr>
<
div id="forumbit_thead" class="thead" colspan="5"><div class="relative">
<
div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}title="{$expaltext}/></div></div>
<
div><strong><a href="{$forum_url}">{$forum['name']}</a></strong>
<!--[if 
IE]>
<
div class="smalltext forumheaddescie">{$forum['description']}</div></div>
<![endif]-->
<![if !
IE]>
<
div class="smalltext forumheaddesc">{$forum['description']}</div></div><![endif]>
</
td>
</
tr>
</
thead>
<
tbody style="{$expdisplay}id="cat_{$forum['fid']}_e">
{
$sub_forums}
</
tbody>
</
table>
<
br /> 

Dobra Dzięki chłopaki za chęci :)

Nawet nie pamiętam ale pisałem o tym już tutaj i zrobiłem i działa :https://webboard.pl/thread-30633.html