摘要:
一.直接在要跳转部分加上onclick事件 1.加入onclick事件: <div onclick="window.open('http://baidu.com','_blank')" style="cursor:pointer"></div> 二、使用js给将要跳转部分加上链接 阅读全文
posted @ 2017-01-19 12:24
贺小鸣
阅读(1619)
评论(0)
推荐(0)
摘要:
JS代码如下:<script> $(window).load(function(){ var width=$(window).width(); var img_1=$(".hot_img_auto").css("height");//获取图片高 if(980<=width<=1920){ $(".h 阅读全文
posted @ 2017-01-19 12:11
贺小鸣
阅读(483)
评论(0)
推荐(0)