摘要:
鼠标移入后不让它有边框。解决办法:不要写成border:none; 因为这样一来就少了2px的宽度,导致间距变大被挤下来 阅读全文
摘要:
banner图缩放不变形,不会让它同比缩放。 把图片作为背景图片引入,不要写在HTML里 阅读全文
摘要:
//滚动条滚动时右侧内容始终固定在屏幕右侧滚动的位置[滚动监听的一种] //滚动条滚动时右侧内容始终固定在屏幕右侧滚动的位置 $(window).scroll(function() { var top = $(window).scrollTop(); if(top>=690){ // alert(11); $... 阅读全文
摘要:
fenye_paging.js : html: 阅读全文
摘要:
http://api.map.baidu.com/lbsapi/creatmap/?qq-pf-to=pcqq.c2c 用这个百度地图生成器 阅读全文
摘要:
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status 阅读全文
摘要:
页头页脚统一调用: <object type="text/x-scriptlet" data="public_head.html" width="100%" height="618px"></object> <object type="text/x-scriptlet" data="footxj.h 阅读全文
摘要:
PC端变成手机端的时候,把特效去掉(把canvas标签去掉)<script> if (screen.width < 768){ $('canvas').remove(); }</script> /*if($('window').width()<768){ $('canvas').css('displ 阅读全文