'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'直線導(dǎo)軌.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'XY_axis (包含28個文件)', },{ id:'0000100001', pId:'00001', name:'17HS13-0404S_V6.SLDASM (602KB)', },{ id:'0000100002', pId:'00001', name:'2020_end_cap.SLDPRT (241KB)', },{ id:'0000100003', pId:'00001', name:'2020_pul_mount.SLDPRT (446KB)', },{ id:'0000100004', pId:'00001', name:'2020_sm_mount.SLDPRT (451KB)', },{ id:'0000100005', pId:'00001', name:'continous stud_am____.sldprt (693KB)', },{ id:'0000100006', pId:'00001', name:'countersunk flat head cross recess screw_din.sldprt (3977KB)', },{ id:'0000100007', pId:'00001', name:'e-ring external retaining ring_am_.sldprt (397KB)', },{ id:'0000100008', pId:'00001', name:'GT2_20tooth_V6.SLDPRT (625KB)', },{ id:'0000100009', pId:'00001', name:'GT2_760_V6.SLDPRT (4512KB)', },{ id:'0000100010', pId:'00001', name:'hex nut style 1_am.sldprt (969KB)', },{ id:'0000100011', pId:'00001', name:'MGN12-H.SLDPRT (1034KB)', },{ id:'0000100012', pId:'00001', name:'mgn12h_hotbed_mount.SLDPRT (507KB)', },{ id:'0000100013', pId:'00001', name:'MGN12_300_V6.SLDPRT (271KB)', },{ id:'0000100014', pId:'00001', name:'nema17_bottom_33mm_V6.SLDPRT (342KB)', },{ id:'0000100015', pId:'00001', name:'nema17_middle_33mm_V6.SLDPRT (247KB)', },{ id:'0000100016', pId:'00001', name:'nema17_shaft_33mm_V6.SLDPRT (188KB)', },{ id:'0000100017', pId:'00001', name:'nema17_top_33mm_V6.SLDPRT (388KB)', },{ id:'0000100018', pId:'00001', name:'pan head cross recess screw_din.sldprt (4203KB)', },{ id:'0000100019', pId:'00001', name:'plain washer 6902 type abc_din.sldprt (407KB)', },{ id:'0000100020', pId:'00001', name:'plain washer large_din.sldprt (569KB)', },{ id:'0000100021', pId:'00001', name:'Profile_2020.SLDPRT (282KB)', },{ id:'0000100022', pId:'00001', name:'radial ball bearing_68_din.sldprt (1168KB)', },{ id:'0000100023', pId:'00001', name:'rail_nut_2020.SLDPRT (273KB)', },{ id:'0000100024', pId:'00001', name:'socket button head cap screw_am.sldprt (1685KB)', },{ id:'0000100025', pId:'00001', name:'SS-5GL_microswitch.SLDPRT (431KB)', },{ id:'0000100026', pId:'00001', name:'sw_cover.SLDPRT (330KB)', },{ id:'0000100027', pId:'00001', name:'sw_mount.SLDPRT (346KB)', },{ id:'0000100028', pId:'00001', name:'x_y_axis.SLDASM (1920KB)', },{ id:'00002', pId:'1', name:'1.JPG (398KB)', click:'getBookinfo(8233846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'2.JPG (427KB)', click:'getBookinfo(8233847)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'3.JPG (372KB)', click:'getBookinfo(8233848)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'4.JPG (443KB)', click:'getBookinfo(8233849)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'5.JPG (441KB)', click:'getBookinfo(8233850)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'直線導(dǎo)軌.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'1.JPG',url:'http://canyonlakefaqs.com/p-8233846.html', target:'_blank' },{ id:'00003', pId:'1', name:'2.JPG',url:'http://canyonlakefaqs.com/p-8233847.html', target:'_blank' },{ id:'00004', pId:'1', name:'3.JPG',url:'http://canyonlakefaqs.com/p-8233848.html', target:'_blank' },{ id:'00005', pId:'1', name:'4.JPG',url:'http://canyonlakefaqs.com/p-8233849.html', target:'_blank' },{ id:'00006', pId:'1', name:'5.JPG',url:'http://canyonlakefaqs.com/p-8233850.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 = '3730410'; 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; }); });