精彩专题推荐:建站之入门课 建站之必修课 建站之关键课 网站价值所在 流量提高专题 css+div 标准 个人网站打造全过程
返回建站学首页
导航:
建站首页 | 网站设计 | 网站开发 | 网站运营 | 网页软件 | 建站指南 | 搜索优化 | 图像处理 | 视频教程 | 书籍教程 | 建站专题
当前位置:首页>网站开发>ajax教程>正文

ajax开发工具bindows使用指南:Splash Screen


来源: 时间:07-01-01 点击: 点击这里收藏本文

从 Bindows 0.96 版开始,你便可以修改应用程序载入时的 Splash Screen 了。

Splash Screen 包含了三个不同的部分:HtmlStatusTextProgressBar

<SplashScreen>
   <Html>Well formed XHTML</Html>
   <StatusText/>
   <ProgressBar/>
</SplashScreen>

这些元素中的每一个都可以包含一个 style 属性以包含用于各个元素呈现其所在部分的 CSS 属性。那,例如想要隐藏 Splash Screen,你可以设置 display 为 none。

<SplashScreen style="display: none"/>

一个更加复杂的 Splash Screen 可以通过使用边框、颜色以及一些 HTML 来实现,例如下面的这个 ADF:

<application>
 
   <window caption="Splash Screen Test" width="600" 
height="480"/>
  <SplashScreen style="height: 110px; width: 200px;
border: 10px solid navy; color: navy; background: white;"
>
<Html style="width: 160px; left: 10px; top: 10px; ">
<h1 style="margin: 0; font-size: 25px;">Hello World</h1></Html> <StatusText style="width: 160px; color: navy;
left: 10px; top: 45px;"
/>
<ProgressBar style="width: 160px; border: 1px solid navy;
left: 10px; top: 60px; "
/>
</SplashScreen>   <Resources> <Script><![CDATA[   function SplashScreen() {} SplashScreen.main = function () { new SplashScreen; };   // we want to raise an error here to keep the splash visible throw "Intentional error";   ]]></Script> </Resources> </application>

 

通过这个思想,你可以很容易的添加一幅图像或者任何可以在浏览器中显示的其他东西作为 Splash Screen。


  把此文章收藏到:          
广而告之
文章搜索
  • Google JZxue.Com

关于我们 | 联系我们 | 友情链接 | 网站地图
Copyright © 2005 - 2006 建站学 All rights reserved.