19.12.2014, 16:39
Cześć!
Generalnie pojęcie moje w kwestii jQuery jest znikome dlatego napisałem tutaj
(Ten wątek tak zalecał: https://webboard.pl/thread-36416.html )
Moja kochana moderacja zbiorowa w 1.8 nie działa... Czy byłby w stanie ktoś sprawdzić czy w headerinclude jest wszystko okej?
Generalnie pojęcie moje w kwestii jQuery jest znikome dlatego napisałem tutaj
(Ten wątek tak zalecał: https://webboard.pl/thread-36416.html )
Moja kochana moderacja zbiorowa w 1.8 nie działa... Czy byłby w stanie ktoś sprawdzić czy w headerinclude jest wszystko okej?
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="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/hypercraft/js/sidebar.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/hypercraft/js/ddes.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($) {
$('.dropDownHook span').on('click', function() {
$(this).parents('.dropDownHook').children('.dropDownContent').stop(true, true).slideToggle('fast', function() {
if ($('.dropDownContent').is(':visible')) {
// This alters the content of the "hook" when we open the drop down
$('.dropDownHook span').html('Welcome {$mybb->user['username']} ▲');
}
else {
// This alters the content of the "hook" when we close the dropdown
$('.dropDownHook span').html('Welcome {$mybb->user['username']} ▼');
}
});
});
$('html').on('click', function() {
$('.dropDownContent:visible').slideToggle('fast');
});
$('.dropDownHook > *').on('click', function(event) {
event.stopPropagation();
});
});
</script>
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/hypercraft/font/font-awesome.min.css">
<link rel="stylesheet" href="{$mybb->settings['bburl']}/images/hypercraft/font/font-awesome-ie7.min.css">
<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 type="text/javascript" src="{$mybb->settings['bburl']}/images/hypercraft/js/tipsy.js"></script>
<script type='text/javascript'>
jQuery.noConflict();
jQuery(function() {
jQuery("a").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
jQuery("img").tipsy({gravity: jQuery.fn.tipsy.autoNS, fade: true});
});
</script>