-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问回调函数LoadDPlyaer怎么使用 #36
Comments
我自己外部调用了 想请问你下弹幕=true怎么用 怎么放弹幕api或者文件呀 |
loadDPlayer(); |
一般主题会有一个 PJAX 回掉代码框 |
如果没有的话可以通过对主题 找到如下相关内容 $(document).pjax('a[href^="SERVERNAME"]:not(a[target="_blank"], a[no-pjax], a[href^="SERVERNAME//admin"])',
{
container: '#pjax-container',
fragment: '#pjax-container',
timeout: 8000
}).on('pjax:send', function() {
pgid = start_progress()
$(".black-cover").fadeIn(400)
$('html,body').animate({ scrollTop: $('html').offset().top}, 500)
destroy()
}).on('pjax:complete', function() {
$(".black-cover").fadeOut(400)
stop_progress(pgid)
// 这里
loadDPlayer();
}) 在 |
initial主题的话可以在 .on('pjax:complete',function(){setTimeout(function(){$("#bar").remove()},300);$('#header').removeClass("on");$('#s').val("");<?php if ($this->options->SidebarFixed): ?>$("#secondary").removeAttr("style");<?php endif; ?>}) 展开如下 .on('pjax:complete',function(){
setTimeout(function(){
$("#bar").remove()
},300);
$('#header').removeClass("on");
$('#s').val("");
<?php if ($this->options->SidebarFixed): ?>$("#secondary").removeAttr("style");<?php endif; ?>
// 这里
loadDPlayer();
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前使用initial主题,根本不知道要如何调用。
The text was updated successfully, but these errors were encountered: