js
文章平均质量分 77
浅笑Sunshine
对于asp.net的开发有浓厚的兴趣,平时一个人的时候喜欢弹吉他,喜欢听歌
展开
-
js解决弹窗问题
1、js代码如下: for(int i=0;idtPTC.Rows.Count;i++) { if (dtPTC.Rows[i]["ISPRO"].ToString() == "1") { %>原创 2014-01-06 15:18:25 · 738 阅读 · 0 评论 -
图片提示效果
http://www.w3.org/1999/xhtml"> .aa{ width:88px; height :100px; } $(function () { var x = 10;原创 2014-02-26 13:17:17 · 609 阅读 · 0 评论 -
类似于yahoo邮箱登陆的提示效果
当鼠标聚焦到邮箱地址文本框时,文本框内的“请输入邮箱地址”文字被清空。效果图: http://www.w3.org/1999/xhtml"> $(function () { //对地址框进行操作 $("#address").focus(function () {原创 2014-02-26 13:26:56 · 934 阅读 · 0 评论 -
显示全部内容OR显示部分内容
效果图: http://www.w3.org/1999/xhtml"> //等待DOM加载完毕 $(function () { //获得索引值大于5的品牌集合对象(除最后一条) var $category = $('ul li:gt(5):n原创 2014-02-26 13:31:04 · 913 阅读 · 0 评论 -
左浮动菜单
#ProMenu{width:157px;clear:both;float:left; position:fixed; top:20%; left:-1px;}#ProMenu span{float:left;width:157px;}#ProMenu a{display:block;width:72px;height:40px;line-height:40px;font-size:13p原创 2014-07-22 11:14:37 · 738 阅读 · 0 评论