这段时间学习下linux,觉得linux的多桌面不错,于是顺便用js实现一个,虽说不知道有什么用,就当玩玩。

PS:颜色的设定没有考虑,桌面多了颜色就会出错。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
*{ margin: 0; padding: 0;}
html,body{ height: 100%;}
#wrap{ position: relative; width: 100%; height: 100%; overflow: hidden;}
ul{ list-style: none;}
#desktop_set{ z-index: 100; position: fixed; _position: absolute; top:0; right: 0; height: 30px; opacity: 0.7;}
#desktop_nav li{ float: left; width: 120px; height: 30px; margin-bottom: 1px; background: #ff8c00; cursor: pointer;}
#desktop_list{ position: absolute; top:0; left: 0; width: 100%; height: 100%;}
.desktop_item{ position: absolute; width: 100%; height: 100%; color: #fff; font-size: 100px; overflow: hidden}
</style>
</head>
<body>
<div >var i = 0,len = queen.length; i< len; i++){
clearTimeout(queen[i]);
}
changeDesk(desktop_list,t.row,t.col);
}
}
</script>
</body>
</html>



相关文章:

  • 2021-12-22
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2021-12-13
  • 2021-09-04
猜你喜欢
  • 2021-11-04
  • 2021-12-08
  • 2021-10-21
  • 2022-12-23
  • 2021-11-22
  • 2021-12-03
相关资源
相似解决方案