'; } $("#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:'12.png (7489KB)', click:'getBookinfo(8234129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'axel.png (347KB)', click:'getBookinfo(8234130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'axle rod.SLDPRT (68KB)', },{ id:'00004', pId:'1', name:'boom cylinder.png (1198KB)', click:'getBookinfo(8234131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'boom cylinder.SLDPRT (124KB)', },{ id:'00006', pId:'1', name:'boom rod.png (1435KB)', click:'getBookinfo(8234132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'boom rod.SLDPRT (111KB)', },{ id:'00008', pId:'1', name:'boom.png (1456KB)', click:'getBookinfo(8234133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'boom.SLDPRT (149KB)', },{ id:'00010', pId:'1', name:'bucket.png (612KB)', click:'getBookinfo(8234134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'bucket.SLDPRT (464KB)', },{ id:'00012', pId:'1', name:'connecting rod.png (1261KB)', click:'getBookinfo(8234135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'connecting rod.SLDPRT (59KB)', },{ id:'00014', pId:'1', name:'Differential.png (2935KB)', click:'getBookinfo(8234136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'Differential.SLDPRT (333KB)', },{ id:'00016', pId:'1', name:'front body.png (2085KB)', click:'getBookinfo(8234137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'front body.SLDPRT (346KB)', },{ id:'00018', pId:'1', name:'rear body.SLDPRT (3007KB)', },{ id:'00019', pId:'1', name:'rim.SLDPRT (209KB)', },{ id:'00020', pId:'1', name:'rocker arm cylinder.SLDPRT (118KB)', },{ id:'00021', pId:'1', name:'rocker arm rod.SLDPRT (69KB)', },{ id:'00022', pId:'1', name:'rocker arm.SLDPRT (96KB)', },{ id:'00023', pId:'1', name:'screw.SLDPRT (108KB)', },{ id:'00024', pId:'1', name:'sub assembly tyre and axle.SLDASM (349KB)', },{ id:'00025', pId:'1', name:'tyre.png (6345KB)', click:'getBookinfo(8234138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'tyre.SLDPRT (2023KB)', },{ id:'00027', pId:'1', name:'Untitled.png (216KB)', click:'getBookinfo(8234139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00028', pId:'1', name:'uv.SLDASM (179KB)', },{ id:'00029', pId:'1', name:'wheel loader.png (2326KB)', click:'getBookinfo(8234140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00030', pId:'1', name:'wheel loader.SLDASM (1106KB)', },{ id:'00031', pId:'1', name:'wheel loader1.png (1610KB)', click:'getBookinfo(8234141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00032', pId:'1', name:'wheel loader2.png (1709KB)', click:'getBookinfo(8234142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00033', pId:'1', name:'wheel loader3.png (6261KB)', click:'getBookinfo(8234143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00034', pId:'1', name:'wheel loader4.png (6434KB)', click:'getBookinfo(8234144)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'輪式推土機.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'12.png',url:'http://canyonlakefaqs.com/p-8234129.html', target:'_blank' },{ id:'00002', pId:'1', name:'axel.png',url:'http://canyonlakefaqs.com/p-8234130.html', target:'_blank' },{ id:'00004', pId:'1', name:'boom cylinder.png',url:'http://canyonlakefaqs.com/p-8234131.html', target:'_blank' },{ id:'00006', pId:'1', name:'boom rod.png',url:'http://canyonlakefaqs.com/p-8234132.html', target:'_blank' },{ id:'00008', pId:'1', name:'boom.png',url:'http://canyonlakefaqs.com/p-8234133.html', target:'_blank' },{ id:'00010', pId:'1', name:'bucket.png',url:'http://canyonlakefaqs.com/p-8234134.html', target:'_blank' },{ id:'00012', pId:'1', name:'connecting rod.png',url:'http://canyonlakefaqs.com/p-8234135.html', target:'_blank' },{ id:'00014', pId:'1', name:'Differential.png',url:'http://canyonlakefaqs.com/p-8234136.html', target:'_blank' },{ id:'00016', pId:'1', name:'front body.png',url:'http://canyonlakefaqs.com/p-8234137.html', target:'_blank' },{ id:'00025', pId:'1', name:'tyre.png',url:'http://canyonlakefaqs.com/p-8234138.html', target:'_blank' },{ id:'00027', pId:'1', name:'Untitled.png',url:'http://canyonlakefaqs.com/p-8234139.html', target:'_blank' },{ id:'00029', pId:'1', name:'wheel loader.png',url:'http://canyonlakefaqs.com/p-8234140.html', target:'_blank' },{ id:'00031', pId:'1', name:'wheel loader1.png',url:'http://canyonlakefaqs.com/p-8234141.html', target:'_blank' },{ id:'00032', pId:'1', name:'wheel loader2.png',url:'http://canyonlakefaqs.com/p-8234142.html', target:'_blank' },{ id:'00033', pId:'1', name:'wheel loader3.png',url:'http://canyonlakefaqs.com/p-8234143.html', target:'_blank' },{ id:'00034', pId:'1', name:'wheel loader4.png',url:'http://canyonlakefaqs.com/p-8234144.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 = '3730547'; 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; }); });