随笔分类 -  前端技术(JS,HTML,CSS)

前端技术(JS,HTML,CSS)
摘要:I’ve worked on many projects where in I had to style the form/input buttons using custom background images. That is, I had to hide the default text of the button. It’s not a big deal, I know. But it is, when it comes to IE. Let’s review this in detail.The following image(button background) has been 阅读全文
posted @ 2012-03-20 15:10 大嘴吃油条 阅读(176) 评论(0) 推荐(0)
摘要:去参加百度的前端研发的笔试,上面有一题是用JS写个分页出来,当时没写完整,现在补上<script type="text/javascript">function page(pagenow,pagecount,n,uri){var nextpage;var prepage;var pagenav=new Array();if(pagenow<=pagecount&&pagenow>0){if(pagenow<=n){if(pagecount<=(2*n+1)){for(var i=1;i<=pagecount;i++) 阅读全文
posted @ 2011-10-18 10:34 大嘴吃油条 阅读(295) 评论(0) 推荐(0)