0
点赞
收藏
分享

微信扫一扫

DEDE 网站取消点链接页面跳转效果(部分响应式模板)


找到sking/js/custom.js

注释掉这个

或全目录搜索,#wrapper关键字。即可找到。
把起作用的这段进行注释。

/* 去掉跳转效果
//菜单动态切换页面效果
$(".main-nav li a, .logo a").click(function(){
if( $(this).attr("target") != "_blank"){
if( $(this).attr("href") != "javascript:;" && $(this).attr("href") != "#" )
return openwork($(this).attr("href"));

}
});
function openwork(url){
$("#wrapper").css({'-webkit-animation':"bounceIn 0.5s .25s ease both",'-moz-animation':'bounceIn 1s .25s ease both','animation':'bounceIn 0.5s .25s ease both'});
$("body").append("<div class='page-cover'></div>").css("position","relative");
$(".page-cover").delay(600).animate({"height":$(document).height()},800,null,function(){
location.href = url;
});
return false
};


*/

 

举报

相关推荐

0 条评论