09-06
19
09-06
19
09-06
19
09-06
19
仿Window Vista的Web桌面系统
[ Category:不爱学习 | Comments:0 | View:3860 | Cited:0 ]
09-06
19
09-06
19
flash文件批量上传
[ Category:不爱学习 | Comments:0 | View:3737 | Cited:0 ]
选择多个文件上传,显示上传速度,进度条,纯正的FLASH代码,使用的是HTTP协议,所以客户端,服务端都不需要安装任何组件
因为是模仿FORM表单提交,所以支持所有的网页动态语言:ASP PHP ASP.NET JSP等
1.0.6 bate 版
添加了可以删除已上传完成条目参数设置 CompleteClose
添加了FormID 参数设置,每次上传时将注册了ID的表单数据以POST形式发送到服务器
http://down.chinaz.com/upload/2009/4/1/2009040152014009.jpg
来源网络
因为是模仿FORM表单提交,所以支持所有的网页动态语言:ASP PHP ASP.NET JSP等
1.0.6 bate 版
添加了可以删除已上传完成条目参数设置 CompleteClose
添加了FormID 参数设置,每次上传时将注册了ID的表单数据以POST形式发送到服务器
http://down.chinaz.com/upload/2009/4/1/2009040152014009.jpg
来源网络
09-06
19
<html>
<head>
<title>仿Joyo网站菜单</title>
<script>
var t=setTimeout("null",50);
function $(ye){
ye=document.getElementById(ye);
return ye;
}
function padW(){
var p;
if($("cha").offsetWidth>$("ti").offsetWidth){
p=$("ti").offsetLeft-(($("cha").offsetWidth-$("ti").offsetWidth)/2);
}
else{
p=$("ti").offsetLeft+(($("ti").offsetWidth-$("cha").offsetWidth)/2);
}
return p;
}
function padH(){
var s;
s=$("ti").offsetTop+$("ti").offsetHeight-3;
return s;
}
function showDiv(){
$("cha").style.display='block';
}
function hideDiv(){
$("cha").style.display='none';
}
</script>
<script for=window event=onload>
var w=padW(),h=padH();
with($("cha")){
style.display='none';
style.pixelLeft=w;
style.pixelTop=h;
}
</script>
<style type="text/css">
#cha{
position:absolute;
width:300px;
left:-1000px;
top:-1000px;
border:2px solid #cccccc;
background:orange;FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=green,endColorStr=gold);
}
a:link{
text-decoration:none;
color:black;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
a:visited{
text-decoration:none;
color:blue;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
a:hover{
text-decoration:underline;
color:red;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
#main{
position:absolute;left:250px;top:100px;
}
</style>
</head>
<body>
<div onmouseover=showDiv() onmouseout=hideDiv() style="border:1px solid red"
id=main>
<div id="cha" name="cha">
<table>
<tr><td><a href="http://www.it365cn.com">织梦乱弹</a></td><td
width="40"> </td><td><a href="http://www.smallrain.net">小雨</a></td></tr>
<tr><td><a href="http://yexj00.5dm.cn/">Yexj00's Blog</a></td><td
width="40"> </td><td><a href="http://www.W3pop.com">w3pop</a></td></tr>
<tr><td><a href="http://www.blueIdea.com">蓝色理想</a></td><td
width="40"> </td><td><a href="http://www.mysheji.com/blog/">设计前沿
</a></td></tr>
<tr><td><a href="http://www.cnbruce.com/">布鲁斯狼</a></td><td
width="40"> </td><td><a href="http://www.webjx.com/">网页教学</a></td></tr>
</table>
</div>
<span style="cursor:hand;" id="ti" onmouseover=showDiv() onmouseout="hideDiv()">
每天常去的网站</span><br>
</div>
</body>
</html>
<head>
<title>仿Joyo网站菜单</title>
<script>
var t=setTimeout("null",50);
function $(ye){
ye=document.getElementById(ye);
return ye;
}
function padW(){
var p;
if($("cha").offsetWidth>$("ti").offsetWidth){
p=$("ti").offsetLeft-(($("cha").offsetWidth-$("ti").offsetWidth)/2);
}
else{
p=$("ti").offsetLeft+(($("ti").offsetWidth-$("cha").offsetWidth)/2);
}
return p;
}
function padH(){
var s;
s=$("ti").offsetTop+$("ti").offsetHeight-3;
return s;
}
function showDiv(){
$("cha").style.display='block';
}
function hideDiv(){
$("cha").style.display='none';
}
</script>
<script for=window event=onload>
var w=padW(),h=padH();
with($("cha")){
style.display='none';
style.pixelLeft=w;
style.pixelTop=h;
}
</script>
<style type="text/css">
#cha{
position:absolute;
width:300px;
left:-1000px;
top:-1000px;
border:2px solid #cccccc;
background:orange;FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=green,endColorStr=gold);
}
a:link{
text-decoration:none;
color:black;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
a:visited{
text-decoration:none;
color:blue;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
a:hover{
text-decoration:underline;
color:red;
font:normal small-caps bold 12px/140% "Lucida Grande",sans-serif;
}
#main{
position:absolute;left:250px;top:100px;
}
</style>
</head>
<body>
<div onmouseover=showDiv() onmouseout=hideDiv() style="border:1px solid red"
id=main>
<div id="cha" name="cha">
<table>
<tr><td><a href="http://www.it365cn.com">织梦乱弹</a></td><td
width="40"> </td><td><a href="http://www.smallrain.net">小雨</a></td></tr>
<tr><td><a href="http://yexj00.5dm.cn/">Yexj00's Blog</a></td><td
width="40"> </td><td><a href="http://www.W3pop.com">w3pop</a></td></tr>
<tr><td><a href="http://www.blueIdea.com">蓝色理想</a></td><td
width="40"> </td><td><a href="http://www.mysheji.com/blog/">设计前沿
</a></td></tr>
<tr><td><a href="http://www.cnbruce.com/">布鲁斯狼</a></td><td
width="40"> </td><td><a href="http://www.webjx.com/">网页教学</a></td></tr>
</table>
</div>
<span style="cursor:hand;" id="ti" onmouseover=showDiv() onmouseout="hideDiv()">
每天常去的网站</span><br>
</div>
</body>
</html>



