弹出窗口:
<Script language="JavaScript">
<!--
function js_callpage(htmlurl,mytop,myleft,mywide,myheight) {
 var mypop=window.open(htmlurl,"mynew","top="+mytop+",left="+myleft+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+mywide+",height="+myheight+"");
 mypop.focus();
 }
js_callpage("/news.aspx",0,0,350,260);
//-->
</Script>news.aspx中使用:
从数据库或XML文件中取出新闻数据,然后:使用<marque ....>...</marque>标签。

解决方案 »

  1.   

    <marque ....>...</marque>标签。
    中间的内容用从数据库读取,比如用repeater
      

  2.   

    我记得以前写过的
    http://myforum.66ip.com自己找找
      

  3.   

    marquee实现滚动新闻
    实现:
    <TD height=25 bgcolor=#ccccff >
    <marquee runat=server id="adtool" behavior="scroll" scrollDelay=2 scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
    </marquee>
    </TD>方向:
    direction:
    left Default. Marquee scrolls left. 
    right Marquee scrolls right. 
    down Marquee scrolls down. 
    up Marquee scrolls up. 
    代码(填充内容)
    private void Page_Load(object sender, System.EventArgs e)
    {
       string str="·<a href=http://news.163.com/special/j/jilin040215.html >浙江海宁火灾展开全面调查</a>";
       this.adtool.InnerHtml=str;
    }