登录社区:用户名: 密码: 忘记密码 网页功能:加入收藏 设为首页 网站搜索  

文档

下载

图书

论坛

安全

源码

硬件

游戏
首页 信息 空间 VB VC Delphi Java Flash 补丁 控件 安全 黑客 电子书 笔记本 手机 MP3 杀毒 QQ群 产品库 分类信息 编程网站
 内容搜索 网页 下载 源代码
最新源码
  JAVA 版MPEG播放器
  扫雷(java)
  汉诺塔自动演示
  小程序中动画及音乐多线程..
  背景声音applet小程序
  用Java编写的小时钟
  闪烁文本显示的JAVA Applet
  画圆弧的JAVA Applet
  书架导航JAVA小程序
  文本滚动显示Java小程序
  最简单的发声Java小程序
  新闻滚动播出Java小程序
热点源码
  计算器Java小程序
  JAVA 版MPEG播放器
  用Java编写的小时钟
  扫雷(java)
  拼图游戏小程序
  汉诺塔自动演示
  用Java编写的UFO攻击小游戏
  文本滚动显示Java小程序
  各种排序方法演示Java小程序
  闪烁文本显示的JAVA Applet
  背景声音applet小程序
  浮动的气泡Java小程序
最新招聘信息

您现在的位置:立华软件园->源码中心->Java代码
新闻滚动播出Java小程序
发表日期:2004-07-04文件大小:25KB 下载次数:5229  

源代码说明:
[程序语言] 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

立即下载

我来说两句】 【发送给朋友】 【加入收藏】 【返加顶部】 【打印本页】 【关闭窗口
中搜索 新闻滚动播出Java小程序
关于我们 / 合作推广 / 给我留言 / 版权举报 / 意见建议 / 广告投放 / 友情链接

Copyright ©2001-2003 Allrights reserved
e_mail:站长:webmaster(at)lihuasoft.net
网站编程QQ群  
京ICP备05001064号

页面生成时间:0.0026