html5特效在ie不支持,HTML在IE里旋转效果不显示?

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 使用说明

  • 文件下载

//document.oncontextmenu = function(e) { return false; }//防止右击弹出菜单

$("#add-key2").click(function(){

$("#add-key2").createModal({

background: "red",//设定弹窗之后的覆盖层的颜色

width: "1000px",//设定弹窗的宽度

height: "500px",//设定弹窗的高度

resizable: true,//设定弹窗是否可以拖动改变大小

bgClose: true,

html: "

你可以在这个属性里面写入任何的html代码!

"

});

});

$(document).ready(function(){

$("body").css({"height":$(window).height()});

$(window).resize(function(){

$("body").css({"height":$(window).height()});

})

$(".search_bt_box li").click(function(){

var index=$(this).index();

console.log('index:'+index);

if(index==0){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

setTimeout(function(){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

},200)

setTimeout(function(){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

},400)

}

else if(index==1){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

setTimeout(function(){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

},200)

}

else if(index==2){

$(".search_bt_box li:nth-child(7)").insertBefore($(".search_bt_box li:nth-child(1)"));

}

else if(index==4){

$(".search_bt_box li:nth-child(1)").insertAfter($(".search_bt_box li:nth-child(7)"));

}

else if(index==5){

$(".search_bt_box li:nth-child(1)").insertAfter($(".search_bt_box li:nth-child(7)"));

setTimeout(function(){

$(".search_bt_box li:nth-child(1)").insertBefore($(".search_bt_box li:nth-child(7)"));

},200)

}

else if(index==6){

$(".search_bt_box li:nth-child(1)").insertAfter($(".search_bt_box li:nth-child(7)"));

setTimeout(function(){

$(".search_bt_box li:nth-child(1)").insertAfter($(".search_bt_box li:nth-child(7)"));

},200)

setTimeout(function(){

$(".search_bt_box li:nth-child(1)").insertBefore($(".search_bt_box li:nth-child(7)"));

},400)

}

$(".search_box").css({"margin-left":"50px","opacity":"0"});

$(".search_box").animate({"margin-left":"0","opacity":"1"});

})

var theme_index;

$("#theme li").click(function(){

var index=$(this).index();

$("body").css({"background":"#1462ad url(images/bg"+(index+1)+".png) no-repeat center 0","background-size":"cover"});

$("body").removeClass();

$("body").addClass("theme"+(index+1));

$("#theme li").removeClass("active");

$(this).addClass("active");

})

$("#theme .close").click(function(){

layer.close(theme_index);

$("#theme").hide();

})

$("#theme_bt").click(function(){

theme_index=layer.open({

type: 1,

title: false,

closeBtn: 0,

area: '840px',

skin: 'layui-layer-nobg', //没有背景色

shadeClose: true,

content: $('#theme')

});

})

$(function () {

$('#myId').jalendar({

customDay: new Date(),

color: '#16a6e2',

lang: 'EN'

});

});

})

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值