zoukankan      html  css  js  c++  java
  • 滚动条

    滚动条实现:

     <marquee direction="left" scrolldelay="150" onMouseOut="this.start()" onMouseOver="this.stop()"><%=GetNotices() %></marquee>

     public string GetNotices()

            {

                string result = "";

                Notice notice = new Notice();

                DataSet ds = notice.FindNoticeDisplay(5);

                if (ds.Tables[0].Rows.Count > 0)

                {

                    foreach (DataRow dr in ds.Tables[0].Rows)

                    {

                        string id = dr["PKID"].ToString();

                        string title = dr["Title"].ToString();

                        string temp = "<a target='_blank' href='/Purview/LookNotice.aspx?cid=" + id + "' ><font color=#ff0000><strong>" + title + "</strong></font></a>    ";

                        result += temp;

                    }

                }

                return result;

            }

    这些都是博主多年积累的,有些可能是别人的,但博主已经不记得来自哪里了,就不特殊标出了,望见谅!!!!
  • 相关阅读:
    extjs 表单显示控制
    windows net user
    ORACLE截取时间
    oracle to_timestamp
    oracle to_date
    ext numberfield小数模式
    ext 仅文字field
    extjs 占位字段
    [转]CPU的位数与操作系统的位数的区别
    32位的Win7系统下安装64位的Sql Sever?
  • 原文地址:https://www.cnblogs.com/objectxhy/p/5896027.html
Copyright © 2011-2022 走看看