'; } $("#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:'Multi Plate Clitch (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'601.swd.SLDPRT (179KB)', },{ id:'0000100002', pId:'00001', name:'6010.SLDPRT (97KB)', },{ id:'0000100003', pId:'00001', name:'6011.SLDPRT (98KB)', },{ id:'0000100004', pId:'00001', name:'6012.SLDPRT (86KB)', },{ id:'0000100005', pId:'00001', name:'6013.SLDPRT (150KB)', },{ id:'0000100006', pId:'00001', name:'6014.SLDPRT (83KB)', },{ id:'0000100007', pId:'00001', name:'6015.SLDPRT (61KB)', },{ id:'0000100008', pId:'00001', name:'6016.SLDPRT (70KB)', },{ id:'0000100009', pId:'00001', name:'6017.SLDPRT (75KB)', },{ id:'0000100010', pId:'00001', name:'602.SLDPRT (80KB)', },{ id:'0000100011', pId:'00001', name:'603.SLDPRT (88KB)', },{ id:'0000100012', pId:'00001', name:'604.SLDPRT (120KB)', },{ id:'0000100013', pId:'00001', name:'605.SLDPRT (76KB)', },{ id:'0000100014', pId:'00001', name:'606.SLDPRT (126KB)', },{ id:'0000100015', pId:'00001', name:'607.SLDPRT (203KB)', },{ id:'0000100016', pId:'00001', name:'608.SLDPRT (109KB)', },{ id:'0000100017', pId:'00001', name:'609.SLDPRT (119KB)', },{ id:'0000100018', pId:'00001', name:'Ass EXP.SLDASM (378KB)', },{ id:'0000100019', pId:'00001', name:'Ass.PDF (705KB)', click:'getBookinfo(8233085)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100020', pId:'00001', name:'Ass.SLDASM (355KB)', },{ id:'0000100021', pId:'00001', name:'Ass.SLDDRW (950KB)', },{ id:'0000100022', pId:'00001', name:'Ass.STEP (1466KB)', },{ id:'0000100023', pId:'00001', name:'Multiplate disc Clutch 1.JPG (421KB)', click:'getBookinfo(8233086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'Multiplate disc Clutch 1.pdf (260KB)', click:'getBookinfo(8233087)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100025', pId:'00001', name:'Multiplate disc Clutch 11.JPG (400KB)', click:'getBookinfo(8233088)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多盤離合器.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100019', pId:'00001', name:'Ass.PDF',url:'http://canyonlakefaqs.com/p-8233085.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'Multiplate disc Clutch 1.JPG',url:'http://canyonlakefaqs.com/p-8233086.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'Multiplate disc Clutch 1.pdf',url:'http://canyonlakefaqs.com/p-8233087.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'Multiplate disc Clutch 11.JPG',url:'http://canyonlakefaqs.com/p-8233088.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 = '3730054'; 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; }); });