会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Java代码
新闻滚动播出Java小程序
发表日期:2004-07-04 16:41:56文件大小:25KB 下载次数:5385  

代码说明: [程序语言] IE3, IE4, IE5, NS3, NS4+ [运行平台] windows,nt [功能描述]   该新闻滚动播出Java小程序可以从放在网络服务器上的文件读入数据,你还可以使用背景图象。   以下为该数据文件的范例以及参数说明:   # 参数:   # @HEAD 必须。必须为新闻的第一个项目。可以多余一行。以如下的符号作为结束:   #     @URL, @MSG, 或者 @END 标记   # @URL 可选。一个URL将同新闻项目联系起来。如果用鼠标点取该项,则加载URL。必须在一行内。   # @FRAME 可选。但是要先定义URL。   # @MSG 必须。正文部分,可以多行。结束符号为@END标识。   # @END 需要。表示新闻的结束。   # Unicode has not been tried within any of these, but I imagine   # it'd work.   @HEADThis is a headline.   @MSGAnd this is the message text.   @END   # Linked text   @HEADThis is linked   @URLhttp://www.io.com/~crackers/index.html   @MSGThis is an example of linked text. It reloads the first page.   @END   # Frame target   @HEADFrames!   @URLHome.html   @FRAMEfrmMain   @MSGThis item uses the FRAME parameter. It'll reload the first page in this frame.   @END   # Real news   @HEADActual News!   @MSGNote for previous users: the HrefScroller class is gone. It's   URL linking and mouse detection methods have been rolled into the   Scroller class.   @END   # Java Boutique   @HEADJava Boutique   @URLhttp://javaboutique.internet.com/   @MSGThis is one of my favorite places to look for applets and   Java news. They were also kind enough to judge this thing was   good enough to win a contest!   @END   # Long headline   @HEADThis is an incredibly long headline. It's doubtful that   you would want to do this, but the capability is there.   @MSGOkay?   @END   # The End   @HEADThe End   @MSGThis is the last message. As soon as it's scrolled off,   everything starts over again.   @END

立即下载

返回顶部】 【打印本页】 【关闭窗口

关于我们 / 给我留言 / 版权举报 / 意见建议 / 网站编程QQ群   
Copyright ©2003- 2024 Lihuasoft.net webmaster(at)lihuasoft.net 加载时间 0.00237