slick.js 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517
  1. //========================================
  2. // HOME INDEX BANNER SLIDER
  3. //========================================
  4. $('.home-index-slider').slick({
  5. dots: false,
  6. fade: true,
  7. infinite: true,
  8. autoplay: true,
  9. arrows: true,
  10. speed: 600,
  11. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  12. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  13. slidesToShow: 1,
  14. slidesToScroll: 1,
  15. responsive: [
  16. {
  17. breakpoint: 1200,
  18. settings: {
  19. slidesToShow: 1,
  20. slidesToScroll: 1,
  21. }
  22. },
  23. {
  24. breakpoint: 992,
  25. settings: {
  26. slidesToShow: 1,
  27. slidesToScroll: 1,
  28. }
  29. },
  30. {
  31. breakpoint: 768,
  32. settings: {
  33. slidesToShow: 1,
  34. slidesToScroll: 1,
  35. }
  36. },
  37. {
  38. breakpoint: 576,
  39. settings: {
  40. slidesToShow: 1,
  41. slidesToScroll: 1,
  42. arrows: false,
  43. }
  44. }
  45. ]
  46. });
  47. //========================================
  48. // HOME GRID BANNER SLIDER
  49. //========================================
  50. $('.home-grid-slider').slick({
  51. dots: true,
  52. fade: false,
  53. infinite: true,
  54. autoplay: true,
  55. arrows: true,
  56. speed: 600,
  57. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  58. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  59. slidesToShow: 1,
  60. slidesToScroll: 1,
  61. responsive: [
  62. {
  63. breakpoint: 1200,
  64. settings: {
  65. slidesToShow: 1,
  66. slidesToScroll: 1,
  67. }
  68. },
  69. {
  70. breakpoint: 992,
  71. settings: {
  72. slidesToShow: 1,
  73. slidesToScroll: 1,
  74. }
  75. },
  76. {
  77. breakpoint: 768,
  78. settings: {
  79. slidesToShow: 1,
  80. slidesToScroll: 1,
  81. }
  82. },
  83. {
  84. breakpoint: 576,
  85. settings: {
  86. slidesToShow: 1,
  87. slidesToScroll: 1,
  88. arrows: false,
  89. }
  90. }
  91. ]
  92. });
  93. //========================================
  94. // HOME CATEGORY BANNER SLIDER
  95. //========================================
  96. $('.home-category-slider').slick({
  97. dots: true,
  98. fade: true,
  99. infinite: true,
  100. autoplay: true,
  101. arrows: true,
  102. speed: 500,
  103. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  104. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  105. slidesToShow: 1,
  106. slidesToScroll: 1,
  107. responsive: [
  108. {
  109. breakpoint: 1200,
  110. settings: {
  111. slidesToShow: 1,
  112. slidesToScroll: 1,
  113. }
  114. },
  115. {
  116. breakpoint: 992,
  117. settings: {
  118. slidesToShow: 1,
  119. slidesToScroll: 1,
  120. }
  121. },
  122. {
  123. breakpoint: 768,
  124. settings: {
  125. slidesToShow: 1,
  126. slidesToScroll: 1,
  127. }
  128. },
  129. {
  130. breakpoint: 576,
  131. settings: {
  132. slidesToShow: 1,
  133. slidesToScroll: 1,
  134. arrows: false,
  135. }
  136. }
  137. ]
  138. });
  139. //========================================
  140. // HOME CLASSIC BANNER SLIDER
  141. //========================================
  142. $('.home-classic-slider').slick({
  143. dots: false,
  144. fade: false,
  145. infinite: true,
  146. draggable : false, //드래그 가능 여부
  147. autoplay: true,
  148. arrows: true,
  149. speed: 300,
  150. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  151. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  152. slidesToShow: 1,
  153. slidesToScroll: 1,
  154. responsive: [
  155. {
  156. breakpoint: 1200,
  157. settings: {
  158. slidesToShow: 1,
  159. slidesToScroll: 1,
  160. }
  161. },
  162. {
  163. breakpoint: 992,
  164. settings: {
  165. slidesToShow: 1,
  166. slidesToScroll: 1,
  167. }
  168. },
  169. {
  170. breakpoint: 768,
  171. settings: {
  172. slidesToShow: 1,
  173. slidesToScroll: 1,
  174. }
  175. },
  176. {
  177. breakpoint: 576,
  178. settings: {
  179. slidesToShow: 1,
  180. slidesToScroll: 1,
  181. arrows: false,
  182. }
  183. }
  184. ]
  185. });
  186. //========================================
  187. // FOR SUGGEST CATEGORY SLIDER
  188. //========================================
  189. $('.suggest-slider').slick({
  190. dots: false,
  191. infinite: true,
  192. autoplay: true,
  193. arrows: true,
  194. speed: 1000,
  195. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  196. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  197. slidesToShow: 5,
  198. slidesToScroll: 2,
  199. responsive: [
  200. {
  201. breakpoint: 1200,
  202. settings: {
  203. slidesToShow: 4,
  204. slidesToScroll: 4,
  205. }
  206. },
  207. {
  208. breakpoint: 992,
  209. settings: {
  210. slidesToShow: 3,
  211. slidesToScroll: 3,
  212. }
  213. },
  214. {
  215. breakpoint: 768,
  216. settings: {
  217. slidesToShow: 2,
  218. slidesToScroll: 2,
  219. }
  220. },
  221. {
  222. breakpoint: 576,
  223. settings: {
  224. slidesToShow: 2,
  225. slidesToScroll: 2,
  226. arrows: false,
  227. }
  228. }
  229. ]
  230. });
  231. //========================================
  232. // FOR NEW PRODUCT SLIDER
  233. //========================================
  234. $('.new-slider').slick({
  235. dots: false,
  236. infinite: true,
  237. autoplay: true,
  238. arrows: true,
  239. speed: 800,
  240. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  241. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  242. slidesToShow: 5,
  243. slidesToScroll: 1,
  244. responsive: [
  245. {
  246. breakpoint: 1200,
  247. settings: {
  248. slidesToShow: 4,
  249. slidesToScroll: 2,
  250. }
  251. },
  252. {
  253. breakpoint: 992,
  254. settings: {
  255. slidesToShow: 3,
  256. slidesToScroll: 3,
  257. }
  258. },
  259. {
  260. breakpoint: 768,
  261. settings: {
  262. slidesToShow: 2,
  263. slidesToScroll: 2,
  264. }
  265. },
  266. {
  267. breakpoint: 576,
  268. settings: {
  269. slidesToShow: 1,
  270. slidesToScroll: 1,
  271. variableWidth: true,
  272. arrows: false,
  273. }
  274. }
  275. ]
  276. });
  277. //========================================
  278. // FOR CATEGORY SLIDER
  279. //========================================
  280. $('.category-slider').slick({
  281. dots: false,
  282. infinite: true,
  283. autoplay: true,
  284. arrows: true,
  285. speed: 800,
  286. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  287. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  288. slidesToShow: 5,
  289. slidesToScroll: 1,
  290. responsive: [
  291. {
  292. breakpoint: 1200,
  293. settings: {
  294. slidesToShow: 5,
  295. slidesToScroll: 5,
  296. }
  297. },
  298. {
  299. breakpoint: 992,
  300. settings: {
  301. slidesToShow: 4,
  302. slidesToScroll: 4,
  303. }
  304. },
  305. {
  306. breakpoint: 768,
  307. settings: {
  308. slidesToShow: 3,
  309. slidesToScroll: 3,
  310. }
  311. },
  312. {
  313. breakpoint: 576,
  314. settings: {
  315. slidesToShow: 2,
  316. slidesToScroll: 2,
  317. variableWidth: true,
  318. arrows: false,
  319. }
  320. }
  321. ]
  322. });
  323. //========================================
  324. // BRAND SLIDER
  325. //========================================
  326. $('.brand-slider').slick({
  327. dots: false,
  328. infinite: true,
  329. autoplay: false,
  330. arrows: true,
  331. speed: 800,
  332. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  333. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  334. slidesToShow: 5,
  335. slidesToScroll: 1,
  336. responsive: [
  337. {
  338. breakpoint: 1200,
  339. settings: {
  340. slidesToShow: 4,
  341. slidesToScroll: 4,
  342. }
  343. },
  344. {
  345. breakpoint: 992,
  346. settings: {
  347. slidesToShow: 3,
  348. slidesToScroll: 3,
  349. }
  350. },
  351. {
  352. breakpoint: 768,
  353. settings: {
  354. slidesToShow: 2,
  355. slidesToScroll: 2,
  356. }
  357. },
  358. {
  359. breakpoint: 576,
  360. settings: {
  361. slidesToShow: 2,
  362. slidesToScroll: 1,
  363. variableWidth: true,
  364. arrows: false,
  365. }
  366. }
  367. ]
  368. });
  369. //========================================
  370. // BLOG CARD SLIDER
  371. //========================================
  372. $('.blog-slider').slick({
  373. dots: false,
  374. infinite: true,
  375. autoplay: false,
  376. arrows: true,
  377. speed: 800,
  378. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  379. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  380. slidesToShow: 3,
  381. slidesToScroll: 1,
  382. responsive: [
  383. {
  384. breakpoint: 1200,
  385. settings: {
  386. slidesToShow: 3,
  387. slidesToScroll: 3,
  388. }
  389. },
  390. {
  391. breakpoint: 992,
  392. settings: {
  393. slidesToShow: 2,
  394. slidesToScroll: 2,
  395. }
  396. },
  397. {
  398. breakpoint: 768,
  399. settings: {
  400. slidesToShow: 1,
  401. slidesToScroll: 1,
  402. }
  403. },
  404. {
  405. breakpoint: 576,
  406. settings: {
  407. slidesToShow: 1,
  408. slidesToScroll: 1,
  409. arrows: false,
  410. }
  411. }
  412. ]
  413. });
  414. //========================================
  415. // TESTIMONIAL SLIDER
  416. //========================================
  417. $('.testimonial-slider').slick({
  418. dots: false,
  419. infinite: true,
  420. autoplay: false,
  421. arrows: true,
  422. fade: false,
  423. speed: 1000,
  424. centerMode: true,
  425. centerPadding: '250px',
  426. slidesToShow: 1,
  427. slidesToScroll: 1,
  428. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  429. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  430. responsive: [
  431. {
  432. breakpoint: 1200,
  433. settings: {
  434. slidesToShow: 1,
  435. slidesToScroll: 1,
  436. centerPadding: '250px',
  437. }
  438. },
  439. {
  440. breakpoint: 992,
  441. settings: {
  442. slidesToShow: 1,
  443. slidesToScroll: 1,
  444. centerPadding: '130px',
  445. }
  446. },
  447. {
  448. breakpoint: 768,
  449. settings: {
  450. slidesToShow: 1,
  451. slidesToScroll: 1,
  452. centerPadding: '40px',
  453. }
  454. },
  455. {
  456. breakpoint: 576,
  457. settings: {
  458. arrows: false,
  459. slidesToShow: 1,
  460. slidesToScroll: 1,
  461. centerPadding: '10px',
  462. }
  463. }
  464. ]
  465. });
  466. $('.testi-slider').slick({
  467. dots: false,
  468. infinite: true,
  469. autoplay: false,
  470. arrows: true,
  471. speed: 800,
  472. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  473. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  474. slidesToShow: 1,
  475. slidesToScroll: 1,
  476. responsive: [
  477. {
  478. breakpoint: 1200,
  479. settings: {
  480. slidesToShow: 1,
  481. slidesToScroll: 1,
  482. }
  483. },
  484. {
  485. breakpoint: 992,
  486. settings: {
  487. slidesToShow: 1,
  488. slidesToScroll: 1,
  489. }
  490. },
  491. {
  492. breakpoint: 768,
  493. settings: {
  494. slidesToShow: 1,
  495. slidesToScroll: 1,
  496. }
  497. },
  498. {
  499. breakpoint: 576,
  500. settings: {
  501. slidesToShow: 1,
  502. slidesToScroll: 1,
  503. }
  504. }
  505. ]
  506. });
  507. //========================================
  508. // TEAM SLIDER
  509. //========================================
  510. $('.team-slider').slick({
  511. dots: false,
  512. infinite: true,
  513. autoplay: false,
  514. arrows: true,
  515. speed: 800,
  516. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  517. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  518. slidesToShow: 4,
  519. slidesToScroll: 1,
  520. responsive: [
  521. {
  522. breakpoint: 1200,
  523. settings: {
  524. slidesToShow: 3,
  525. slidesToScroll: 3,
  526. }
  527. },
  528. {
  529. breakpoint: 992,
  530. settings: {
  531. slidesToShow: 3,
  532. slidesToScroll: 3,
  533. }
  534. },
  535. {
  536. breakpoint: 768,
  537. settings: {
  538. slidesToShow: 2,
  539. slidesToScroll: 2,
  540. }
  541. },
  542. {
  543. breakpoint: 576,
  544. settings: {
  545. slidesToShow: 1,
  546. slidesToScroll: 1,
  547. }
  548. }
  549. ]
  550. });
  551. //========================================
  552. // ISOTOPE SLIDER
  553. //========================================
  554. $('.isotope-slider').slick({
  555. dots: false,
  556. infinite: true,
  557. autoplay: false,
  558. arrows: true,
  559. speed: 800,
  560. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  561. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  562. slidesToShow: 5,
  563. slidesToScroll: 2,
  564. responsive: [
  565. {
  566. breakpoint: 1200,
  567. settings: {
  568. slidesToShow: 5,
  569. slidesToScroll: 2,
  570. }
  571. },
  572. {
  573. breakpoint: 992,
  574. settings: {
  575. slidesToShow: 3,
  576. slidesToScroll: 3,
  577. }
  578. },
  579. {
  580. breakpoint: 768,
  581. settings: {
  582. slidesToShow: 2,
  583. slidesToScroll: 2,
  584. }
  585. },
  586. {
  587. breakpoint: 576,
  588. settings: {
  589. slidesToShow: 2,
  590. slidesToScroll: 2,
  591. }
  592. }
  593. ]
  594. });
  595. //========================================
  596. // FOR PRODUCT POPUP VIEW IMAGE SLIDER
  597. //========================================
  598. $('.preview-slider').slick({
  599. slidesToShow: 1,
  600. slidesToScroll: 1,
  601. arrows: true,
  602. fade: true,
  603. asNavFor: '.thumb-slider',
  604. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  605. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  606. responsive: [
  607. {
  608. breakpoint: 576,
  609. settings: {
  610. slidesToShow: 1,
  611. slidesToScroll: 1,
  612. arrows: true,
  613. }
  614. }
  615. ]
  616. });
  617. $('.thumb-slider').slick({
  618. slidesToShow: 3,
  619. slidesToScroll: 1,
  620. asNavFor: '.preview-slider',
  621. dots: false,
  622. arrows: false,
  623. centerMode: true,
  624. focusOnSelect: true,
  625. responsive: [
  626. {
  627. breakpoint: 992,
  628. settings: {
  629. slidesToShow: 3,
  630. slidesToScroll: 1,
  631. }
  632. },
  633. {
  634. breakpoint: 768,
  635. settings: {
  636. slidesToShow: 3,
  637. slidesToScroll: 1,
  638. }
  639. },
  640. {
  641. breakpoint: 576,
  642. settings: {
  643. slidesToShow: 3,
  644. slidesToScroll: 1,
  645. }
  646. },
  647. {
  648. breakpoint: 400,
  649. settings: {
  650. slidesToShow: 2,
  651. slidesToScroll: 1,
  652. }
  653. }
  654. ]
  655. });
  656. //========================================
  657. // FOR PRODUCT DETAILS IMAGE SLIDER
  658. //========================================
  659. $('.details-preview').slick({
  660. slidesToShow: 1,
  661. slidesToScroll: 1,
  662. arrows: false,
  663. fade: true,
  664. asNavFor: '.details-thumb',
  665. prevArrow: '<i class="icofont-arrow-right dandik"></i>',
  666. nextArrow: '<i class="icofont-arrow-left bamdik"></i>',
  667. responsive: [
  668. {
  669. breakpoint: 576,
  670. settings: {
  671. slidesToShow: 1,
  672. slidesToScroll: 1,
  673. arrows: true,
  674. }
  675. }
  676. ]
  677. });
  678. $('.details-thumb').slick({
  679. slidesToShow: 5,
  680. slidesToScroll: 1,
  681. asNavFor: '.details-preview',
  682. dots: false,
  683. arrows: false,
  684. focusOnSelect: true,
  685. responsive: [
  686. {
  687. breakpoint: 1200,
  688. settings: {
  689. slidesToShow: 3,
  690. slidesToScroll: 1,
  691. }
  692. },
  693. {
  694. breakpoint: 992,
  695. settings: {
  696. slidesToShow: 5,
  697. slidesToScroll: 1,
  698. }
  699. },
  700. {
  701. breakpoint: 768,
  702. settings: {
  703. slidesToShow: 4,
  704. slidesToScroll: 1,
  705. }
  706. },
  707. {
  708. breakpoint: 576,
  709. settings: {
  710. slidesToShow: 4,
  711. slidesToScroll: 1,
  712. vertical: false,
  713. }
  714. },
  715. {
  716. breakpoint: 400,
  717. settings: {
  718. slidesToShow: 3,
  719. slidesToScroll: 1,
  720. vertical: false,
  721. }
  722. }
  723. ]
  724. });