05 2016 档案

摘要:var zhonghao={ //绑定事件 myAddEvent: function(obj, sEvent, fn){if(obj.attachEvent){obj.attachEvent('on'+sEvent, fn);}else{obj.addEventListener(sEvent, fn 阅读全文
posted @ 2016-05-25 19:05 林育松 阅读(189) 评论(0) 推荐(0)
摘要:<script>setTimeout(function(){ window.location.href="http://"+window.location.host;},5000);</script> 阅读全文
posted @ 2016-05-25 19:04 林育松 阅读(1320) 评论(0) 推荐(0)
摘要:<script type="text/javascript"> function online(){ //商务通轨迹 var e = 'wap'; if(arguments.length == 1){ e = arguments[0]; } if(typeof openZoosUrl == 'und 阅读全文
posted @ 2016-05-25 19:03 林育松 阅读(475) 评论(0) 推荐(0)
摘要:js文字向上滚动代码<style>.pczt_pingfen_jhxs_news1{ width:397px; background:#edfafd; padding-top:2px; padding-bottom:2px; margin:0 auto;}.pczt_pingfen_jhxs_xia 阅读全文
posted @ 2016-05-25 19:02 林育松 阅读(1495) 评论(0) 推荐(0)
摘要:<script>$(document).ready(function() { $("a").click(function(){ $(this).attr('href','javascript:void(0)'); getSwt('gzbdfyjy'); return false; });});</s 阅读全文
posted @ 2016-05-25 19:01 林育松 阅读(459) 评论(0) 推荐(0)
摘要:在所在的div要定义宽度,然后加入样式 text-overflow:-o-ellipsis-lastline; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:1;/*数字可以是1行、2 阅读全文
posted @ 2016-05-25 18:59 林育松 阅读(175) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-05-25 18:57 林育松 阅读(790) 评论(0) 推荐(0)
摘要:<script>(function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol 'https') { b 阅读全文
posted @ 2016-05-25 18:56 林育松 阅读(292) 评论(0) 推荐(0)
摘要:var yunzhuanhua_pc_domain = "http://www.域名.com#yht"; //PC站网址var yunzhuanhua_wap_domain = "http://m.域名.com#yht"; //手机站网址document.writeln("<frameset col 阅读全文
posted @ 2016-05-25 18:55 林育松 阅读(186) 评论(0) 推荐(0)
摘要:// 8点到早上19点关var curr = new Date();var time = curr.getHours();if ( time >=0 && time <24 ){ document.write("<frameset cols=\"100%\">"); document.write(" 阅读全文
posted @ 2016-05-25 18:54 林育松 阅读(214) 评论(0) 推荐(0)
摘要:1, js代码 function ntabs(thisObj,Num) {if(thisObj.className == "active")return; var tabObj = thisObj.parentNode.id; var tabList = document.getElementByI 阅读全文
posted @ 2016-05-22 14:16 林育松 阅读(3021) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示