'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'超懸浮系統(tǒng).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'for suspension (包含67個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'IGES (包含1個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'Assem2.IGS (19159KB)', },{ id:'0000100002', pId:'00001', name:'reanderings (包含10個(gè)文件)', },{ id:'000010000200001', pId:'0000100002', name:'1233.JPG (164KB)', click:'getBookinfo(8572603)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'45662.JPG (1082KB)', click:'getBookinfo(8572604)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'58456.JPG (234KB)', click:'getBookinfo(8572605)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'aaa.JPG (194KB)', click:'getBookinfo(8572606)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'assd.JPG (124KB)', click:'getBookinfo(8572607)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'dfg46.JPG (959KB)', click:'getBookinfo(8572608)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'FRONT2.JPG (779KB)', click:'getBookinfo(8572609)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'g1.JPG (1044KB)', click:'getBookinfo(8572610)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200009', pId:'0000100002', name:'preview.JPG (177KB)', click:'getBookinfo(8572611)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200010', pId:'0000100002', name:'REAR.JPG (718KB)', click:'getBookinfo(8572612)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'SLDPRT (包含13個(gè)文件)', },{ id:'000010000300001', pId:'0000100003', name:'3_4-Heim_60645K181.SLDPRT (235KB)', },{ id:'000010000300002', pId:'0000100003', name:'A arms.SLDPRT (1229KB)', },{ id:'000010000300003', pId:'0000100003', name:'Assem2.SLDASM (1705KB)', },{ id:'000010000300004', pId:'0000100003', name:'disk.SLDPRT (180KB)', },{ id:'000010000300005', pId:'0000100003', name:'front push rod.SLDPRT (31KB)', },{ id:'000010000300006', pId:'0000100003', name:'front rock.SLDPRT (97KB)', },{ id:'000010000300007', pId:'0000100003', name:'Hub.sldprt (129KB)', },{ id:'000010000300008', pId:'0000100003', name:'knuckle left.SLDPRT (276KB)', },{ id:'000010000300009', pId:'0000100003', name:'knuckle right.SLDPRT (340KB)', },{ id:'000010000300010', pId:'0000100003', name:'maruti 800 tyre.SLDPRT (1636KB)', },{ id:'000010000300011', pId:'0000100003', name:'rear push rod 2.SLDPRT (59KB)', },{ id:'000010000300012', pId:'0000100003', name:'rear rock.SLDPRT (81KB)', },{ id:'000010000300013', pId:'0000100003', name:'spring.SLDPRT (584KB)', },{ id:'0000100004', pId:'00001', name:'STL (包含39個(gè)文件)', },{ id:'000010000400001', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-1.STL (169KB)', },{ id:'000010000400002', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-10.STL (169KB)', },{ id:'000010000400003', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-11.STL (169KB)', },{ id:'000010000400004', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-12.STL (169KB)', },{ id:'000010000400005', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-13.STL (169KB)', },{ id:'000010000400006', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-14.STL (169KB)', },{ id:'000010000400007', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-15.STL (169KB)', },{ id:'000010000400008', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-16.STL (169KB)', },{ id:'000010000400009', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-2.STL (169KB)', },{ id:'000010000400010', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-3.STL (169KB)', },{ id:'000010000400011', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-4.STL (169KB)', },{ id:'000010000400012', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-5.STL (169KB)', },{ id:'000010000400013', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-6.STL (169KB)', },{ id:'000010000400014', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-7.STL (169KB)', },{ id:'000010000400015', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-8.STL (169KB)', },{ id:'000010000400016', pId:'0000100004', name:'Assem2 - 3_4-Heim_60645K181-9.STL (169KB)', },{ id:'000010000400017', pId:'0000100004', name:'Assem2 - A arms-1.STL (1370KB)', },{ id:'000010000400018', pId:'0000100004', name:'Assem2 - front push rod-1.STL (14KB)', },{ id:'000010000400019', pId:'0000100004', name:'Assem2 - front push rod-2.STL (14KB)', },{ id:'000010000400020', pId:'0000100004', name:'Assem2 - front rock-1.STL (62KB)', },{ id:'000010000400021', pId:'0000100004', name:'Assem2 - front rock-2.STL (62KB)', },{ id:'000010000400022', pId:'0000100004', name:'Assem2 - Hub-1.STL (129KB)', },{ id:'000010000400023', pId:'0000100004', name:'Assem2 - Hub-2.STL (129KB)', },{ id:'000010000400024', pId:'0000100004', name:'Assem2 - knuckle left-1.STL (143KB)', },{ id:'000010000400025', pId:'0000100004', name:'Assem2 - knuckle left-2.STL (143KB)', },{ id:'000010000400026', pId:'0000100004', name:'Assem2 - knuckle right-1.STL (143KB)', },{ id:'000010000400027', pId:'0000100004', name:'Assem2 - knuckle right-2.STL (143KB)', },{ id:'000010000400028', pId:'0000100004', name:'Assem2 - maruti 800 tyre-1.STL (1815KB)', },{ id:'000010000400029', pId:'0000100004', name:'Assem2 - maruti 800 tyre-2.STL (1815KB)', },{ id:'000010000400030', pId:'0000100004', name:'Assem2 - maruti 800 tyre-3.STL (1815KB)', },{ id:'000010000400031', pId:'0000100004', name:'Assem2 - maruti 800 tyre-5.STL (1815KB)', },{ id:'000010000400032', pId:'0000100004', name:'Assem2 - rear push rod 2-1.STL (14KB)', },{ id:'000010000400033', pId:'0000100004', name:'Assem2 - rear push rod 2-2.STL (14KB)', },{ id:'000010000400034', pId:'0000100004', name:'Assem2 - rear rock-1.STL (61KB)', },{ id:'000010000400035', pId:'0000100004', name:'Assem2 - rear rock-2.STL (61KB)', },{ id:'000010000400036', pId:'0000100004', name:'Assem2 - spring-1.STL (2167KB)', },{ id:'000010000400037', pId:'0000100004', name:'Assem2 - spring-2.STL (2167KB)', },{ id:'000010000400038', pId:'0000100004', name:'Assem2 - spring-3.STL (2167KB)', },{ id:'000010000400039', pId:'0000100004', name:'Assem2 - spring-4.STL (2167KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'超懸浮系統(tǒng).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'1233.JPG',url:'http://www.nydnatest.com/p-8572603.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'45662.JPG',url:'http://www.nydnatest.com/p-8572604.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'58456.JPG',url:'http://www.nydnatest.com/p-8572605.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'aaa.JPG',url:'http://www.nydnatest.com/p-8572606.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'assd.JPG',url:'http://www.nydnatest.com/p-8572607.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'dfg46.JPG',url:'http://www.nydnatest.com/p-8572608.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'FRONT2.JPG',url:'http://www.nydnatest.com/p-8572609.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'g1.JPG',url:'http://www.nydnatest.com/p-8572610.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'preview.JPG',url:'http://www.nydnatest.com/p-8572611.html', target:'_blank' },{ id:'000010000200010', pId:'0000100002', name:'REAR.JPG',url:'http://www.nydnatest.com/p-8572612.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7267369'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });