try{ _RequestArray=_urlrequest.split('&'); if (_RequestArray[0]=='')_RequestArray=new Array(); for (i=0;i<_RequestArray.length;i++){ if (_RequestArray[i].indexOf('=')>=0){ varname=unescape(_RequestArray[i].substr(0,_RequestArray[i].indexOf('='))); value=unescape(_RequestArray[i].substr(_RequestArray[i].indexOf('=')+1)); } else{ varname=unescape(_RequestArray[i]); value=''; } _RequestArray[i]=new Array(varname,value); } }catch(e){} }function requestSet(varname, value){ var i;
for (i=0;i<_RequestArray.length;i++){ try{ if (_RequestArray[i][0].toLowerCase()==varname.toLowerCase()){ _RequestArray[i][1]=value; return (true); } }catch(e){ return (false); } } try{ _RequestArray[i]=new Array(varname, value); }catch(e){ return (false); } return (true); }function requestGet(){ var i, s=_urlhead;
if (_RequestArray.length>0)s+='?'; for (i=0;i<_RequestArray.length;i++){ try{ s+=escape(_RequestArray[i][0])+'='+escape(_RequestArray[i][1])+(i<_RequestArray.length-1?'&':''); }catch(e){} } return s; }function request(varname){ var i;
for (i=0;i<_RequestArray.length;i++){ try{ if (_RequestArray[i][0].toLowerCase()==varname.toLowerCase())return _RequestArray[i][1]; }catch(e){} } return ''; }requestReset();function ExitApp() { try { var netbox = new ActiveXObject("NetBox"); external.close(); } catch(e) { window.close(); } }function cbMain(ifrid, fun, data) { if (fun=="end" && data==0) docData("Logoff", zydataRead()); if (fun=="close") setTimeout('ExitApp()',0); }var bLogon = false, startCache, stopCache;function cbCache(ifrid, msg, data) { if (msg=="CacheControl") { startCache = data[0]; stopCache = data[1]; startCache(); } if (msg=="end") startCache = stopCache = false; }function cbLogon(ifrid, fun, data) { if (fun=="StartCache") { docModule(main, "Cache", 0, cbCache); }
http://www.netbox.cn/default.htm
我有bindows的源码和API 使用说明
bindows很慢的
js的
演示地址:(含有源码)
http://218.68.240.159:4567/dindows/samples/applauncher/index.html
只限一天
用户:1
密码:1
注意:双击左边的.XML 可以有运行效果 单击只出现代码 注意是双击
不要用MyIE2
或同时打开多个实例 IE容易死
ComboBoxText.Xml
就会出现 搂住要求的
:内面的主窗口嵌套子窗口
记得有个网友曾经有过说要实现
登陆的progressbar 这里也有
用它还可以实现 javawebstart 里的swingset 里的很多功能
呵呵
谁让人家跨平台阿
慢是js的通病
留下E-Mail的可以获得部分源码(我也不选)
好慢阿
The page cannot be displayed...
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function genString(s, n)
{
var a = new Array();
for (var i=0;i<n;i++)
a[a.length] = s;
return a.join("");
}
document.write("<title>e商2003 - 北京综艺达软件技术有限公司"+genString(" ", 200)+"</title>");
</script>
</HEAD>
<BODY onselectstart="return false;" ondragstart="return false;" oncontextmenu="return false;" bottommargin="0" topmargin="0" rightmargin="0" leftmargin="0" scroll="no">
<IFRAME id=main width="100%" height="100%" noresize frameborder="0" framespacing="0" marginheight="0" marginwidth="0" src="about:blank"></IFRAME>
</BODY>
<OBJECT classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" onreadystatechange="if (this.readyState==4) this.Click();"><PARAM name="Command" value="Maximize"></OBJECT>
<SCRIPT src="/client/netpower2.js"></SCRIPT>
<SCRIPT>
_root = location.pathname;
_root = _root.substr(0, _root.lastIndexOf("/"));
_serveroot = window.location.protocol+'//'+window.location.host+_root;var _urlhead=document.URL.split("?")[0],
_urlrequest=document.URL.substr(_urlhead.length+1),
_RequestArray, _testUndefine;function requestReset(){
var i,j;
try{
_RequestArray=_urlrequest.split('&');
if (_RequestArray[0]=='')_RequestArray=new Array();
for (i=0;i<_RequestArray.length;i++){
if (_RequestArray[i].indexOf('=')>=0){
varname=unescape(_RequestArray[i].substr(0,_RequestArray[i].indexOf('=')));
value=unescape(_RequestArray[i].substr(_RequestArray[i].indexOf('=')+1));
}
else{
varname=unescape(_RequestArray[i]);
value='';
}
_RequestArray[i]=new Array(varname,value);
}
}catch(e){}
}function requestSet(varname, value){
var i;
for (i=0;i<_RequestArray.length;i++){
try{
if (_RequestArray[i][0].toLowerCase()==varname.toLowerCase()){
_RequestArray[i][1]=value;
return (true);
}
}catch(e){
return (false);
}
}
try{
_RequestArray[i]=new Array(varname, value);
}catch(e){
return (false);
}
return (true);
}function requestGet(){
var i, s=_urlhead;
if (_RequestArray.length>0)s+='?';
for (i=0;i<_RequestArray.length;i++){
try{
s+=escape(_RequestArray[i][0])+'='+escape(_RequestArray[i][1])+(i<_RequestArray.length-1?'&':'');
}catch(e){}
}
return s;
}function request(varname){
var i;
for (i=0;i<_RequestArray.length;i++){
try{
if (_RequestArray[i][0].toLowerCase()==varname.toLowerCase())return _RequestArray[i][1];
}catch(e){}
}
return '';
}requestReset();function ExitApp()
{
try
{
var netbox = new ActiveXObject("NetBox");
external.close();
}
catch(e)
{
window.close();
}
}function cbMain(ifrid, fun, data)
{
if (fun=="end" && data==0)
docData("Logoff", zydataRead()); if (fun=="close")
setTimeout('ExitApp()',0);
}var bLogon = false, startCache, stopCache;function cbCache(ifrid, msg, data)
{
if (msg=="CacheControl")
{
startCache = data[0];
stopCache = data[1];
startCache();
}
if (msg=="end")
startCache = stopCache = false;
}function cbLogon(ifrid, fun, data)
{
if (fun=="StartCache")
{
docModule(main, "Cache", 0, cbCache);
}
if (fun=="StopCache")
{
if (stopCache) stopCache();
} if (fun=='Logon')
bLogon = true; if (fun=='end' && !bLogon)
setTimeout('ExitApp()',0); if (fun=='end' && bLogon)
setTimeout("docModule(main, 'ConceptUI', zydataRead(), cbMain);", 100);
}main.document.open();
main.document.write("<html><body bgcolor=#EDEEE6 scroll=no></body></html>");
main.document.close();var param = zydataRead();
param("username") = request("username");
param("password") = request("password");
docModule_ModalDialog("dialogHeight: 248px; dialogWidth: 417px; edge: Raised; center: Yes; help: No; resizable: no; status: No;scroll:no",'Logon',param,cbLogon);
</SCRIPT>
</HTML>
<script>var alinks = new Array(
"demo",
"demo1",
"demo2",
"demo3",
"demo4",
"demo5",
"demo6",
"demo7",
"demo8",
"demo9",
"demo10",
"demo11",
"demo12",
"demo13",
"demo14",
"demo15",
"demo16",
"demo17",
"demo18",
"demo19"
);var i=new Date().valueOf()%alinks.length;
open("UI.htm?username="+alinks[i]+"&password=", "_blank", "width=800,height=560,fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1");
window.close();</script>
谢谢
多谢,我也想多学习。
看看这个www.linzheng.net可以给你原码
能不能也给我一份,谢谢!
[email protected]
这样SB的东西研究他干什么