随笔分类 -  JQuery

摘要:鼠标移动到各个选项上实现同一页面的无刷新层次效果,最近网上这种建站效果很多!今日正好项目需要在此一提:主要通过css与jquery控制div层标签实现,细看下面代码中的div层定义如:xfz="1"......dfz="1".....脚本代码: <script type="text/javascript"> function Show_list_div($z, $kk) { for ($i = 1; $i <= $kk; $i++) { $div_name = "tags_content_" + 阅读全文
posted @ 2011-08-25 11:37 brainmao 阅读(709) 评论(0) 推荐(0)
摘要:<script type="text/javascript"> regEvents_searchresult(); function regEvents_searchresult(){ $("div[bustypeid]").each(function () { var thisBusType = this; $(this).find("*[buspara='add']").click(function () { var selectid = $(thisBusType).attr("bustyp 阅读全文
posted @ 2011-08-12 10:19 brainmao 阅读(414) 评论(0) 推荐(0)
摘要:实例1:省市区县(含全国完整数据库)Ajax无刷新三级联动,利用微软官方ASP.NET AJAX Control Toolkit和WebService结合实现的完整无刷新省市区县三级,该数据库包含大陆32个省市自治区及部分港澳台地区信息,Bin下自带Ajax及AJAX Control Toolkit的控件程序,可以直接使用!HTML:View Code <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>省市区县无刷新联动&l 阅读全文
posted @ 2011-08-05 10:37 brainmao 阅读(2479) 评论(1) 推荐(1)
摘要:首先推荐大家去这个作者的地址看看:http://www.josscrowcroft.com/projects/motioncaptcha-jquery-plugin/演示地址:http://www.gbin1.com/technology/jquerynews/motioncaptchadrawshapes/demo.jsp该功能甚是有趣且具有创意,用鼠标或者更多的是在触屏手机上利用绘画技术来绘制图形,此验证码的表达形式在以后或许会很流行主要实现代码原理:How To UseAdd the plugin scripts: (I’m using jQuery 1.6.x from the goo 阅读全文
posted @ 2011-07-29 09:14 brainmao 阅读(487) 评论(0) 推荐(0)