随笔分类 -  JQuery

摘要:$(function(){ setInterval("runNews()",6000);});functionrunNews(){varrc=$(".rNews").length,t=0;for(vari=0;i<rc;i++){ if(!$(".rNews").eq(i).is(":hidden")){ t=i+1; $(".rNews").eq(i).animate({height:'hide',opacity:'hide'},"slow&qu 阅读全文
posted @ 2012-10-26 14:40 巡山二代王 阅读(274) 评论(0) 推荐(0)
摘要:1$(function(){2 $(document).bind('click',function(e){3 if($(e.target).eq(0).is($("#pxddlvalBox"))||$(e.target).eq(0).is($("#pxddlSel"))){4 return;5 }6 $("#pxddlvalBox").hide();7 });8}); 阅读全文
posted @ 2012-06-11 12:42 巡山二代王 阅读(2183) 评论(0) 推荐(0)
摘要:<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>test</title> <script type="text/javascript" src="jquery/jquery-1.2.6.js" ></script> <sty... 阅读全文
posted @ 2010-01-27 13:50 巡山二代王 阅读(5275) 评论(3) 推荐(0)
摘要:接口介绍JMag()MagJson:JMagazine杂志配置文件 [Obj] <具有一个格式的json对象,具体我在后面说>LeftPage:杂志左页 [Selector]RightPage:杂志右页 [Selector]ViewPage:杂志放大页 [Selector]Recommended:杂志推荐信息 [Selector]StarPageNum:杂志起始页书 [Int]PageCount:杂志总共页数 [Int]PageWidth:杂志宽度 [Int,String]PageHeight:杂志高度 [Int,String]DefaultPageSpeed:默认翻页动画速度 [ 阅读全文
posted @ 2010-01-27 13:49 巡山二代王 阅读(699) 评论(0) 推荐(0)