'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'惠普筆記本電腦.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'11.JPG (1083KB)', click:'getBookinfo(8531354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'Assemblage1.SLDASM (2601KB)', },{ id:'00003', pId:'1', name:'Capt444ure.PNG (72KB)', click:'getBookinfo(8531355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'Capture.PNG (220KB)', click:'getBookinfo(8531356)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'Capture111.PNG (322KB)', click:'getBookinfo(8531357)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'Capture2.PNG (18KB)', click:'getBookinfo(8531358)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'Capture4.PNG (45KB)', click:'getBookinfo(8531359)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'Capture444.PNG (79KB)', click:'getBookinfo(8531360)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'Capture55.PNG (51KB)', click:'getBookinfo(8531361)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'Capture6.PNG (31KB)', click:'getBookinfo(8531362)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'Capture7.PNG (39KB)', click:'getBookinfo(8531363)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'Capture777.PNG (79KB)', click:'getBookinfo(8531364)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'Capture8.PNG (34KB)', click:'getBookinfo(8531365)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'Capture88.PNG (65KB)', click:'getBookinfo(8531366)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'Capture99.PNG (121KB)', click:'getBookinfo(8531367)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'Pièce1.SLDPRT (17262KB)', },{ id:'00017', pId:'1', name:'Pièce2.SLDPRT (3397KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'惠普筆記本電腦.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'11.JPG',url:'http://facezit.com/p-8531354.html', target:'_blank' },{ id:'00003', pId:'1', name:'Capt444ure.PNG',url:'http://facezit.com/p-8531355.html', target:'_blank' },{ id:'00004', pId:'1', name:'Capture.PNG',url:'http://facezit.com/p-8531356.html', target:'_blank' },{ id:'00005', pId:'1', name:'Capture111.PNG',url:'http://facezit.com/p-8531357.html', target:'_blank' },{ id:'00006', pId:'1', name:'Capture2.PNG',url:'http://facezit.com/p-8531358.html', target:'_blank' },{ id:'00007', pId:'1', name:'Capture4.PNG',url:'http://facezit.com/p-8531359.html', target:'_blank' },{ id:'00008', pId:'1', name:'Capture444.PNG',url:'http://facezit.com/p-8531360.html', target:'_blank' },{ id:'00009', pId:'1', name:'Capture55.PNG',url:'http://facezit.com/p-8531361.html', target:'_blank' },{ id:'00010', pId:'1', name:'Capture6.PNG',url:'http://facezit.com/p-8531362.html', target:'_blank' },{ id:'00011', pId:'1', name:'Capture7.PNG',url:'http://facezit.com/p-8531363.html', target:'_blank' },{ id:'00012', pId:'1', name:'Capture777.PNG',url:'http://facezit.com/p-8531364.html', target:'_blank' },{ id:'00013', pId:'1', name:'Capture8.PNG',url:'http://facezit.com/p-8531365.html', target:'_blank' },{ id:'00014', pId:'1', name:'Capture88.PNG',url:'http://facezit.com/p-8531366.html', target:'_blank' },{ id:'00015', pId:'1', name:'Capture99.PNG',url:'http://facezit.com/p-8531367.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7261269'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });