Zamień:
<script src="{$mybb->settings['bburl']}/jscripts/hide.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery('.show_hide').showHide({
speed: 250, // speed you want the toggle to happen
easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI
changeText: 0, // if you dont want the button text to change, set this to 0
showText: ' ',// the button text to show when a div is closed
hideText: ' ' // the button text to show when a div is open
});
});
</script>
na:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="{$mybb->settings['bburl']}/jscripts/hide.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery('.show_hide').showHide({
speed: 250, // speed you want the toggle to happen
easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI
changeText: 0, // if you dont want the button text to change, set this to 0
showText: ' ',// the button text to show when a div is closed
hideText: ' ' // the button text to show when a div is open
});
});
</script>
@EDIT
A jeżeli nie podziała, to sprawdź w szablonie headerinclude, czy masz taki kod:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
A jeżeli nie, to dodaj go po:
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
I oczywiście jak nie podziała to tak jak teraz mówiłem i zastosuj się do wersji tego kodu dodając go na sam dół:
<script src="{$mybb->settings['bburl']}/jscripts/hide.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery('.show_hide').showHide({
speed: 250, // speed you want the toggle to happen
easing: '', // the animation effect you want. Remove this line if you dont want an effect and if you haven't included jQuery UI
changeText: 0, // if you dont want the button text to change, set this to 0
showText: ' ',// the button text to show when a div is closed
hideText: ' ' // the button text to show when a div is open
});
});
</script>