MediaWiki:Mobile.js:修订间差异

跳转到导航 跳转到搜索
添加747字节 、​ 2024年2月29日 (星期四)
无编辑摘要
无编辑摘要
标签移动版编辑 移动版网页编辑
无编辑摘要
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
/* 这里的任何JavaScript将为使用移动版网站的用户加载 */
/* 这里的任何JavaScript将为使用移动版网站的用户加载 */
function menuadjust() {
function menuadjust() {
     var a = $("body").height() + "px";
     var a = $("body").height() + "px";
第28行: 第29行:
     mfSidebar();
     mfSidebar();
});
});
/*
mw.loader.load('/index.php?title=MediaWiki:Gadget-Filterable.js&action=raw&ctype=text/javascript');
$('.heimu a').on("click", function () {
    if (!$(this).closest('.heimu').is(':active, :focus')) return false;
});
//Template:hide
if ($('.mw-collapsible')[0]) mw.loader.using('jquery.makeCollapsible').then(function () {
    //console.debug('jquery.makeCollapsible is loaded.');
    $('.mw-collapsible').makeCollapsible();
});
clip_board = new ClipboardJS('h1#firstHeading');
$("h1#firstHeading").click(function () {
    var copyText = "https://prts.wiki/id/" + mw.config.get('wgArticleId');
    this.setAttribute("data-clipboard-text", copyText);
    alert("链接已复制: " + copyText);
});
*/
//mw.loader.using('mobile.site.styles')

导航菜单