摘要:
1、频道管理中,URL配置,增加一个参数person_id 2、在photo_list.html模板页中,添加以下代码 <!--C#代码--> <%csharp%> string strwhere="status=0 "; if(DTRequest.GetQueryString("person_id 阅读全文
摘要:
C#定时器和事件 System.Timers.Timer myTimer; private void Form1_Load(object sender, EventArgs e) { myTimer = new System.Timers.Timer(60000);//定时周期1分钟 myTimer 阅读全文
摘要:
//创建一个委托,是为访问listbox控件服务的。 public delegate void UpdateTxt(string msg); //定义一个委托变量 public UpdateTxt updateTxt; //修改listbox值的方法。 public void UpdateTxtMe 阅读全文
摘要:
<script src="jquery.js" type="text/javascript"></script> <script src="jquery.treeTable.js" type="text/javascript"></script><link href="default/jquery. 阅读全文
摘要:
关于TreeTable实际应用的案例:http://www.cnblogs.com/qigege/p/5213689.html treeTable是跨浏览器、性能很高的jquery的树表组件,它使用非常简单,只需要引用jquery库和一个js文件,接口也很简单。 优点 兼容主流浏览器: 支持IE6和 阅读全文
摘要:
二级或者三级折叠菜单参考http://www.cnblogs.com/qigege/p/5178947.html <script type="text/javascript"> $(function () { $("#Nav_left ul li").each(function () { $(thi 阅读全文
摘要:
$(document).ready(function () { $(".Pub_TB tbody tr:even td").css("background-color", "#dbdbdb"); //隔行换色 /*************/ //鼠标滑过的样式 $(".Pub_TB tbody tr 阅读全文
摘要:
1、去掉style.css中视频的高度 .video-box{ position:relative; width:100%; height:473px; _clear:both; _display:inline; } 去掉:height:473px; 2、更改JS代码 //初始化视频容器 if('{ 阅读全文
摘要:
#menu { width:200px; margin:auto;} #menu h1 { font-size:12px; border:#C60 1px solid; margin-top:1px; background-color:#F93;} #menu h2 { font-size:12px 阅读全文
摘要:
如果用slideToggle,鼠标快速滑过后,滑进滑出很多次,要解决这个问题,用stop(false,true) $(".Nav_L").hover(function () { $(".Cate2").stop(false,true).slideToggle(500); }); 阅读全文