邮件订阅
5ucms培训,对WebUI技术感兴趣的说
作者: 来源: 日期:2015/10/13 5:20:12 浏览量:77(滞后) 人气:LOADING...(实时) 【

5ucms培训,对WebUI技术感兴趣的说

Not(Not pleased by external gains, Not saddened by pers>UI程序的程序那样Bindows
 

获取 

看看用http://i-see/bindows/documentati>
label.setPadding(5);
The Applicati>All applicati>Creating the Applicati>>// define c>functi>   var label = new BiLabel("Hello World");

   label.setPadding(5);

   applicati>}

 

// define static main method

HelloWorld.main = functi>   new HelloWorld();

};

Creating the XML

The above JavaScript code needs to be located inside a script block in the Applicati><?xml versi?>

 

<applicati>   <window capti width="300" height="200"/>

   <resources>

      <script><![CDATA[

 

// define c>functi>   var label = new BiLabel("Hello World");

   label.setPadding(5);

   applicati>}

 

// define static main method

HelloWorld.main = functi>   new HelloWorld();

};

 

      ]]></script>

   </resources>

</applicati>View this XML file in your browser

The XML above c>Launching the Applicati>We have now defined everything that is needed for a simple applicati>Using the Launcher Script

The easiest way to do this is most likely to use the bilauncher.js file provided in the html/js/ directory. This file provides a functi><script type="text/javascript"

   src="http://www.dedecms.com/web-art/htmlbase/html/js/bilauncher.js"></script>

Then you can call the biExec functi>biExec(''../../html'', ''HelloWorld.xml'');

The first argument points to the root directory of the Bindows™ toolkit (relative URI) and the sec>To create a link that calls this use the following:

<a href="http://www.dedecms.com/web-art/htmlbase/Javascript/20041008/#" F>Launch HelloWorld.xml

Troubleshooting

The locati>If you get an error message saying "File not found" then the path to the ADF is not correct. The path to the ADF is relative to the current page. You can also use an absolute URL for this.

If a new window is opened but saying "The page cannot be displayed" the path to the Bindows system root is incorrect. The path to the Bindows system root is relative to the current page. You can also use an absolute path if you find these more c>The paths given in the examples >Create a new HTML file

When you are using the launcher described above the browser will navigate to html/bimain.html and then load the ADF. You can also create a new HTML page and start your ADF from that. The main reas><!-- Back Compat -->

 

<html xmlns:v>

<head>

<title>Hello World</title>

<meta http-equiv="C>

<meta http-equiv="MsThemeCompatible" c>

<link type="text/css" rel="StyleSheet" href="http://www.dedecms.com/web-art/htmlbase/html/css/bimain.css">

<script type="text/javascript"

   src="http://www.dedecms.com/web-art/htmlbase/html/js/applicati></head>

<body>

 

<script type="text/javascript">applicati>   "HelloWorld.xml");</script>

 

</body>

</html>

View this HTML file in your browser

The first argument to applicati>Troubleshooting

>If you get several errors saying "Error loading file" and then the file names make sure that the first argument to applicati>If you get an error saying "Error loading ADF" then the ADF XML file could not be found using the path relative the current page. Make sure that the path to the XML is correct (giving the locati> 

如果你也和我一样对此激动不已,那我再告诉你一个网址:技术的朋友别告诉我你不知道它!


无忧CMS,5ucms.org建站仿站首选!

本站推荐: 5ucms模板下载 5ucms插件下载 仿站联系Q3876307       [复制给好友] [打印] [关闭] [返回] [顶部]
上一篇:5ucms培训,Dhtml:浏览大图时鼠标感应控制层滚动条的移动
下一篇:5ucms插件,Dhtml:用ondrag事件简单的实现鼠标拖动物件.
本站声明:本网站所载文章等内容,目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权及其它问题,请在30日内与本网联系(Email:3876307#qq.com),我们将在第一时间删除内容。若原创内容转载请注明出处。
5ucms培训,对WebUI技术感兴趣的说的关键词:
评论信息
相关分类
本周热门
本月热门
关于我们 - 版权/免责 申明 - 建站服务 - 网站地图 - 稿件投递 - 联系我们 - 5ucms
Copyright © 2008-2015 www.5ucms.org