[原創]php+ajax實現類比Win檔案管理系統十一

來源:互聯網
上載者:User

function hidden(){


  var obj = document.getElementById(\'Layer1\');


  obj.style.display=\'none\';


  }


 function myMenuShow(obj,btn,past)


 {


 document.getElementById("subMenu").innerHTML="<li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"Createfolder();\\" >建立檔案夾</li><li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"CreateText();\\" >建立文字檔</li><hr> <li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"return Copy(\'"+btn+"\',\'s\')\\">複  制</li><li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"return Copy(\'"+btn+"\',\'c\')\\">剪 切</li><li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"return Past(\'filepath\',\'"+past+"\')\\">粘  貼</li> <hr><li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"del(\'"+btn+"\');\\">刪 除</li> <hr><li onMouseOver=\\"this.style.backgroundColor=\'#F5FBFF\'\\" onMouseOut=\\"this.style.backgroundColor=\'\'\\" onclick=\\"alert(\'你單擊檔案名稱就可重新命名!\');\\" >重新命名</li><br/>";


 ShowMenu(obj,0,0);


 return false;


 }


 document.onmousemove=hiddenSubMenu;


 attachEvent(\'onload\', loadsubMenu);// JavaScript Document

最後面就是調用函數,

再此檔案管理系統也就寫完了,希望能給各位有點協助,也同時希望各位高手指點,本系統還有很多地方待修改提高了,

 下載地下:php+ajax源碼

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.