随笔分类 -  软件开发

css+javascript 动态生成菜单
摘要:这两天一直在尝试用Css+javascript生成动态菜单,由于原来css和javascript知识太薄弱,经过了两天的上网查资料,终于完成了任务。主要步骤如下:1、定义style.css文件(要绑定相应的图片,否则样式还是显示不出来):.nav_top .nav { width: 775px; list-style: none; margin: 0; padding: 0; position: relative; overflow: hidden; height: 43px; margin-bottom: -5px; } .nav_top .nav li { float: ... 阅读全文

posted @ 2012-09-12 17:34 小 辉 阅读(391) 评论(0) 推荐(0)

关于forms认证
摘要:今天在csdn上看了一篇文章,关于form认证的,地址是http://blog.csdn.net/aiq/article/details/1778290#comments 阅读全文

posted @ 2012-08-03 16:37 小 辉

静态构造函数
摘要:静态构造函数用于初始化任何 静态 数据,或用于执行仅需执行一次的特定操作。在创建第一个实例或引用任何静态成员之前,将自动调用静态构造函数。C#复制class SimpleClass{ // Static variable that must be initialized at run time. static readonly long baseline; // Static constructor is called at most one time, before any // instance constructor is invoked or member is... 阅读全文

posted @ 2012-08-02 15:05 小 辉 阅读(156) 评论(0) 推荐(0)

导航