会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
开发后花园
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
2012年1月4日
界面设计速成(blueidea)
摘要:
阅读全文
posted @ 2012-01-04 14:16 kpbiao
阅读(209)
评论(0)
推荐(0)
2011年12月24日
onerror 事件 如何使用 onerror 事件捕获网页中的错误。(chrome、opera、safari 浏览器不支持)
摘要: <script type="text/javascript">onerror=handleErrvar txt=""function handleErr(msg,url,l){txt="本页中存在错误。\n\n"txt+="错误:" + msg + "\n"txt+="URL: " + url + "\n"txt+="行:" + l + "\n\n"txt+="点击“确定”继续。\n\n&quo
阅读全文
posted @ 2011-12-24 16:01 kpbiao
阅读(571)
评论(0)
推荐(0)
图片轮换动画仿GIF
摘要: var urls;function animate(pos){ /*只现实一次gif图 if(pos==urls.length){ return false; } */ pos %=urls.length; document.images["animate"].src=urls[pos]; setTimeout("animate("+(pos+1)+");",1000);}window.onload=function(){ urls=new Array("http://img.t.sinajs.cn/t4/s...
阅读全文
posted @ 2011-12-24 15:31 kpbiao
阅读(324)
评论(0)
推荐(0)
2011年12月23日
kissyAPI
摘要: http://docs.kissyui.com/docs/html/index.htmlkissyui API
阅读全文
posted @ 2011-12-23 16:25 kpbiao
阅读(148)
评论(0)
推荐(0)
2011年12月21日
jquery 弹出窗
摘要: <!--[if IE 6]><script> var isIE6 = true;</script><style>* html { background-image:url(about:blank); background-attachment:fixed; }* html .mask_content { z-index: 9999; position: absolute !important; left: expression(eval(document.documentElement.scrollLeft + document.document
阅读全文
posted @ 2011-12-21 11:22 kpbiao
阅读(708)
评论(0)
推荐(1)
查找url里面的flag元素判断操作
摘要: var search = location.search.substr(1), flag = 0, arr = search.split('?'); if (arr && arr.length > 0) { for (var i = 0, len = arr.length; i < len; i++) { var item = arr[i].split('='); if (item[0] === 'flag') { ...
阅读全文
posted @ 2011-12-21 11:21 kpbiao
阅读(724)
评论(0)
推荐(0)
2011年12月15日
kissy helpcenter
摘要: http://docs.kissyui.com/docs/html/demo/index.html
阅读全文
posted @ 2011-12-15 15:11 kpbiao
阅读(139)
评论(0)
推荐(0)
2011年12月14日
向上滚动
摘要: <script type="text/javascript">// <![CDATA[<span id="mce_marker" data-mce-type="bookmark"></span><span id="__caret">_</span>// <![CDATA[(function($){ $.fn.scroll = function(options) { var settings = { lines: 2, delay: 2000 }
阅读全文
posted @ 2011-12-14 18:46 kpbiao
阅读(201)
评论(0)
推荐(0)
2011年12月10日
404页面
摘要:
阅读全文
posted @ 2011-12-10 11:06 kpbiao
阅读(140)
评论(0)
推荐(0)
2011年12月7日
IE6 动态创建 iframe 无法显示的 bug--- 芒果
摘要: 动态弹出浮层,跨域加载一个 iframe 页面,发现 IE6 下无法正常显示。见图所示:最初怀疑是innerHTML方式创建 iframe 节点导致的:document.getElementById('a').innerHTML = '<iframe width="500" height="100" src="http://www.mangguo.org/"></iframe>';但这样操作实际测试 IE6 是可以正常显示 iframe 页面的。百度之,发现同类问题有,但大多都是
阅读全文
posted @ 2011-12-07 00:20 kpbiao
阅读(510)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
公告