var brand_list = [ { "link": "/default/best_info/baroque.php", "img_src": "/default/img/sub/business/brand_01_m.jpg", "brand_nm": "바로크" }, { "link": "/default/best_info/benticasa.php", "img_src": "/default/img/sub/business/brand_02_m.jpg", "brand_nm": "벤티&까사" }, { "link": "/default/best_info/jangsu.php", "img_src": "/default/img/sub/business/brand_03_m.jpg", "brand_nm": "장수돌침대" }, { "link": "/default/best_info/caminar.php", "img_src": "/default/img/sub/business/brand_05_m.jpg", "brand_nm": "까미나르" }, { "link": "/default/best_info/hongdae.php", "img_src": "/default/img/sub/business/brand_06_m.jpg", "brand_nm": "홍대디자인가구" }, { "link": "/default/best_info/starwin.php", "img_src": "/default/img/sub/business/brand_07_m.jpg", "brand_nm": "별의창" }, { "link": "/default/best_info/biffac.php", "img_src": "/default/img/sub/business/brand_09_m.jpg", "brand_nm": "팩트디자인&보루네오" }, { "link": "/default/best_info/sealy.php", "img_src": "/default/img/sub/business/brand_10_m.jpg", "brand_nm": "씰리침대" }, { "link": "/default/best_info/mamasion.php", "img_src": "/default/img/sub/business/brand_11_m.jpg", "brand_nm": "마메종" }, { "link": "/default/best_info/tempur.php", "img_src": "/default/img/sub/business/brand_12_m.jpg", "brand_nm": "템퍼" }, { "link": "/default/best_info/sofa279.php", "img_src": "/default/img/sub/business/brand_13_m.jpg", "brand_nm": "소파279" }, { "link": "/default/best_info/sitstay.php", "img_src": "/default/img/sub/business/brand_14_m.jpg", "brand_nm": "싯앤스테이" }, { "link": "/default/best_info/maru.php", "img_src": "/default/img/sub/business/brand_15_m.jpg", "brand_nm": "마루공방" }, { "link": "/default/best_info/nosong.php", "img_src": "/default/img/sub/business/brand_16_m.jpg", "brand_nm": "노송가구" }, { "link": "/default/best_info/gain.php", "img_src": "/default/img/sub/business/brand_17_m.jpg", "brand_nm": "가인리빙" }, { "link": "/default/best_info/rshgall.php", "img_src": "/default/img/sub/business/brand_18_m.jpg", "brand_nm": "류순호갤러리" }, { "link": "/default/best_info/samick.php", "img_src": "/default/img/sub/business/brand_19_m.jpg", "brand_nm": "삼익가구" }, { "link": "/default/best_info/vincent.php", "img_src": "/default/img/sub/business/brand_20_m.jpg", "brand_nm": "빈센트갤러리" }, { "link": "/default/best_info/ace.php", "img_src": "/default/img/sub/business/brand_22_m.jpg", "brand_nm": "에이스" }, { "link": "/default/best_info/linda.php", "img_src": "/default/img/sub/business/brand_23_m.jpg", "brand_nm": "린다데코" }, { "link": "/default/best_info/Joseph.php", "img_src": "/default/img/sub/business/brand_24_m.jpg", "brand_nm": "꿈꾸는요셉" }, { "link": "/default/best_info/lavie.php", "img_src": "/default/img/sub/business/brand_25_m.jpg", "brand_nm": "라비홈" }, { "link": "/default/best_info/carte.php", "img_src": "/default/img/sub/business/brand_26_m.jpg", "brand_nm": "까르떼" }, { "link": "/default/best_info/danawa.php", "img_src": "/default/img/sub/business/brand_27_m.jpg", "brand_nm": "가구다나와" }, { "link": "/default/best_info/sigagu.php", "img_src": "/default/img/sub/business/brand_28_m.jpg", "brand_nm": "에이스가구" }, { "link": "/default/best_info/club.php", "img_src": "/default/img/sub/business/brand_29_m.jpg", "brand_nm": "클럽메종" }, { "link": "/default/best_info/theshap.php", "img_src": "/default/img/sub/business/brand_30_m.jpg", "brand_nm": "더샵디자인" }, { "link": "/default/best_info/treeview.php", "img_src": "/default/img/sub/business/brand_32_m.jpg", "brand_nm": "나무와풍경" }, { "link": "/default/best_info/cosy.php", "img_src": "/default/img/sub/business/brand_33_m.jpg", "brand_nm": "코지하우스" }, { "link": "/default/best_info/goldsb.php", "img_src": "/default/img/sub/business/brand_43_m.jpg", "brand_nm": "금성침대" }, { "link": "/default/best_info/paju0.php", "img_src": "/default/img/sub/business/brand_34_m.jpg", "brand_nm": "파주공방" }, { "link": "/default/best_info/hming.php", "img_src": "/default/img/sub/business/brand_35_m.jpg", "brand_nm": "허밍트리" }, { "link": "/default/best_info/kimja.php", "img_src": "/default/img/sub/business/brand_36_m.jpg", "brand_nm": "김종안갤러리" }, { "link": "/default/best_info/paroma.php", "img_src": "/default/img/sub/business/brand_37_m.jpg", "brand_nm": "파로마" }, { "link": "/default/best_info/de_casa.php", "img_src": "/default/img/sub/business/brand_38_m.jpg", "brand_nm": "디자인까사" }, { "link": "/default/best_info/casafac.php", "img_src": "/default/img/sub/business/brand_40_m.jpg", "brand_nm": "까사팩토리" }, { "link": "/default/best_info//hanbit.php", "img_src": "/default/img/sub/business/brand_45_m.jpg", "brand_nm": "한빛갤러리" }, { "link": "/default/best_info/sofa279_3.php", "img_src": "/default/img/sub/business/brand_46_m.jpg", "brand_nm": "소파279(3관)" }, { "link": "/default/best_info/maxxi.php", "img_src": "/default/img/sub/business/brand_47_m.jpg", "brand_nm": "막시밀라노" }, { "link": "/default/best_info/gagusoim.php", "img_src": "/default/img/sub/business/brand_48_m.jpg", "brand_nm": "가구소임" }, { "link": "/default/best_info/fullhouse.php", "img_src": "/default/img/sub/business/brand_49_m.jpg", "brand_nm": "풀하우스" } ] function fisherYatesShuffle(array) { for (let i = array.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [array[i], array[j]] = [array[j], array[i]]; } return array; } $(document).ready(function () { var shuffled_brand_list = fisherYatesShuffle(brand_list); shuffled_brand_list.forEach(function (item) { var li = $('
  • '); var div = $('
    ', { class: "img" }); var a = $('', { href: item.link, target: "_blank" }); var img = $('', { src: item.img_src }); var p = $('

    '); p.text(item.brand_nm); a.append(img); div.append(a); li.append(div); li.append(p); $('.sub-content > section.partner > ul').append(li); }); });