{"id":1317,"date":"2015-11-03T09:58:18","date_gmt":"2015-11-03T09:58:18","guid":{"rendered":"https:\/\/www.templatemonster.com\/pl\/blog\/?p=1317"},"modified":"2020-04-02T10:05:38","modified_gmt":"2020-04-02T10:05:38","slug":"suwak-z-dynamiczna-animacja-z-pomoca-glide-js","status":"publish","type":"post","link":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/","title":{"rendered":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js"},"content":{"rendered":"<p style=\"text-align: justify;\">Wi\u0119kszo\u015b\u0107 deweloperzy powinni by\u0107 zaznajomieni z koncepcj\u0105 slideshow. Przewa\u017cnie te elementy s\u0105 umieszczane w g\u00f3rnej cz\u0119\u015bci strony tu\u017c pod nag\u0142\u00f3wkiem. Slajdy mog\u0105 zawiera\u0107 tekst, obrazki, wideo, lub po\u0142aczenie wszystkich tych element\u00f3w. Celem slideshow jest, aby przyci\u0105gn\u0105\u0107 uwag\u0119 ludzi i zach\u0119ci\u0107 do dalszego poruszania si\u0119 stron\u0105.<\/p>\n<p style=\"text-align: justify;\">W tym tutorialu poka\u017c\u0119 stworzenie prostej wersji takich suwak\u00f3w. <a href=\"http:\/\/glide.jedrzejchalubek.com\/\" target=\"_blank\" rel=\"nofollow\">Glide.js<\/a> jest open source, responsywny i idealny dla ka\u017cdego uk\u0142adu. Mo\u017cesz dostosowa\u0107 kolory i elementy interfejsu u\u017cytkownika w suwaku. Ma r\u00f3wnie\u017c mn\u00f3stwo opcji jQuery do dostosowania interfejsem u\u017cytkownika.<\/p>\n<p><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/02\/glidejs-slider-plugin-demo.png?37c8fc\" alt=\"glidejs jquery animated slider plugin tutorial screen\" \/><\/a><\/p>\n<p><strong><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">Demo<\/a><\/strong> \u2013 <strong><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/glidejs-slider-source-codes.zip?37c8fc\">Pobierz kod \u017ar\u00f3dlowy<\/a><\/strong><\/p>\n<h3 style=\"font-size: 22px;\"><span style=\"font-weight: 400;\"><span style=\"color: #000000;\">Z<\/span>acznijmy! <\/span><\/h3>\n<p style=\"text-align: justify;\">Pierwszym krokiem jest pobranie kopii lokalnej Glide.js bezpo\u015brednio z <a href=\"https:\/\/github.com\/jedrzejchalubek\/Glide.js\" target=\"_blank\" rel=\"nofollow\">Github<\/a>. Skopiowalam <strong>jquery.glide.min.js<\/strong> do folderu \/js\/. Mo\u017cesz r\u00f3wnie\u017c \u015bci\u0105gn\u0105\u0107 lokaln\u0105 kopi\u0119 <a href=\"http:\/\/jquery.com\/download\/\" target=\"_blank\" rel=\"nofollow\">jQuery<\/a> i zapisa\u0107 j\u0105 w tym samym folderze.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n10\r\n11\r\n12\r\n13\r\n14\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #339933;\">&lt;!<\/span>doctype html<span style=\"color: #339933;\">&gt;<\/span>\r\n<span style=\"color: #339933;\">&lt;<\/span>html lang<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"en-US\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n<span style=\"color: #339933;\">&lt;<\/span>head<span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>meta charset<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"utf-8\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>meta http<span style=\"color: #339933;\">-<\/span>equiv<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"Content-Type\"<\/span> content<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"text\/html\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>title<span style=\"color: #339933;\">&gt;<\/span>Glide<span style=\"color: #339933;\">.<\/span>js Content Slider Demo <span style=\"color: #339933;\">-<\/span> Template Monster<span style=\"color: #339933;\">&lt;\/<\/span>title<span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>meta name<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"author\"<\/span> content<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"Jake Rocheleau\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>meta name<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"viewport\"<\/span> content<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"width=device-width,initial-scale=1.0,user-scalable=no\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span><span style=\"color: #990000;\">link<\/span> rel<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"shortcut icon\"<\/span> href<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"http:\/\/www.templatemonster.com\/favicon.ico\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span><span style=\"color: #990000;\">link<\/span> rel<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"icon\"<\/span> href<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"http:\/\/www.templatemonster.com\/favicon.ico\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span><span style=\"color: #990000;\">link<\/span> rel<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"stylesheet\"<\/span> type<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"text\/css\"<\/span> media<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"all\"<\/span> href<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"css\/styles.css\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>script type<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"text\/javascript\"<\/span> src<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"js\/jquery-1.10.2.min.js\"<\/span><span style=\"color: #339933;\">&gt;<\/span><span style=\"color: #000000; font-weight: bold;\">&lt;\/script&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>script type<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"text\/javascript\"<\/span> src<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"js\/jquery.glide.min.js\"<\/span><span style=\"color: #339933;\">&gt;<\/span><span style=\"color: #000000; font-weight: bold;\">&lt;\/script&gt;<\/span>\r\n<span style=\"color: #339933;\">&lt;\/<\/span>head<span style=\"color: #339933;\">&gt;<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"text-align: justify;\">Stworzy\u0142am w\u0142asny arkusza styl\u00f3w <strong>styles.css<\/strong> do zmiany stylu ca\u0142ej strony. Glide.js pochodzi z w\u0142asnego arkusza styl\u00f3w, wi\u0119c skopiowa\u0142am go do mojego nowego pliku. W ten spos\u00f3b wszystko jest konsolidowane razem i znacznie \u0142atwiej jest edytowa\u0107 wszystkie elementy. Poniewa\u017c wtyczka jest responsywna musz\u0119 e\u00f3wnie\u017c skonfigurowa\u0107 meta tag obszaru wy\u015bwietlania do obs\u0142ugi tablet\u00f3w i smartfon\u00f3w.<br \/>\n<span style=\"font-weight: 400;\">Glide jest bardzo \u0142atwy w dostosowaniu. Potrzebnie ponownie zdefiniowa\u0107 niekt\u00f3re style CSS przed przeniesieniem na co\u015b inne. Ale najpierw rzu\u0107my okiem na moj\u0105 struktur\u0119 strony.<\/span><\/p>\n<h3 style=\"font-size: 22px;\">Elementy HTML<\/h3>\n<p style=\"text-align: justify;\">Wtyczka dzia\u0142a poprzez pod\u0142\u0105czenie do elementu pojemnika, kt\u00f3ry posiada wewn\u0119trzn\u0105 nieuporz\u0105dkowan\u0105 list\u0119 element\u00f3w. Ka\u017cdy element listy zachowuje si\u0119 jak nowy slajd w pokazie slajd\u00f3w. Poni\u017cej jest przyk\u0142adowy kod z dokumentacji GitHub:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n10\r\n11\r\n12\r\n13\r\n14\r\n15\r\n16\r\n17\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #339933;\">&lt;<\/span>div <span style=\"color: #000000; font-weight: bold;\">class<\/span><span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"slider\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;<\/span>ul <span style=\"color: #000000; font-weight: bold;\">class<\/span><span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"slides\"<\/span><span style=\"color: #339933;\">&gt;<\/span>\r\n    <span style=\"color: #339933;\">&lt;<\/span>li <span style=\"color: #000000; font-weight: bold;\">class<\/span><span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"slide\"<\/span><span style=\"color: #339933;\">&gt;&lt;\/<\/span>li<span style=\"color: #339933;\">&gt;<\/span>\r\n    <span style=\"color: #339933;\">&lt;<\/span>li <span style=\"color: #000000; font-weight: bold;\">class<\/span><span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"slide\"<\/span><span style=\"color: #339933;\">&gt;&lt;\/<\/span>li<span style=\"color: #339933;\">&gt;<\/span>\r\n    <span style=\"color: #339933;\">&lt;<\/span>li <span style=\"color: #000000; font-weight: bold;\">class<\/span><span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"slide\"<\/span><span style=\"color: #339933;\">&gt;&lt;\/<\/span>li<span style=\"color: #339933;\">&gt;<\/span>\r\n  <span style=\"color: #339933;\">&lt;\/<\/span>ul<span style=\"color: #339933;\">&gt;<\/span>\r\n<span style=\"color: #339933;\">&lt;\/<\/span>div<span style=\"color: #339933;\">&gt;<\/span>\r\nI kept most of these same <span style=\"color: #000000; font-weight: bold;\">class<\/span> names to simplify the process<span style=\"color: #339933;\">.<\/span> But you could rearrange things to <span style=\"color: #000000; font-weight: bold;\">use<\/span> specific ID names<span style=\"color: #339933;\">,<\/span> or even different classes running different options<span style=\"color: #339933;\">.<\/span> Most websites <span style=\"color: #b1b100;\">do<\/span> not need more than <span style=\"color: #cc66cc;\">1<\/span> or <span style=\"color: #cc66cc;\">2<\/span> of these sliders and that<span style=\"color: #0000ff;\">'s why using an ID on the container might be a better solution.\r\n\u00a0\r\n&lt;pre lang=\"PHP\" line=\"1\"&gt;&lt;div class=\"slider\"&gt;\r\n  &lt;ul class=\"slides\"&gt;\r\n    &lt;li class=\"slide\"&gt;\r\n      &lt;figure&gt;\r\n        &lt;figcaption&gt;Designed by &lt;a href=\"http:\/\/dribbble.com\/shots\/1362980-Witches\" target=\"_blank\" rel=\"nofollow\"&gt;Adam Record&lt;\/a&gt;&lt;\/figcaption&gt;\r\n        &lt;img src=\"img\/witches.png\" alt=\"dribbble witches\"&gt;\r\n      &lt;\/figure&gt;\r\n    &lt;\/li&gt;<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"text-align: justify;\">M\u00f3j poradnik zawiera nieco wi\u0119cej ca\u0142ych figur graficznych w ramach ka\u017cdego elementu listy. Element graficzny zawiera obrazek wraz z figcaption do zapewnienia oryginalnego linku \u017ar\u00f3d\u0142owego. Ten pojemnik jest wymagany, wi\u0119c wszystko wewn\u0105trz elementu listy mo\u017ce by\u0107 na wy\u015brodkowane, bez przemieszczania strza\u0142ek przewijania na ka\u017cdej stronie.<\/p>\n<h3 style=\"font-size: 22px;\">Zaktualizowane\u00a0CSS Styles<\/h3>\n<p style=\"text-align: justify;\">Nazwy klas s\u0105 domy\u015blne, mog\u0105 by\u0107 \u0142atwo zmienione w razie potrzeby, wi\u0119c prosz\u0119 o tym pami\u0119ta\u0107 przy przenoszeniu kodu do swojej witryny internetowej.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n10\r\n11\r\n12\r\n13\r\n14\r\n15\r\n16\r\n17\r\n18\r\n19\r\n20\r\n21\r\n22\r\n23\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #339933;\">.<\/span>slider <span style=\"color: #009900;\">{<\/span>\r\n  position<span style=\"color: #339933;\">:<\/span> relative<span style=\"color: #339933;\">;<\/span>\r\n  width<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">100<\/span><span style=\"color: #339933;\">%;<\/span>\r\n  height<span style=\"color: #339933;\">:<\/span> 500px<span style=\"color: #339933;\">;<\/span>\r\n  overflow<span style=\"color: #339933;\">:<\/span> hidden<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #339933;\">.<\/span>slides <span style=\"color: #009900;\">{<\/span>\r\n  height<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">100<\/span><span style=\"color: #339933;\">%;<\/span>\r\n  overflow<span style=\"color: #339933;\">:<\/span> hidden<span style=\"color: #339933;\">;<\/span>\r\n  <span style=\"color: #009933; font-style: italic;\">\/**\t\r\n   * Prevent blinking issue\r\n   * Not tested. Experimental.\r\n   *\/<\/span>\r\n  <span style=\"color: #339933;\">-<\/span>webkit<span style=\"color: #339933;\">-<\/span>backface<span style=\"color: #339933;\">-<\/span>visibility<span style=\"color: #339933;\">:<\/span> hidden<span style=\"color: #339933;\">;<\/span>\r\n  <span style=\"color: #339933;\">-<\/span>webkit<span style=\"color: #339933;\">-<\/span>transform<span style=\"color: #339933;\">-<\/span>style<span style=\"color: #339933;\">:<\/span> preserve<span style=\"color: #339933;\">-<\/span>3d<span style=\"color: #339933;\">;<\/span>\r\n\u00a0\r\n   <span style=\"color: #339933;\">-<\/span>webkit<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 500ms cubic<span style=\"color: #339933;\">-<\/span>bezier<span style=\"color: #009900;\">(<\/span><span style=\"color: #800080;\">0.165<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.840<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.440<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">1.000<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n   <span style=\"color: #339933;\">-<\/span>moz<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 500ms cubic<span style=\"color: #339933;\">-<\/span>bezier<span style=\"color: #009900;\">(<\/span><span style=\"color: #800080;\">0.165<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.840<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.440<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">1.000<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n   <span style=\"color: #339933;\">-<\/span>ms<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 500ms cubic<span style=\"color: #339933;\">-<\/span>bezier<span style=\"color: #009900;\">(<\/span><span style=\"color: #800080;\">0.165<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.840<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.440<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">1.000<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n   <span style=\"color: #339933;\">-<\/span>o<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 500ms cubic<span style=\"color: #339933;\">-<\/span>bezier<span style=\"color: #009900;\">(<\/span><span style=\"color: #800080;\">0.165<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.840<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.440<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">1.000<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n   transition<span style=\"color: #339933;\">:<\/span> all 500ms cubic<span style=\"color: #339933;\">-<\/span>bezier<span style=\"color: #009900;\">(<\/span><span style=\"color: #800080;\">0.165<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.840<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">0.440<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #800080;\">1.000<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"text-align: justify;\">Wykorzystanie<strong>\u00a0width:100%<\/strong>\u00a0pozwala na zachowanie sta\u0142ej wysoko\u015bci. Mo\u017cesz zmieni\u0107 ten numer, aby bdok\u0142adnie pasowa\u0142 do Twojego uk\u0142adu. Wszystkie przej\u015bcia CSS3 powinny zosta\u0107, poniewa\u017c s\u0105 one stosowane przez Glide.js mi\u0119dzy ka\u017cdym slajdem.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n7\r\n8\r\n9\r\n10\r\n11\r\n12\r\n13\r\n14\r\n15\r\n16\r\n17\r\n18\r\n19\r\n20\r\n21\r\n22\r\n23\r\n24\r\n25\r\n26\r\n27\r\n28\r\n29\r\n30\r\n31\r\n32\r\n33\r\n34\r\n35\r\n36\r\n37\r\n38\r\n39\r\n40\r\n41\r\n42\r\n43\r\n44\r\n45\r\n46\r\n47\r\n48\r\n49\r\n50\r\n51\r\n52\r\n53\r\n54\r\n55\r\n56\r\n57\r\n58\r\n59\r\n60\r\n61\r\n62\r\n63\r\n64\r\n65\r\n66\r\n67\r\n68\r\n69\r\n70\r\n71\r\n72\r\n73\r\n74\r\n75\r\n76\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #339933;\">.<\/span>slide <span style=\"color: #009900;\">{<\/span>\r\n  height<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">100<\/span><span style=\"color: #339933;\">%;<\/span>\r\n  float<span style=\"color: #339933;\">:<\/span> left<span style=\"color: #339933;\">;<\/span>\r\n  clear<span style=\"color: #339933;\">:<\/span> none<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slide figure <span style=\"color: #009900;\">{<\/span>\r\n  display<span style=\"color: #339933;\">:<\/span> block<span style=\"color: #339933;\">;<\/span>\r\n  position<span style=\"color: #339933;\">:<\/span> relative<span style=\"color: #339933;\">;<\/span>\r\n  text<span style=\"color: #339933;\">-<\/span>align<span style=\"color: #339933;\">:<\/span> center<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slide figure figcaption <span style=\"color: #009900;\">{<\/span>\r\n  position<span style=\"color: #339933;\">:<\/span> absolute<span style=\"color: #339933;\">;<\/span>\r\n  right<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">20<\/span><span style=\"color: #339933;\">%;<\/span>\r\n  font<span style=\"color: #339933;\">-<\/span>size<span style=\"color: #339933;\">:<\/span> 1<span style=\"color: #339933;\">.<\/span>1em<span style=\"color: #339933;\">;<\/span>\r\n  font<span style=\"color: #339933;\">-<\/span>weight<span style=\"color: #339933;\">:<\/span> bold<span style=\"color: #339933;\">;<\/span>\r\n  padding<span style=\"color: #339933;\">:<\/span> 8px 14px<span style=\"color: #339933;\">;<\/span>\r\n  color<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#464646;\r\n<\/span>  background<span style=\"color: #339933;\">:<\/span> rgba<span style=\"color: #009900;\">(<\/span><span style=\"color: #cc66cc;\">255<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #cc66cc;\">255<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #cc66cc;\">255<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #800080;\">0.8<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slide figure figcaption a <span style=\"color: #009900;\">{<\/span>\r\n  color<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#5a7fbc;\r\n<\/span>  text<span style=\"color: #339933;\">-<\/span>decoration<span style=\"color: #339933;\">:<\/span> none<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slide figure figcaption a<span style=\"color: #339933;\">:<\/span>hover <span style=\"color: #009900;\">{<\/span> text<span style=\"color: #339933;\">-<\/span>decoration<span style=\"color: #339933;\">:<\/span> underline<span style=\"color: #339933;\">;<\/span> <span style=\"color: #009900;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #339933;\">.<\/span>slide figure img <span style=\"color: #009900;\">{<\/span>\r\n  max<span style=\"color: #339933;\">-<\/span>height<span style=\"color: #339933;\">:<\/span> 480px<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\nThese styles were manually added to contain the image and the caption label<span style=\"color: #339933;\">.<\/span> The outer figure element is positioned relatively to allow <span style=\"color: #b1b100;\">for<\/span> absolute positioning of the label<span style=\"color: #339933;\">.<\/span> Percentages are the best solution when using a mobile<span style=\"color: #339933;\">-<\/span>responsive plugin so everything works <span style=\"color: #b1b100;\">as<\/span> best <span style=\"color: #b1b100;\">as<\/span> possible<span style=\"color: #339933;\">.<\/span>\r\n\u00a0\r\n<span style=\"color: #339933;\">&lt;<\/span>pre lang<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"PHP\"<\/span> line<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000ff;\">\"1\"<\/span><span style=\"color: #339933;\">&gt;.<\/span>slider<span style=\"color: #339933;\">-<\/span>arrows <span style=\"color: #009900;\">{<\/span><span style=\"color: #009900;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>arrow <span style=\"color: #009900;\">{<\/span>\r\n  position<span style=\"color: #339933;\">:<\/span> absolute<span style=\"color: #339933;\">;<\/span>\r\n  display<span style=\"color: #339933;\">:<\/span> block<span style=\"color: #339933;\">;<\/span>\r\n  margin<span style=\"color: #339933;\">-<\/span>bottom<span style=\"color: #339933;\">:<\/span> <span style=\"color: #339933;\">-<\/span>20px<span style=\"color: #339933;\">;<\/span>\r\n  padding<span style=\"color: #339933;\">:<\/span> 20px<span style=\"color: #339933;\">;<\/span>\r\n  font<span style=\"color: #339933;\">-<\/span>family<span style=\"color: #339933;\">:<\/span> <span style=\"color: #0000ff;\">'Alegreya Sans'<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">'Trebuchet MS'<\/span><span style=\"color: #339933;\">,<\/span> sans<span style=\"color: #339933;\">-<\/span>serif<span style=\"color: #339933;\">;<\/span>\r\n  text<span style=\"color: #339933;\">-<\/span>decoration<span style=\"color: #339933;\">:<\/span> none<span style=\"color: #339933;\">;<\/span>\r\n  font<span style=\"color: #339933;\">-<\/span>weight<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">900<\/span><span style=\"color: #339933;\">;<\/span>\r\n  font<span style=\"color: #339933;\">-<\/span>size<span style=\"color: #339933;\">:<\/span> 3<span style=\"color: #339933;\">.<\/span>0em<span style=\"color: #339933;\">;<\/span>\r\n  color<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#fff;\r\n<\/span>  border<span style=\"color: #339933;\">:<\/span> 1px solid <span style=\"color: #666666; font-style: italic;\">#fff;\r\n<\/span>  border<span style=\"color: #339933;\">-<\/span>radius<span style=\"color: #339933;\">:<\/span> 8px<span style=\"color: #339933;\">;<\/span>\r\n  <span style=\"color: #339933;\">-<\/span>webkit<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 0<span style=\"color: #339933;\">.<\/span>2s linear<span style=\"color: #339933;\">;<\/span>\r\n  <span style=\"color: #339933;\">-<\/span>moz<span style=\"color: #339933;\">-<\/span>transition<span style=\"color: #339933;\">:<\/span> all 0<span style=\"color: #339933;\">.<\/span>2s linear<span style=\"color: #339933;\">;<\/span>\r\n  transition<span style=\"color: #339933;\">:<\/span> all 0<span style=\"color: #339933;\">.<\/span>2s linear<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>arrow<span style=\"color: #339933;\">:<\/span>hover <span style=\"color: #009900;\">{<\/span>\r\n  background<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#ddd;\r\n<\/span>  color<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#aaa;\r\n<\/span><span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>arrow<span style=\"color: #339933;\">--<\/span>right <span style=\"color: #009900;\">{<\/span> bottom<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">50<\/span><span style=\"color: #339933;\">%;<\/span> right<span style=\"color: #339933;\">:<\/span> 30px<span style=\"color: #339933;\">;<\/span> <span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>arrow<span style=\"color: #339933;\">--<\/span>left <span style=\"color: #009900;\">{<\/span> bottom<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">50<\/span><span style=\"color: #339933;\">%;<\/span> left<span style=\"color: #339933;\">:<\/span> 30px<span style=\"color: #339933;\">;<\/span> <span style=\"color: #009900;\">}<\/span>\r\n\u00a0\r\n\u00a0\r\n\u00a0\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>nav <span style=\"color: #009900;\">{<\/span>\r\n  position<span style=\"color: #339933;\">:<\/span> absolute<span style=\"color: #339933;\">;<\/span>\r\n  bottom<span style=\"color: #339933;\">:<\/span> 0px<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>nav__item <span style=\"color: #009900;\">{<\/span>\r\n  width<span style=\"color: #339933;\">:<\/span> 12px<span style=\"color: #339933;\">;<\/span>\r\n  height<span style=\"color: #339933;\">:<\/span> 12px<span style=\"color: #339933;\">;<\/span>\r\n  float<span style=\"color: #339933;\">:<\/span> left<span style=\"color: #339933;\">;<\/span>\r\n  clear<span style=\"color: #339933;\">:<\/span> none<span style=\"color: #339933;\">;<\/span>\r\n  display<span style=\"color: #339933;\">:<\/span> block<span style=\"color: #339933;\">;<\/span>\r\n  margin<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">0<\/span> 5px<span style=\"color: #339933;\">;<\/span>\r\n  background<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#fff;\r\n<\/span>  <span style=\"color: #339933;\">-<\/span>webkit<span style=\"color: #339933;\">-<\/span>border<span style=\"color: #339933;\">-<\/span>radius<span style=\"color: #339933;\">:<\/span> 7px<span style=\"color: #339933;\">;<\/span>\r\n  <span style=\"color: #339933;\">-<\/span>moz<span style=\"color: #339933;\">-<\/span>border<span style=\"color: #339933;\">-<\/span>radius<span style=\"color: #339933;\">:<\/span> 7px<span style=\"color: #339933;\">;<\/span>\r\n  border<span style=\"color: #339933;\">-<\/span>radius<span style=\"color: #339933;\">:<\/span> 7px<span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>nav__item<span style=\"color: #339933;\">:<\/span>hover <span style=\"color: #009900;\">{<\/span> background<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#bababa; }\r\n<\/span><span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>nav__item<span style=\"color: #339933;\">--<\/span><span style=\"color: #990000;\">current<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #339933;\">.<\/span>slider<span style=\"color: #339933;\">-<\/span>nav__item<span style=\"color: #339933;\">--<\/span><span style=\"color: #990000;\">current<\/span><span style=\"color: #339933;\">:<\/span>hover <span style=\"color: #009900;\">{<\/span> background<span style=\"color: #339933;\">:<\/span> <span style=\"color: #666666; font-style: italic;\">#999; }<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"text-align: justify;\">Strza\u0142ki w lewo\/ w prawo mog\u0105 by\u0107 aktualizowane za pomoc\u0105 jQuery.\u00a0To mo\u017cna r\u00f3wnie\u017c wykorzysta\u0107 dla przycisk\u00f3w nawigacji slajd\u00f3w. Dla ka\u017cdego elementu listy Glide.js do\u0142\u0105czy jeden nowy punkt, kt\u00f3ry zachowuje si\u0119 jak indeks. Mo\u017cna dostosowa\u0107 re\u017cim aktywny\/nieaktywny dla wybranego elementu nawigacyjnego.<\/p>\n<h3 style=\"font-size: 22px;\">Akywowanie\u00a0Glide.js<\/h3>\n<p style=\"text-align: justify;\">Je\u015bli mamy wtyczki i jQuery zawarte w dokumencie, wszystko, co pozosta\u0142o - to inicjowanie. Mo\u017cemy wykorzysta\u0107 prosty <strong>$(\u2018.slider\u2019).glide()<\/strong>, kt\u00f3ry ma ustawienia domy\u015blne. Ale chc\u0119 troch\u0119 dostosowa\u0107 slider.\u00a0Glide.js ma du\u017c\u0105 list\u0119 opcji wtyczek, kt\u00f3re mo\u017cna przeczyta\u0107 w\u00a0<a href=\"https:\/\/github.com\/jedrzejchalubek\/Glide.js\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Github dokumentacji<\/a>.<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n2\r\n3\r\n4\r\n5\r\n6\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"php\" style=\"font-family: monospace;\">$<span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">'.slider'<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">.<\/span>glide<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">{<\/span>\r\n    autoplay<span style=\"color: #339933;\">:<\/span> <span style=\"color: #cc66cc;\">3500<\/span><span style=\"color: #339933;\">,<\/span>\r\n    hoverpause<span style=\"color: #339933;\">:<\/span> <span style=\"color: #009900; font-weight: bold;\">true<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #666666; font-style: italic;\">\/\/ set to false for nonstop rotate<\/span>\r\n    arrowRightText<span style=\"color: #339933;\">:<\/span> <span style=\"color: #0000ff;\">'&amp;rarr;'<\/span><span style=\"color: #339933;\">,<\/span>\r\n    arrowLeftText<span style=\"color: #339933;\">:<\/span> <span style=\"color: #0000ff;\">'&amp;larr;'<\/span>\r\n  <span style=\"color: #009900;\">}<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"text-align: justify;\"><strong>autoplay<\/strong> mo\u017ce by\u0107 ustawiona na false, je\u015bli nie chcesz automatycznego przewijania slajd\u00f3w. W przeciwnym wypadku warto\u015b\u0107 numeryczna jest okre\u015blona w milisekundach pomi\u0119dzy przej\u015bciem slajd\u00f3w.\u00a0<strong>hoverpause<\/strong> jest r\u00f3wnie\u017c \u015bwietnym rozwi\u0105zaniem, kt\u00f3re automatycznie zatrzymuje suwak, gdy nie jest aktywny. Je\u015bli nie podoba Ci si\u0119 ta funkca, zawsze mo\u017cesz \u0142atw\u0105 j\u0105 wy\u0142\u0105czy\u0107.<\/p>\n<p style=\"text-align: justify;\">S\u0142owa \"Nast\u0119pny\" i \"Poprzedni\" zmieni\u0142am na HTML podmioty strza\u0142ek. Teraz pojawiaj\u0105 si\u0119 one na stronie jako przyciski, kt\u00f3re s\u0105 bardziej przyjazne dla u\u017cytkownika.<\/p>\n<p><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/02\/glidejs-slider-plugin-demo.png?37c8fc\" alt=\"glidejs jquery animated slider plugin tutorial screen\" \/><\/a><\/p>\n<p><strong><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/demo\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">Demo<\/a><\/strong> \u2013 <strong><a href=\"https:\/\/monsterspost.com\/wp-content\/uploads\/2014\/01\/glidejs-slider-source-codes.zip?37c8fc\">Pobierz kod \u017ar\u00f3d\u0142owy<\/a><\/strong><\/p>\n<p style=\"text-align: center;\">* * *<\/p>\n<p>Ten artyku\u0142 zosta\u0142 przet\u0142umaczony z angielskiego. Orygina\u0142 mo\u017cna znale\u017a\u0107 tutaj: <em><a href=\"http:\/\/blog.templatemonster.com\/2014\/01\/30\/tutorial-implement-dynamic-animated-slider-using-glide-js\/\" target=\"_blank\">Implement a Dynamic Animated Slider Using Glide.js<\/a>.<\/em><\/p>\n<h3 style=\"font-size: 22px;\"><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Wi\u0119kszo\u015b\u0107 deweloperzy powinni by\u0107 zaznajomieni z koncepcj\u0105 slideshow. Przewa\u017cnie te elementy s\u0105 umieszczane w g\u00f3rnej cz\u0119\u015bci strony tu\u017c pod nag\u0142\u00f3wkiem. Slajdy mog\u0105 zawiera\u0107 tekst, obrazki, wideo, lub po\u0142aczenie wszystkich tych element\u00f3w. Celem slideshow jest, aby przyci\u0105gn\u0105\u0107 uwag\u0119 ludzi i zach\u0119ci\u0107 do dalszego poruszania si\u0119 stron\u0105. W tym tutorialu poka\u017c\u0119 stworzenie prostej wersji takich suwak\u00f3w. Glide.js [&hellip;]<\/p>\n","protected":false},"author":2098093,"featured_media":1318,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[23],"tags":[66,157,183],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js<\/title>\n<meta name=\"description\" content=\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js\" \/>\n<meta property=\"og:description\" content=\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\" \/>\n<meta property=\"og:site_name\" content=\"Polski Blog TemplateMonster\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TemplateMonster.Poland\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-03T09:58:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-02T10:05:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2015\/11\/2014.01.30.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"536\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Katarzyna Paw\u0142owska\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@TM_Polska\" \/>\n<meta name=\"twitter:site\" content=\"@TM_Polska\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Katarzyna Paw\u0142owska\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\"},\"author\":{\"name\":\"Katarzyna Paw\u0142owska\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/2999e876fc63abe75a8811b5d8e045d8\"},\"headline\":\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js\",\"datePublished\":\"2015-11-03T09:58:18+00:00\",\"dateModified\":\"2020-04-02T10:05:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\"},\"wordCount\":636,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/#organization\"},\"keywords\":[\"Dostosowywanie\",\"Optymizacja i SEO\",\"Tutorial\"],\"articleSection\":[\"Tutoriale\"],\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\",\"url\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\",\"name\":\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js\",\"isPartOf\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/#website\"},\"datePublished\":\"2015-11-03T09:58:18+00:00\",\"dateModified\":\"2020-04-02T10:05:38+00:00\",\"description\":\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial\",\"breadcrumb\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/monsterspost.com\/pl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#website\",\"url\":\"https:\/\/monsterspost.com\/pl\/\",\"name\":\"Polski Blog TemplateMonster\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/monsterspost.com\/pl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#organization\",\"name\":\"MonsterPost Polska\",\"url\":\"https:\/\/monsterspost.com\/pl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2020\/03\/Logo-TM.png\",\"contentUrl\":\"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2020\/03\/Logo-TM.png\",\"width\":180,\"height\":180,\"caption\":\"MonsterPost Polska\"},\"image\":{\"@id\":\"https:\/\/monsterspost.com\/pl\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.instagram.com\/templatemonster_pl\/\",\"https:\/\/www.pinterest.com\/TM_Polska\/\",\"https:\/\/www.youtube.com\/channel\/UCjXro5nNpRT0p0YY6MGl4sQ\",\"https:\/\/www.facebook.com\/TemplateMonster.Poland\/\",\"https:\/\/twitter.com\/TM_Polska\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/2999e876fc63abe75a8811b5d8e045d8\",\"name\":\"Katarzyna Paw\u0142owska\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5711b6355781e59c81d4da82c476bd97?s=96&d=https%3A%2F%2Fwww.templatemonster.com%2Fblog%2Fwp-content%2Fthemes%2Fredesign%2Fimages%2Fdefault_avatar.jpg&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5711b6355781e59c81d4da82c476bd97?s=96&d=https%3A%2F%2Fwww.templatemonster.com%2Fblog%2Fwp-content%2Fthemes%2Fredesign%2Fimages%2Fdefault_avatar.jpg&r=g\",\"caption\":\"Katarzyna Paw\u0142owska\"},\"description\":\"W bran\u017cy IT od 8 lat. Fan nowych technologii webowych, web designu oraz rozwi\u0105za\u0144 u\u017cytecznych i funkcjonalnych. W praktyce: marketer, DJ, blogerka. W wolnym czasie wspiera inicjatywy propaguj\u0105ce wiedz\u0119 z dziedziny SMM i rozwija swoj\u0105 mi\u0142o\u015b\u0107 do crossfitu.\",\"url\":\"https:\/\/monsterspost.com\/pl\/author\/katrina\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js","description":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/","og_locale":"pl_PL","og_type":"article","og_title":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js","og_description":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial","og_url":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/","og_site_name":"Polski Blog TemplateMonster","article_publisher":"https:\/\/www.facebook.com\/TemplateMonster.Poland\/","article_published_time":"2015-11-03T09:58:18+00:00","article_modified_time":"2020-04-02T10:05:38+00:00","og_image":[{"width":900,"height":536,"url":"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2015\/11\/2014.01.30.jpg","type":"image\/jpeg"}],"author":"Katarzyna Paw\u0142owska","twitter_card":"summary_large_image","twitter_creator":"@TM_Polska","twitter_site":"@TM_Polska","twitter_misc":{"Napisane przez":"Katarzyna Paw\u0142owska","Szacowany czas czytania":"6 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#article","isPartOf":{"@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/"},"author":{"name":"Katarzyna Paw\u0142owska","@id":"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/2999e876fc63abe75a8811b5d8e045d8"},"headline":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js","datePublished":"2015-11-03T09:58:18+00:00","dateModified":"2020-04-02T10:05:38+00:00","mainEntityOfPage":{"@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/"},"wordCount":636,"commentCount":0,"publisher":{"@id":"https:\/\/monsterspost.com\/pl\/#organization"},"keywords":["Dostosowywanie","Optymizacja i SEO","Tutorial"],"articleSection":["Tutoriale"],"inLanguage":"pl-PL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/","url":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/","name":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js","isPartOf":{"@id":"https:\/\/monsterspost.com\/pl\/#website"},"datePublished":"2015-11-03T09:58:18+00:00","dateModified":"2020-04-02T10:05:38+00:00","description":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js. Tutorial","breadcrumb":{"@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/monsterspost.com\/pl\/suwak-z-dynamiczna-animacja-z-pomoca-glide-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/monsterspost.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Suwak z dynamiczn\u0105 animacj\u0105 z pomoc\u0105 Glide.js"}]},{"@type":"WebSite","@id":"https:\/\/monsterspost.com\/pl\/#website","url":"https:\/\/monsterspost.com\/pl\/","name":"Polski Blog TemplateMonster","description":"","publisher":{"@id":"https:\/\/monsterspost.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/monsterspost.com\/pl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/monsterspost.com\/pl\/#organization","name":"MonsterPost Polska","url":"https:\/\/monsterspost.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/monsterspost.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2020\/03\/Logo-TM.png","contentUrl":"https:\/\/monsterspost.com\/pl\/wp-content\/uploads\/sites\/6\/2020\/03\/Logo-TM.png","width":180,"height":180,"caption":"MonsterPost Polska"},"image":{"@id":"https:\/\/monsterspost.com\/pl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/templatemonster_pl\/","https:\/\/www.pinterest.com\/TM_Polska\/","https:\/\/www.youtube.com\/channel\/UCjXro5nNpRT0p0YY6MGl4sQ","https:\/\/www.facebook.com\/TemplateMonster.Poland\/","https:\/\/twitter.com\/TM_Polska"]},{"@type":"Person","@id":"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/2999e876fc63abe75a8811b5d8e045d8","name":"Katarzyna Paw\u0142owska","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/monsterspost.com\/pl\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5711b6355781e59c81d4da82c476bd97?s=96&d=https%3A%2F%2Fwww.templatemonster.com%2Fblog%2Fwp-content%2Fthemes%2Fredesign%2Fimages%2Fdefault_avatar.jpg&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5711b6355781e59c81d4da82c476bd97?s=96&d=https%3A%2F%2Fwww.templatemonster.com%2Fblog%2Fwp-content%2Fthemes%2Fredesign%2Fimages%2Fdefault_avatar.jpg&r=g","caption":"Katarzyna Paw\u0142owska"},"description":"W bran\u017cy IT od 8 lat. Fan nowych technologii webowych, web designu oraz rozwi\u0105za\u0144 u\u017cytecznych i funkcjonalnych. W praktyce: marketer, DJ, blogerka. W wolnym czasie wspiera inicjatywy propaguj\u0105ce wiedz\u0119 z dziedziny SMM i rozwija swoj\u0105 mi\u0142o\u015b\u0107 do crossfitu.","url":"https:\/\/monsterspost.com\/pl\/author\/katrina\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/posts\/1317"}],"collection":[{"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/users\/2098093"}],"replies":[{"embeddable":true,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/comments?post=1317"}],"version-history":[{"count":2,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/posts\/1317\/revisions"}],"predecessor-version":[{"id":12487,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/posts\/1317\/revisions\/12487"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/media\/1318"}],"wp:attachment":[{"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/media?parent=1317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/categories?post=1317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monsterspost.com\/pl\/wp-json\/wp\/v2\/tags?post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}