<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3949218548793448390</id><updated>2025-01-18T02:27:42.555+03:00</updated><category term="blogger"/><category term="Operatörler"/><category term="Etiketler"/><category term="Parametreler"/><category term="javascript"/><category term="widget"/><category term="windows"/><category term="css"/><category term="dizin"/><category term="network"/><category term="program"/><category term="sponsor"/><category term="önerilen"/><category term="bloggerDev"/><category term="data:Name"/><category term="data:view"/><category term="dev"/><category term="donanım"/><category term="host"/><category term="openSource"/><category term="parametreler1"/><category term="projeler"/><category term="seo"/><category term="tv"/><title type='text'>Tema, plugins, blogger ~ tr25</title><subtitle type='html'>Web Notları</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default?start-index=26&amp;max-results=25'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-7662343587366552998</id><published>2023-12-27T22:02:00.154+03:00</published><updated>2024-05-22T23:22:15.029+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="openSource"/><title type='text'>Sadece CSS ile slider oluşturma motoru</title><content type='html'>&lt;img alt=&quot;Javascript olmadan slider nasıl oluşturulur&quot; class=&quot;none meta-thumbnail&quot; data-nobel-post-media=&quot;&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiNFGvdfMtJSEl_f23o2KGKlvzrKFyXoH0-xA5pcm4lQGx0y_ZdXjl7b-Vzexi3xinIzNJJjj6iTiMxRVC5xpPwzayE1BFkxqMSIT-dIyze1ISdrYlkfYIqACoFvHsbkpsSXVcSXKH51vmom47bUT5ncN6ckY_uS4xzdYhIPzChbEG4_1xBYwqLrejYkvV_=rw&quot; width=&quot;500&quot;&gt;

&lt;p class=&quot;none meta-description&quot;&gt;Javascript olmadan saf CSS ile oluşturulmuş bir kaydırıcı. Mümkün olduğunca hafif ve hızlı olacak şekilde tasarlandı.&lt;/p&gt;

&lt;img alt=&quot;Saf CSS kullanılarak oluşturulan slider&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTY8es5aCnvZygltigoxYe6qc6Eq0Gs7LsYsy_JUM7Rnz6qn1-UzmP5iKuwuO8PJbxdqhdAx5FLurNBQSZsnD1r8inN4RmoboEuarBl71MyG1GycJmFnjN9casOVqYx2G9ghzlG4cH/s900-e30-rw-l80/slider-sin-javascript-solo-con-css.png&quot; width=&quot;900&quot;&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn btn-tertiary&quot; href=&quot;https://github.com/zkreations/SheetSlider/stargazers&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-star test&quot;&gt;&lt;path d=&quot;m12 1.5 3.1 6.3 6.9 1-5 4.8 1.2 6.9-6.2-3.2-6.2 3.2L7 13.6 2 8.8l6.9-1z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Calificar
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://github.com/zkreations/SheetSlider&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-github&quot;&gt;&lt;path d=&quot;M9 22v-3q0-2 1-3A7 6.5 0 0 1 5 5Q4 3 5 1q3 0 4 2 3.5-1 7 0 1-2 4-2 1 2 0 4a7 6.5 0 0 1-5 11q1 1 1 3v3m-7-3c-4 1-4-2-7-3&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Repositorio
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/pen/yLwymyr&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-codepen&quot;&gt;&lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7Zm0 20v-6.5M12 2v6.5&quot;&gt;&lt;/path&gt;&lt;path d=&quot;m22 8.5-10 7-10-7&quot;&gt;&lt;/path&gt;&lt;path d=&quot;m2 15.5 10-7 10 7&quot;&gt;&lt;/path&gt;&lt;/svg&gt;CodePen de görüntüle
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://zkreations.github.io/SheetSlider/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Ana sayfa
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Bu slider çalışmak için JavaScript gerektirmez. zkreations tarafından &lt;strong&gt;sadece saf HTML ve CSS&lt;/strong&gt; ile geliştirilmiştir. Tasarımı duyarlıdır ve tüm modern tarayıcılarla uyumludur.&lt;/p&gt;

&lt;h2 id=&quot;ozellikler&quot;&gt;Özellikler&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;Saf ve modern CSS&lt;/li&gt;
  &lt;li&gt;Bağımlılık yok&lt;/li&gt;
  &lt;li&gt;Hafif  (küçültülmüş  ~ 1kb &lt;a href=&quot;https://www.multiutil.com/text-to-brotli-compress/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Brotli&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Hızlı ve sorunsuz hareket&lt;/li&gt;
  &lt;li&gt;Duyarlı (en boy oranını koruyan)&lt;/li&gt;
  &lt;li&gt;CSS ve Sass değişkenleri ile özelleştirilebilir&lt;/li&gt;
  &lt;li&gt;Kullanımı kolay&lt;/li&gt;
  &lt;li&gt;Aynı sayfada birden fazla slider&lt;/li&gt;
  &lt;li&gt;Açık kaynak&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://raw.githubusercontent.com/zkreations/SheetSlider/master/dist/css/main.min.css&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;main.min.css&lt;/a&gt; dosyasını &lt;code&gt;&amp;lt;/head&amp;gt;&lt;/code&gt; etiketini kapatmadan önce yükleyin ve ekleyin. Barındıracak bir yeriniz yoksa jsdelivr&#39;den bir CDN aracılığıyla ekleyebilirsiniz:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;link href=&#39;//cdn.jsdelivr.net/npm/sheet-slider@3/dist/css/main.min.css&#39; rel=&#39;stylesheet&#39;/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;h2 id=&quot;nasil-kullanilir&quot;&gt;Nasıl kullanılır&lt;/h2&gt;

&lt;p&gt;Slider, yalnızca çalışması için gerekli öğeleri içeren çok temel bir HTML yapısıyla mükemmel bir şekilde çalışabilir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;sheet&quot;&gt;
  &amp;lt;input id=&quot;a1&quot; type=&quot;radio&quot; name=&quot;a&quot; checked&gt;
  &amp;lt;input id=&quot;a2&quot; type=&quot;radio&quot; name=&quot;a&quot;&gt;
  &amp;lt;input id=&quot;a3&quot; type=&quot;radio&quot; name=&quot;a&quot;&gt;
  &amp;lt;div class=&quot;sheet-content&quot;&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
    &amp;lt;/div&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
    &amp;lt;/div&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
    &amp;lt;/div&gt;
  &amp;lt;/div&gt;
  &amp;lt;div class=&quot;sheet-arrows&quot;&gt;
    &amp;lt;label for=&quot;a1&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a2&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a3&quot;&gt;&amp;lt;/label&gt;
  &amp;lt;/div&gt;
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;p&gt;&lt;code&gt;sheet-item&lt;/code&gt; öğelerinin içindeki tüm içerik hareket edenler olacaktır. Bunların mutlaka resim olması gerekmez, herhangi bir HTML öğesi olabilirler.&lt;/p&gt;

&lt;p&gt;Slider da ayrıca gezinme düğmeleri ve açıklayıcı metinler olmak üzere iki isteğe bağlı öğe vardır. Bunları dahil ederseniz, yapı şu şekilde görünecektir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;sheet&quot;&gt;
  &amp;lt;input id=&quot;a1&quot; type=&quot;radio&quot; name=&quot;a&quot; checked&gt;
  &amp;lt;input id=&quot;a2&quot; type=&quot;radio&quot; name=&quot;a&quot;&gt;
  &amp;lt;input id=&quot;a3&quot; type=&quot;radio&quot; name=&quot;a&quot;&gt;
  &amp;lt;div class=&quot;sheet-content&quot;&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
      &amp;lt;!-- description --&gt;
      &amp;lt;div class=&quot;sheet-meta&quot;&gt;
        &amp;lt;h4 class=&quot;sheet-title&quot;&gt;Example title&amp;lt;/h4&gt;
        &amp;lt;p class=&quot;sheet-text&quot;&gt;Text description&amp;lt;/p&gt;
      &amp;lt;/div&gt;
    &amp;lt;/div&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
      &amp;lt;!-- açıklama --&gt;
      &amp;lt;div class=&quot;sheet-meta&quot;&gt;
        &amp;lt;h4 class=&quot;sheet-title&quot;&gt;Example title&amp;lt;/h4&gt;
        &amp;lt;p class=&quot;sheet-text&quot;&gt;Text description&amp;lt;/p&gt;
      &amp;lt;/div&gt;
    &amp;lt;/div&gt;
    &amp;lt;div class=&quot;sheet-item&quot;&gt;
      &amp;lt;img class=&quot;sheet-image&quot; src=&quot;image.jpg&quot;&gt;
      &amp;lt;!-- description --&gt;
      &amp;lt;div class=&quot;sheet-meta&quot;&gt;
        &amp;lt;h4 class=&quot;sheet-title&quot;&gt;Example title&amp;lt;/h4&gt;
        &amp;lt;p class=&quot;sheet-text&quot;&gt;Text description&amp;lt;/p&gt;
      &amp;lt;/div&gt;
    &amp;lt;/div&gt;
  &amp;lt;/div&gt;
  &amp;lt;!-- dots --&gt;
  &amp;lt;div class=&quot;sheet-dots&quot;&gt;
    &amp;lt;label for=&quot;a1&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a2&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a3&quot;&gt;&amp;lt;/label&gt;
  &amp;lt;/div&gt;
  &amp;lt;!-- arrows --&gt;
  &amp;lt;div class=&quot;sheet-arrows&quot;&gt;
    &amp;lt;label for=&quot;a1&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a2&quot;&gt;&amp;lt;/label&gt;
    &amp;lt;label for=&quot;a3&quot;&gt;&amp;lt;/label&gt;
  &amp;lt;/div&gt;
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;p&gt;&lt;strong&gt;Not:&lt;/strong&gt; Etiketlerin &lt;code&gt;for&lt;/code&gt; niteliği girdilerin &lt;code&gt;id&lt;/code&gt;&#39;si eşleşmelidir. Aynı sayfadaki birden fazla slider için, girdilerin &lt;code&gt;name&lt;/code&gt; niteliği farklı olmalı ve etiketlerin &lt;code&gt;for&lt;/code&gt; niteliği ait oldukları kaydırıcının girdilerinin &lt;code&gt;id&lt;/code&gt;&#39;si ile eşleşmelidir.&lt;/p&gt;

&lt;h2 id=&quot;secenekler&quot;&gt;Seçenekler&lt;/h2&gt;

&lt;h3 id=&quot;animasyon-modu&quot;&gt;Animasyon modu&lt;/h3&gt;

&lt;p&gt;İki animasyon modu arasından seçim yapabilirsiniz: &lt;code&gt;fade&lt;/code&gt; ve &lt;code&gt;vertical&lt;/code&gt;. Varsayılan olarak, animasyon modu &lt;code&gt;horizontal&lt;/code&gt;. Değiştirmek isterseniz, ilgili sınıfı ana konteynere eklemeniz yeterlidir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;sheet sheet-fade&quot;&gt;
  ...
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;sheet sheet-vertical&quot;&gt;
  ...
&amp;lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2 id=&quot;ozellestir&quot;&gt;Özelleştir&lt;/h2&gt;

&lt;p&gt;CSS dosyanızda veya &lt;code&gt;:root&lt;/code&gt; seçicisinde değişkenler için yeni değerler tanımlayabilirsiniz. Bu değişkenler, kaydırıcı düzeninde değişiklikler yapmanıza olanak tanır:&lt;/p&gt;

&lt;div class=&quot;ox-auto&quot;&gt;
  &lt;table&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Değişken&lt;/th&gt;
        &lt;th&gt;Açıklama&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-accent&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Color de acento&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-ratio&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Relación de aspecto&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-space&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Espacio entre los elementos&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-arrow-size&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Tamaño de las flechas&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-duration&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Duración de la animación&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-dot-size&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Tamaño de los botones de navegación&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-timing&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Función de tiempo de la animación&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-text-color&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Color del texto&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-text-shadow&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Sombra del texto&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-title-size&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Tamaño de la fuente del título&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-text-size&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Tamaño de la fuente del texto&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-arrow-padding&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Relleno de las flechas&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-arrow-bg&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Color de fondo de las flechas&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-arrow&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;SVG utilizado para las flechas&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-dot-gap&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Espacio entre los botones de navegación&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-dot-bg&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Color de fondo de los botones de navegación&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;code&gt;--sheet-dot-hover&lt;/code&gt;&lt;/td&gt;
        &lt;td&gt;Color de los botones de navegación al pasar el mouse&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
&lt;/div&gt;

&lt;h2 id=&quot;sass-yapilandirma&quot;&gt;Sass yapılandırma&lt;/h2&gt;

&lt;p&gt;Geliştiriciler için &lt;code&gt;inc/_variables.scss&lt;/code&gt; dosyasındaki değerleri değiştirebilir ve Sass ile derleyebilirsiniz. İhtiyaçlarınıza uyacak şekilde değiştirmenizi önerdiğim seçeneklerden biri şudur:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-scss&quot;&gt;$slider-items: 10 !default;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;p&gt;Css zaten son derece optimize edilmiş olsa da, kaydırıcı ne kadar çok öğeye sahip olursa, ortaya çıkan dosya o kadar ağır olacaktır. Varsayılan değer 10&#39;dur, bu da kaydırıcının &lt;strong&gt;en fazla 10 öğeye sahip olabileceği&lt;/strong&gt; anlamına gelir.&lt;/p&gt;

&lt;h2 id=&quot;otomatik-mod&quot;&gt;Otomatik mod&lt;/h2&gt;

&lt;p&gt;Kaydırıcının otomatik modu yoktur, ancak JavaScript ile kolayca ekleyebilirsiniz. Değerin slaytları değiştirmek için gereken &lt;strong&gt;milisaniye sayısı&lt;/strong&gt; olduğunu göz önünde bulundurarak ana konteynere &lt;code&gt;data-sheet-time&lt;/code&gt; özelliğini eklemeniz yeterlidir:&lt;/p&gt;&lt;p&gt;

&lt;/p&gt;&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;codetabs&quot;&gt;
    &lt;input id=&quot;tab-d1&quot; type=&quot;radio&quot; name=&quot;autoSlider&quot; checked=&quot;checked&quot;&gt;
    &lt;label for=&quot;tab-d1&quot;&gt;HTML&lt;/label&gt;
    &lt;div class=&quot;highlight&quot;&gt;
      &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;sheet&quot; data-sheet-time=&quot;3000&quot;&gt;
  ...
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
    &lt;/div&gt;
    &lt;input id=&quot;tab-d2&quot; type=&quot;radio&quot; name=&quot;autoSlider&quot;&gt;
    &lt;label for=&quot;tab-d2&quot;&gt;JS&lt;/label&gt;
    &lt;div class=&quot;highlight&quot;&gt;
      &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;function initializeSlider(slider) {
  const time = slider.dataset.sheetTime || 3000
  const inputs = slider.querySelectorAll(&#39;input&#39;)
  let index = 0
  let intervalId

  function updateInputState() {
    inputs[index].checked = false
    index = (index + 1) % inputs.length
    inputs[index].checked = true
  }

  function startInterval() {
    index = Array.from(inputs).findIndex(input =&gt; input.checked) || 0;
    intervalId = setInterval(updateInputState, time)
  }

  const stopInterval = () =&gt; clearInterval(intervalId)

  startInterval()

  slider.addEventListener(&#39;mouseenter&#39;, stopInterval)
  slider.addEventListener(&#39;mouseleave&#39;, startInterval)
}

document.querySelectorAll(&#39;[data-sheet-time]&#39;)
  .forEach(initializeSlider)&lt;/code&gt;&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Bu, JavaScript olmadan bir kaydırıcı olma amacını kaybedeceği için projeye dahil edilmemiştir. Ayrıca çok basit bir çözümdür, ihtiyaçlarınıza göre uyarlamanız gerekecektir. Kodun &lt;a href=&quot;https://codepen.io/zkreations/pen/yLwymyr&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;bir örneğini codepen&lt;/a&gt; de görebilirsiniz.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu kaydırıcıyı ilk kez 2014 yılında geliştirildi. Mevcut kodla karşılaştırırsanız, birçok şey değiştiğini göreceksiniz. Bu nedenle, bakımı ve özelleştirmeyi kolaylaştırmak için sıfırdan yeniden yazılmıştır.&lt;/p&gt;

&lt;p&gt;Bu projeyi beğendiyseniz, sosyal ağlarınızda paylaşarak veya &lt;a href=&quot;https://github.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;GitHub&#39;da yıldız&lt;/a&gt; bırakarak beni destekleyebilirsiniz. Her türlü yorum veya öneriye açığız. Okuduğunuz için çok teşekkür ederim.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/7662343587366552998/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2024/05/slider-css3-responsive.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7662343587366552998'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7662343587366552998'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2024/05/slider-css3-responsive.html' title='Sadece CSS ile slider oluşturma motoru'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEiNFGvdfMtJSEl_f23o2KGKlvzrKFyXoH0-xA5pcm4lQGx0y_ZdXjl7b-Vzexi3xinIzNJJjj6iTiMxRVC5xpPwzayE1BFkxqMSIT-dIyze1ISdrYlkfYIqACoFvHsbkpsSXVcSXKH51vmom47bUT5ncN6ckY_uS4xzdYhIPzChbEG4_1xBYwqLrejYkvV_=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-4029995434999749426</id><published>2023-12-25T11:33:00.186+03:00</published><updated>2024-05-20T14:16:33.130+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><title type='text'>Yeni yayınlarınızı göndermek için Telegram&#39;ı kullanın</title><content type='html'>&lt;img alt=&quot;Como crear un bot de telegram para enviar mis nuevas publicaciones a un canal de telegram gratis&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh5oZzXtdmnfF2QbbSaTPn041NRJ_LKgndl79GDcxKZjG3N3fJQS_iMZ_EDKeKVNHpqEBB-78Oaa8ckNyZ0H81g-Le_ilN-SfGhgMxsCdWyNcS6dPCKVYUfx1qa6zBWwKjdqUUYHFPWl_FZ8IAkazOZORWCDd-KHGrWuEmcthYPJuEaC2pnJNwxSH-hIUMk=rw&quot; width=&quot;500&quot;&gt;

&lt;img alt=&quot;Bot para enviar mis nuevas publicaciones a un canal de telegram gratis&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6IMroDGwuchQcH4nyYnmLvy-1js7ob0BcRTEH7iN-3hGAJnCC6VvyXtTKfl3fkU0GlrqB5XuMxsCxA5oij6UxXEUeAiFMjiPipYNOKusfpMnswb0uZQ_IwAqZ7CK7M9Wl1WObtMgJ/s900-e30-rw-l80/envia-tus-entradas-nuevas-canal-telegram-json-feeds.png&quot; width=&quot;900&quot;&gt;

&lt;p&gt;Bir önceki yazıda, &lt;a href=&quot;https://www.zkreations.com/2023/08/crea-y-aloja-un-bot-de-telegram-gratis.html&quot;&gt;ücretsiz bir Telegram botunun nasıl oluşturulacağını ve barındırılacağını&lt;/a&gt; öğrenmiştik ve sonunda ona ilginç özellikler ekleyeceğimizi söylemiştik. İşte bu da onlardan biri, yeni yayınlarınızı (hem Blogger hem de WordPress) Telegram kanallarınızdaki abonelerinize bildirmenize olanak tanıyacak.&lt;/p&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;h2 id=&quot;gereksinimler&quot;&gt;Gereksinimler&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Bir Telegram botunun nasıl oluşturulacağına&lt;/a&gt; ilişkin öğreticiyi tamamladınız.&lt;/li&gt;
  &lt;li&gt;Bir &lt;a href=&quot;https://telegram.org/faq_channels/es#p-que-es-un-canal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Telegram kanalı&lt;/a&gt; oluşturun (genel veya özel olabilir).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;calisani-yapilandirma&quot;&gt;Çalışanı yapılandırma&lt;/h2&gt;

&lt;p&gt;Koddaki değişiklikleri uygulamadan önce her şeyi hazırlamamız gerektiğinden, &lt;a href=&quot;https://dash.cloudflare.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Cloudflare&#39;deki ayarlarda&lt;/a&gt; bazı değişiklikler yapacağız.&lt;/p&gt;

&lt;h3 id=&quot;kv-ad-alani-olusturma&quot;&gt;KV ad alanı oluşturma&lt;/h3&gt;

&lt;p&gt;İlk olarak, sol menüden &quot;&lt;strong&gt;Çalışanlar ve Sayfalara&lt;/strong&gt;&quot; gidin, &quot;&lt;strong&gt;KV&lt;/strong&gt;&quot; seçin, &quot;Ad Alanı Oluştur &quot;a tıklayın, bir isim verin ve değişiklikleri kaydedin.&lt;/p&gt;

&lt;img alt=&quot;Workers y Pages KV&quot; height=&quot;218&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdrncA_juuTOFfEnQ8s8VQUdO3P23YsDlI6QKciKnF2n7Vo1x14V9T0M3qpfLk7kNG049oxcb-KPSgHcxF-1lMrcRBEQscE-2yptLD70XPuZveUEUW1tdG-XUugHl1VCYJz3nUuIHN/s900-e30-rw-l80/crear-espacio-de-nombres-kv-cloudflare.png&quot; width=&quot;740&quot;&gt;

&lt;h3 id=&quot;ortam-degiskenleri-olusturma&quot;&gt;Ortam değişkenleri oluşturma&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Çalışanlar ve Sayfalara&lt;/strong&gt; &lt;strong&gt;Genel Bakışa&lt;/strong&gt; gidin, çalışanınıza tıklayın ve Ayarlar&#39;a gidin. Burada Değişkenler bölümünü seçin ve &quot;Ortam değişkenleri&quot; altında &quot;Değişkenleri düzenle&quot; tıklayın:&lt;/p&gt;

&lt;img alt=&quot;Editar variables de entorno&quot; height=&quot;181&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-MMsNvJqgKZlqPhRJxNgiJkaLIT1PgivlmYVbKri2Wg_R9rrkpt3Vmb62rCPFjKDWK9dgyamhbCcIQkt0eag8GarGIoQ1AF0wg7LVbFXfC2ii5nFx718wjl88469Q3HVvoy65xMoK/s900-e30-rw-l80/editar-variables-de-entorno.png&quot; width=&quot;740&quot;&gt;

&lt;p&gt;&quot;Değişken adı&quot; alanına &lt;strong&gt;CURRENT_FEED&lt;/strong&gt; yazın ve &quot;Değer&quot; alanına örneğin bir &lt;strong&gt;Blogger veya WordPress&lt;/strong&gt; beslemesinin URL&#39;sini ekleyin:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;codetabs&quot;&gt;
    &lt;input id=&quot;tab-d1&quot; type=&quot;radio&quot; name=&quot;feeds&quot; checked=&quot;checked&quot;&gt;
    &lt;label for=&quot;tab-d1&quot;&gt;Blogger&lt;/label&gt;
    &lt;div class=&quot;highlight&quot;&gt;
      &lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;https://www.example.com/feeds/posts/default?alt=json&amp;max-results=1&lt;/code&gt;&lt;/pre&gt;
    &lt;/div&gt;
    &lt;input id=&quot;tab-d2&quot; type=&quot;radio&quot; name=&quot;feeds&quot;&gt;
    &lt;label for=&quot;tab-d2&quot;&gt;Wordpress&lt;/label&gt;
    &lt;div class=&quot;highlight&quot;&gt;
      &lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;https://www.example.com/wp-json/wp/v2/posts?per_page=1&lt;/code&gt;&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Değişiklikleri kaydedin ve aynı bölümde &quot;&lt;strong&gt;KV ad alanı bağlantıları&lt;/strong&gt;&quot; bulana kadar aşağı kaydırın. &lt;strong&gt;Değişken adı&lt;/strong&gt; alanının &lt;strong&gt;KV_STORAGE_FEED&lt;/strong&gt; olması gereken yeni bir değişken ekleyin ve &quot;Değer&quot; alanında daha önce oluşturduğunuz ad alanını seçin, son olarak değişiklikleri kaydedin.&lt;/p&gt;

&lt;h3 id=&quot;tetikleyicileri-yapilandirma-tetikleyiciler&quot;&gt;Tetikleyicileri Yapılandırma / Tetikleyiciler&lt;/h3&gt;

&lt;p&gt;Değişken yapılandırmasını tamamladıktan sonra, &quot;&lt;strong&gt;Tetikleyiciler&lt;/strong&gt;&quot; sekmesine gidin, &quot;&lt;strong&gt;Cron tetikleyicileri&lt;/strong&gt;&quot; bulmak için aşağı kaydırın ve &quot;Tetikleyici ekle &quot;ye tıklayın.&lt;/p&gt;


&lt;img alt=&quot;Configurar activador en cloudflare gratis&quot; height=&quot;365&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACuGmt9Ib-6KQvyrKbLcrB1nyDd0AaLoXjpdmQZl5R6KIrBNTXvOLb-N8C3OtoX0ObM3rFp9k2-exW1q-gFXrBpNQj_6at665mUkcLd_lIXtpu_UXBcj8wQcLWDce9puzeogXdIC2/s900-e30-rw-l80/configurar-triggers-activadores-cloudflare.png&quot; width=&quot;740&quot;&gt;

&lt;p&gt;Yalnızca tetikleyicinin çalışmasını istediğiniz zaman aralığını belirtmeniz gerekir; örneğin, 30 dakika belirtirseniz bot her 30 dakikada bir &lt;strong&gt;yeni gönderileri kontrol edecektir&lt;/strong&gt;.&lt;/p&gt;

&lt;h2 id=&quot;kodu-ekleyin&quot;&gt;Kodu ekleyin&lt;/h2&gt;

&lt;p&gt;Her şeyi doğru yaptıysanız, tebrikler, neredeyse bitirdik. Şimdi &quot;Hızlı düzenleme&quot; düğmesine basarak kodu düzenleyelim, burada zaten &lt;a href=&quot;url&quot;&gt;önceki eğitime&lt;/a&gt; karşılık gelen bir kodumuz olduğunu unutmayın.&lt;/p&gt;

&lt;h3 id=&quot;yeni-degiskenler&quot;&gt;Yeni değişkenler&lt;/h3&gt;

&lt;p&gt;Kodun ilk satırında bir boşluk bırakın ve daha önce ayarladığımız &lt;strong&gt;ortam değişkenlerine&lt;/strong&gt; atıfta bulunacak aşağıdaki değişkenleri ekleyin.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;const FEED = CURRENT_FEED
const KV_NAMESPACE = KV_STORAGE_FEED&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;kanal-elde-etme-fonksiyonu&quot;&gt;Kanal elde etme fonksiyonu&lt;/h3&gt;

&lt;p&gt;Bu fonksiyonun görevi, botun yönetici olarak eklendiği tüm kanalların ID&#39;sini saklayan nesneyi almak ve ayrıştırmak olacaktır. Bu daha sonrası için önemlidir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;// Obtiene los canales de KV
async function getChannels () {
  let channels = await KV_NAMESPACE.get(&#39;channels&#39;) || {}

  // Si channels no es un objeto, convertirlo
  if (typeof channels !== &#39;object&#39;) {
    channels = JSON.parse(channels)
  }

  return channels
}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;kanal-listesini-yonetme-islevi&quot;&gt;Kanal listesini yönetme işlevi&lt;/h3&gt;

&lt;p&gt;Bot bir kanala eklendiğinde, bu fonksiyon ID&#39;yi kanal adıyla birlikte isim alanımıza eklemeye özen gösterecektir. Bot bir kanaldan çıkarılırsa, bu kimlik de kayıt defterinden silinecektir.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;// Üyelik durumunu yönetir
// https://core.telegram.org/bots/api#chatmember
async function manageMember (member) {
  const chatTitle = member.chat.title
  const chatId = member.chat.id
  const chatType = member.chat.type

  // bot durumu (administrator, kicked, left, member, restricted, creator)
  const status = member.new_chat_member.status

  // Si el tipo de chat no es &quot;channel&quot;, no hacer nada
  if (chatType !== &#39;channel&#39;) {
    return
  }

  // Obtener los canales de KV o crear un objeto vacío
  const channels = await getChannels()

  // Si el bot es &quot;administrator&quot;, agregar y almacenarlo en KV
  if (status === &#39;administrator&#39;) {
    channels[chatId] = chatTitle
    await KV_NAMESPACE.put(&#39;channels&#39;, JSON.stringify(channels))
  }

  // Si el estado es &quot;left&quot; o &quot;kicked&quot;, eliminar el canal de KV
  if (status === &#39;left&#39; || status === &#39;kicked&#39;) {
    delete channels[chatId]
    await KV_NAMESPACE.put(&#39;channels&#39;, JSON.stringify(channels))
  }
}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;guncelle-onupdate-fonksiyonu&quot;&gt;Güncelle onUpdate fonksiyonu&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;url&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Önceki derste&lt;/a&gt; bu fonksiyonu zaten oluşturmuştuk, ancak bu özellik için değiştirilmesi gerekecek. &lt;code&gt;onUpdate()&lt;/code&gt; fonksiyonunu bulun ve bu yeni versiyonla değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;async function onUpdate (update) {
  // Güncelleme bir mesaj içeriyorsa, &quot;onMessage&quot; işlevi çağrılır..
  if (&#39;message&#39; in update) {
    await onMessage(update.message)
  }

  // Si es un estado de miembro, se llama a la función &quot;manageMember&quot;.
  if (&#39;my_chat_member&#39; in update) {
    await manageMember(update.my_chat_member)
  }
}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;beslemeyi-yonetme-islevi&quot;&gt;Beslemeyi yönetme işlevi&lt;/h3&gt;

&lt;p&gt;Bu işlev &lt;strong&gt;beslemeyi alır&lt;/strong&gt;, Blogger&#39;dan mı yoksa WordPress&#39;ten mi olduğunu ayırt eder, en son gönderiyi alır ve kanallarınıza gönderir. Bu süreçte, gelecekteki karşılaştırmalar için KV ad alanında &lt;strong&gt;son gönderinin kimliğini de saklayacaktır&lt;/strong&gt;.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;// Güncellemeleri eşzamansız olarak işleme
async function handleScheduled (event) {
  try {
    // Obtener el enlace de la entrada (Solo Blogger)
    function getLink (links) {
      for (const link of links) {
        if (link.rel === &#39;alternate&#39;) {
          return link.href
        }
      }
    }

    // Blogger veya WordPress feed alın
    const feed = await fetch(FEED)
    const data = await feed.json()

    // Beslemenin Blogger&#39;dan olup olmadığını kontrol edin
    const isBlogger = data.feed

    // En son besleme girişini alın
    const newEntry = isBlogger ? data.feed.entry[0] : data[0]

    // En son girişin ve KV&#39;nin kimliğini alın
    const newEntryId = isBlogger ? newEntry.id.$t : newEntry.id
    const getEntryId = await KV_NAMESPACE.get(&#39;currentEntryId&#39;)

    // Yazı kimliğini sayıya dönüştürme (yalnızca WordPress)
    const currentEntryId = isBlogger ? getEntryId : Number(getEntryId)

    // Yeni bir giriş kimliği varsa, tüm kanallara gönderin.
    if (!currentEntryId || newEntryId !== currentEntryId) {
      // Actualizar la ID de la entrada almacenado en KV
      await KV_NAMESPACE.put(&#39;currentEntryId&#39;, newEntryId)

      // Girişin başlığını ve bağlantısını alın
      const title = isBlogger ? newEntry.title.$t : newEntry.title.rendered
      const link = isBlogger ? getLink(newEntry.link) : newEntry.link

      // Mesaj metnini ayarlayın
      const messageText = `${title}\n${link}`

      const channels = await getChannels()

      // Tüm kanallara mesaj gönderin
      for (const channelId of Object.keys(channels)) {
        await sendPlainText(channelId, messageText)
      }
    }
  } catch (error) {
    console.error(&#39;Error al obtener o procesar el feed:&#39;, error)
  }
}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Şimdi, sadece &lt;code&gt;scheduled&lt;/code&gt; olayda &lt;code&gt;handleScheduled&lt;/code&gt; işlevini çağırmamız gerekiyor. Bunu yapmak için aşağıdaki kodu önceki işlevin altına ekleyin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;// Güncellemeleri göndermek için düzenli aralıklarla çalışır
addEventListener(&#39;scheduled&#39;, event =&gt; {
  event.waitUntil(handleScheduled(event))
})&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&quot;Kaydet ve dağıt&quot; düğmesine basın ve işiniz bitti. Şimdi botunuzu bir &lt;strong&gt;telegram kanalına yönetici olarak eklemeniz&lt;/strong&gt; yeterlidir ve güncellemelerinizi göndermeye başlayacaktır.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu, abonelerinizi e-postalara boğmak zorunda kalmadan yeni yayınlarınızdan haberdar etmenin harika, kullanışlı ve ücretsiz bir yoludur. Bu kodun çalıştığını görmek istiyorsanız, &lt;a href=&quot;https://t.me/+DqYVLDYNGW1lZmMx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;buradaki Telegram kanalına&lt;/a&gt; abone olabilir ve güncellemeleri kontrol edebilirsiniz.&lt;/p&gt;

&lt;p&gt;Herhangi bir sorunuz veya öneriniz varsa, yorumlarda bırakmaktan çekinmeyin. Bu yazıyı sosyal ağlarınızda paylaşmayı unutmayın. Uğradığınız için çok teşekkür ederim.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/4029995434999749426/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2024/05/blogger-wordpress-beslemeleri-gondermek-icin-telegram-botu-nasil-olusturulur.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4029995434999749426'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4029995434999749426'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2024/05/blogger-wordpress-beslemeleri-gondermek-icin-telegram-botu-nasil-olusturulur.html' title='Yeni yayınlarınızı göndermek için Telegram&#39;ı kullanın'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEh5oZzXtdmnfF2QbbSaTPn041NRJ_LKgndl79GDcxKZjG3N3fJQS_iMZ_EDKeKVNHpqEBB-78Oaa8ckNyZ0H81g-Le_ilN-SfGhgMxsCdWyNcS6dPCKVYUfx1qa6zBWwKjdqUUYHFPWl_FZ8IAkazOZORWCDd-KHGrWuEmcthYPJuEaC2pnJNwxSH-hIUMk=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-2378602510213205138</id><published>2023-12-07T19:04:00.063+03:00</published><updated>2024-05-22T23:10:10.768+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bloggerDev"/><title type='text'>Boş olmaları halinde bölümleri veya widget&#39;ları yüklemekten kaçınmak </title><content type='html'>&lt;p&gt;Blogger birçok etikete sahiptir, bunlardan bazıları &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/2016/03/tag-b-section.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;b:section&lt;/a&gt; ve &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/2016/03/tag-b-widget.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;b:widget&lt;/a&gt; etiketleri gibi sayfanın kaynak kodunda görülebilir. Bu etiketlerin kullanımını derinlemesine açıklamayacağım, sadece onları koşullandırmamızı sağlayan &lt;code&gt;cond&lt;/code&gt; niteliğine odaklanacağız.&lt;/p&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;h2 id=&quot;durum&quot;&gt;Durum&lt;/h2&gt;

&lt;p&gt;Bölüm etiketleri zorunlu HTML oluşturur ve içerik olmasa bile oluşturulur. Ancak Blogger geliştiricinin, durumu ele alması için “no-items” sınıfını ekler:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:section id=&#39;aside&#39;/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;code-explained&quot;&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&quot;no-items section&quot; id=&quot;aside&quot;&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;Öte yandan, &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/2019/04/widget-popularPosts.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Popüler Yazılar widget&lt;/a&gt;&#39;ı gibi makaleleri işleyen widget&#39;lar, makale içermeseler bile görüntülenmeye devam edeceklerdir. Elbette CSS kullanabilir ve her iki durum için de sorunu kolayca çözebiliriz. Ancak biz profesyonel ve düzenli olmak için buradayız.&lt;/p&gt;

&lt;h2 id=&quot;kosullandirma-bolumleri&quot;&gt;Koşullandırma bölümleri&lt;/h2&gt;

&lt;p&gt;Bir bölümü koşullandırmak için sadece &lt;code&gt;cond&lt;/code&gt; niteliğini eklememiz gerekir, yapacağımız şey gösterilecek bölüm için sonucu &lt;strong&gt;booleano&lt;/strong&gt; olacak bir ifade eklemektir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;  &amp;lt;b:section cond=&#39;data:widgets any (w =&gt; w.sectionId == &quot;aside&quot;)&#39; id=&#39;aside&#39;/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Yaptığımız şey, o anda aktif ve görünür olan tüm widget&#39;lar hakkında bilgi içeren &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/1979/12/Ressource-data-widgets.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;evrensel widgets değişkenini&lt;/a&gt; çağırmak. Her bir widget&#39;ın özelliklerinden biri, ait olduğu bölümün id&#39;sini içeren &lt;code&gt;sectionId&lt;/code&gt;&#39;dir. Daha sonra &lt;strong&gt;belirtilen id&#39;ye sahip bölüme&lt;/strong&gt; ait en az bir widget olup olmadığını değerlendiririz. Eğer varsa, bölüm görüntülenir aksi takdirde görüntülenmez.&lt;/p&gt;

&lt;h2 id=&quot;kosullandirma-widgets&quot;&gt;Koşullandırma widget&#39;ları&lt;/h2&gt;

&lt;p&gt;Bu widget&#39;lar için farklıdır, ancak çok az kişinin farkında olduğu bir özellik, &lt;strong&gt;ana etiketin widget türüne karşılık gelen tüm verileri de okuyabilmesidir&lt;/strong&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:widget cond=&#39;data:posts.any&#39; id=&#39;PopularPost1&#39; type=&#39;PopularPost&#39;/&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Bu kadar basit, eğer widget&#39;ın gönderileri varsa görüntülenecek, yoksa görüntülenmeyecektir. Bu mümkündür çünkü gönderiler tablosu &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/1971/08/data-posts.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;PopularPost&lt;/a&gt; widget türüne karşılık gelen bir veridir, bu nedenle ona üst etiketten erişebiliriz.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu katkının çok kısa olduğunu biliyorum ama bu sadece bir başlangıç, ilgi görürsem çok az kişinin bildiği daha ilginç nitelikleri de paylaşacağım. Eminim ki paylaşacağım her şey sizi şaşırtacak. Herhangi bir sorunuz varsa, yorumlarda bırakmaktan çekinmeyin ve bu katkıyı takipçilerinizle paylaşmayı unutmayın. Beni okuduğunuz için çok teşekkür ederim.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/2378602510213205138/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/12/bos-widget-veya-bolumleri-gizlemek.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/2378602510213205138'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/2378602510213205138'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/12/bos-widget-veya-bolumleri-gizlemek.html' title='Boş olmaları halinde bölümleri veya widget&#39;ları yüklemekten kaçınmak '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-7328846421098782728</id><published>2023-12-02T14:10:00.078+03:00</published><updated>2024-05-12T22:55:39.153+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger&#39;dan CSS ve Javascript&#39;i tamamen kaldırın</title><content type='html'>&lt;img alt=&quot;Mejorar rendimiento de Blogger eliminar JS web vitals&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEi_b6mS-bQl1hJdITPSfMrQ9-dmPj9KRPLgKb9IWO63wwyJx-cXHk4iFYLHmwDooa8lnLsAT5LENAvDvxbHtzAbEjRYuyp7V3OnCx9VchW1o69_PZdWWpNAEMuptlBqOGZJFE15DcidMLmNs7PYHGdRPScEUO0S187hbo6tdQSWpJB04ZGryog6rM6HbX0=rw&quot; width=&quot;500&quot;&gt;

&lt;p&gt;&lt;img alt=&quot;Eliminar correctamente codigo js de Blogger Pagespeed&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTD9pO-Ffxip3IUBk6YwJZi0n5MDBZTNeOyGHqO5HBYQXyJ59dY-s8rMf1_Ulw31_EhPfK0LyXZZD15L_L-mCUV3nK8a-zwjPBpn9NQvgDxWx9bfOy2mwYt9GqY5l2ZRCXBEq0D8Ab/s900-e30-rw-l80/eliminar-css-js-blogger-definitivamente-sin-errores.png&quot; width=&quot;900&quot;&gt;&lt;/p&gt;

&lt;p&gt;Blogger varsayılan olarak üstbilgi ve altbilgiye CSS ve JavaScript kodu ekler, bu &lt;strong&gt;resmi temalar&lt;/strong&gt; için yararlıdır, ancak yükleme süresini artırdığı ve sayfanın üst kısmının oluşturulmasını yavaşlattığı için &lt;strong&gt;performansa zarar verir&lt;/strong&gt;. Kendi şablonunuzu geliştiriyorsanız bu dosyalar gerekli değildir, aslında bunları kaldırmak sizin yararınızadır ve burada size bunu nasıl yapacağınızı göstereceğim.&lt;/p&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;h2 id=&quot;widget-css-bundlecss-devre-disi-birakmak&quot;&gt;widget_css_bundle.css devre dışı bırakmak&lt;/h2&gt;

&lt;p&gt;Bu bir CSS sıfırlamasıdır, ayrıca widget&#39;lar ve bazı hack&#39;ler için stiller içerir. Dosya Blogger tarafından otomatik olarak &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; altına eklenir, kaldırmak için &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; etiketine &lt;code&gt;b:css=&#39;false&#39;&lt;/code&gt; eklemek kadar basittir, bunun gibi:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;html b:css=&#39;false&#39;&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;h2 id=&quot;widgetjs-devre-disi-birakmak&quot;&gt;widget.js devre dışı bırakmak&lt;/h2&gt;

&lt;p&gt;Blogger&#39;ın eklediği, widget&#39;lara işlevsellik katan ve bazı özellikleri etkinleştiren en önemli javascript dosyası. Bunu kaldırmak için &lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt; etiketine aşağıdaki gibi &lt;code&gt;b:js=&#39;false&#39;&lt;/code&gt; eklemeliyiz:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;html b:js=&#39;false&#39;&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Ancak bekleyin, bu dosyayı silmek bazı sorunlar getirecektir, eğer silerseniz bunu bilmeniz önemlidir:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;İletişim formu widget&#39;ı artık çalışmayacaktır.&lt;/li&gt;
&lt;li&gt;Blogger&#39;da “Tasarım” sekmesini kullanamayacaksınız.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bu nedenle, belirli bir zamanda bu özelliklerden herhangi birine ihtiyaç duyarsanız, kodun tekrar çalışmasını sağlamak için değişiklikleri geri almanız gerekecektir.&lt;/p&gt;

&lt;h2 id=&quot;javascript-kullanarak-widgetjs-kaldirma&quot;&gt;Javascript kullanarak widget.js kaldırma&lt;/h2&gt;

&lt;p&gt;Bu yöntem Blogger&#39;da “Tasarım” sekmesini kullanmanıza izin verir. Ancak iletişim formu widget&#39;ı yine de çalışmaz ve çerez uyarısı da görüntülenmez. Bunu yapmak için &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; ifadesini arayın ve şu şekilde değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token entity named-entity&quot; title=&quot;&lt;&quot;&gt;&amp;amp;lt;&lt;/span&gt;textarea hidden id=&#39;bjs&#39;&amp;gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token entity named-entity&quot; title=&quot;&lt;&quot;&gt;&amp;amp;lt;&lt;/span&gt;/textarea&amp;gt;
&lt;span class=&quot;token entity named-entity&quot; title=&quot;&lt;&quot;&gt;&amp;amp;lt;&lt;/span&gt;/body&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Not:&lt;/strong&gt; &lt;code&gt;hidden&lt;/code&gt; özelliğine sahip etiketlerin hiç gösterilmediğinden emin olun, eğer durum böyle değilse aşağıdaki css kodunu ekleyebilirsiniz:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;[hidden] { display: none }&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Bu noktada, &lt;code&gt;widget.js&lt;/code&gt;&#39;nin çalışmasını zaten engelledik, ancak henüz kodu kaldırmadık veya çerez uyarısını geri döndürmedik. Her ikisini de başarmak için aşağıdaki javascript kodunu ekleyin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-js&quot;&gt;const REG_EXP = /cookieOptions\.(\w+)\) \|\| &#39;(.+)&#39;/g
const cookieJs = &#39;/js/cookienotice.js&#39;

const textarea = document.getElementById(&#39;bjs&#39;)

const loadScript = (src) =&gt; new Promise((resolve, reject) =&gt; {
  const $script = document.createElement(&#39;script&#39;)
  $script.src = src
  $script.onload = resolve
  $script.onerror = reject
  document.body.appendChild($script)
})

const decodeHtml = (string) =&gt; {
  return string.replace(/\\x(\w{2})/g, (_, hex) =&gt; String.fromCharCode(parseInt(hex, 16)))
}

const loadCookieScript = () =&gt; {
  const textareaContent = textarea.value
  const cookieOptions = window.cookieOptions || {}
  const Default = {}

  textareaContent.replace(REG_EXP, (_, key, value) =&gt; {
    Default[key] = decodeHtml(value)
  })

  if (textareaContent.includes(cookieJs)) {
    loadScript(new URL(cookieJs, window.location.origin).href)
      .then(() =&gt; {
        const {
          msg = Default.msg,
          close = Default.close,
          learn = Default.learn,
          link = Default.link
        } = cookieOptions

        if (typeof window.cookieChoices?.showCookieConsentBar === &#39;function&#39;) {
          // eslint-disable-next-line no-undef
          cookieChoices.showCookieConsentBar(msg, close, learn, link)
        }
      })
      .catch((err) =&gt; {
        console.error(err)
      })
  }
}

if (textarea) {
  loadCookieScript()
  textarea.remove()
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Artık iletişim formu widget&#39;ı dışında her şey düzgün çalışmalıdır; bunu &lt;a href=&quot;https://formspree.io/&quot;&gt;Formspree&lt;/a&gt; gibi Pure HTML ile çalışan, müdahaleci olmayan harici bir hizmetle değiştirmenizi tavsiye ederim. Bunu &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/zkreations/hamlet&quot;&gt;zkreations Hamlet geliştirme temasında&lt;/a&gt; görebilirsiniz.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Üçüncü taraf bir tema kullanıyorsanız ve bu dosyalar devre dışı bırakılmamışsa, önemli işlevleri kaybedebileceğiniz için &lt;strong&gt;bunları kaldırmamanızı&lt;/strong&gt; tavsiye ederim. Ancak, kendi temanız üzerinde çalışıyorsanız, &lt;strong&gt;daha iyi bir performans elde etmek&lt;/strong&gt; ve şablonunuzun gelişimini iyileştirmek için bunları kaldırabilirsiniz. Okuduğunuz için çok teşekkür ederim, umarım yardımcı olmuştur.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/7328846421098782728/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2024/05/bloggerdan-css-ve-javascripti-tamamen-kaldirin.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7328846421098782728'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7328846421098782728'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2024/05/bloggerdan-css-ve-javascripti-tamamen-kaldirin.html' title='Blogger&#39;dan CSS ve Javascript&#39;i tamamen kaldırın'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEi_b6mS-bQl1hJdITPSfMrQ9-dmPj9KRPLgKb9IWO63wwyJx-cXHk4iFYLHmwDooa8lnLsAT5LENAvDvxbHtzAbEjRYuyp7V3OnCx9VchW1o69_PZdWWpNAEMuptlBqOGZJFE15DcidMLmNs7PYHGdRPScEUO0S187hbo6tdQSWpJB04ZGryog6rM6HbX0=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-4757312933769678346</id><published>2023-12-01T00:27:00.050+03:00</published><updated>2024-05-12T23:15:22.108+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger çerez bildirimini özelleştirme</title><content type='html'>&lt;img alt=&quot;Personalizar aviso cookieChoiceInfo Google Blogger UE&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjzshUR5MSWQJJJFVlIIVcUKHTc6WXJv2RJ6YAqr4oGkVLlIPb8QpUIQQTZczab5u_ZocOcS8qUobwD5tMD_xHc31w6cHlZk50DYruX7mqO918NdqOXZuTBoFSeOeKGhiD5kOK7lHn5Q9R9VYAFcxAz9m1ucuawc5mANATknM8_hqq1Jm7SbI33UqeTndw=rw&quot; width=&quot;500&quot;&gt;

&lt;p&gt;&lt;img alt=&quot;Kolay Blogger Özel Çerez Bildirimi&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_cC4E17CCws8KdDh3wKdwI10r0Adbri-crun-1B4O6eh-umLe1lrhjrxxicLHiMw-wJ2At0KvOjDHjYq2Tol6h-7u0ftQ6xIrAcKBcWUJ7RCZqlvZTJ8t34riLWb-Wbxt1yJ4so2/s900-e30-rw-l80/personalizar-aviso-cookies-blogger-google-facil.png&quot; width=&quot;900&quot;&gt;&lt;/p&gt;

&lt;p&gt;Blogger&#39;da bulunan çerez uyarısı Google&#39;dan gelir, bu nedenle Blogger arayüzünden değiştirmek mümkün değildir. Ancak CSS ve JavaScript kullanarak görünümünü değiştirebiliriz.&lt;/p&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;h2 id=&quot;stiller&quot;&gt;Stiller&lt;/h2&gt;

&lt;p&gt;Çerez bildirimine kişisel ve daha modern bir dokunuş katacak bazı temel stilleri bulabilirsiniz. Bunları eklemek için Tema &amp;gt; Özelleştir &amp;gt; Gelişmiş &amp;gt; CSS Ekle&#39;ye gidin ve aşağıdaki kodu yapıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
  &lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;/* Dolgu ve kenarlığı normalleştirme */
#cookieChoiceInfo,
#cookieChoiceInfo * { box-sizing: border-box }

/* Konteyner */
#cookieChoiceInfo {
  padding: 1.5rem;
  inset: auto 0 0;
  line-height: 1.5;
  background-color: rgb(0 0 0 / 90%);
  animation: 1s forwards cookies;
  transform: translateY(200%);
}

/* İç konteyner */
#cookieChoiceInfo .cookie-choices-inner {
  font-size: 1rem;
  color: white;
}

/* Metin */
#cookieChoiceInfo .cookie-choices-text {
  margin: 0;
  display: inline;
}

/* Butonlar */
#cookieChoiceInfo .cookie-choices-button {
  text-transform: initial;
  font-weight: 500;
  margin: 0;
}

/* Butonu hover */
#cookieChoiceInfo .cookie-choices-button:hover {
  color: #2196f3;
}

/* Göründüğünde animasyon */
@keyframes cookies {
  to { transform: translateY(0) }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Her bir kuralın ne işe yaradığını daha iyi anlayabilmeniz için bazı yorumlar mevcuttur. Değerlerle oynamanızı ve bunları istediğiniz gibi özelleştirmenizi tavsiye ederim.&lt;/p&gt;

&lt;h2 id=&quot;javascript&quot;&gt;JavaScript&lt;/h2&gt;

&lt;p&gt;Metinler ve çerez sayfası JavaScript kullanılarak özelleştirilebilir. Bunu yapmak için &lt;strong&gt;Tema &amp;gt; HTML Düzenle&lt;/strong&gt;&#39;ye gidin, &lt;code&gt;&amp;lt;/head&amp;gt;&lt;/code&gt; öğesini bulun ve bunun üzerine aşağıdaki kodu yapıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;script&gt;//&amp;lt;![CDATA[
cookieOptions = {
  msg: &quot;Çerez bildirim mesajı&quot;,
  close: &quot;Kapat düğmesi metni&quot;,
  learn: &quot;Daha fazla bilgi butonu metni&quot;,
  link: &quot;Çerezler sayfasına bağlantı&quot;,
}//]]&gt;
&amp;lt;/script&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Örnek metinleri özelleştirmeyi unutmayın. Bildirimin mümkün olduğunca açık ve topladığınız verilerle ilgili olması gerektiğini unutmayın. Ne yazacağınızdan emin değilseniz, herhangi bir değişiklik yapmayın.&lt;/p&gt;

&lt;h2 id=&quot;cerez-bildirimini-goruntuleyin&quot;&gt;Çerez bildirimini görüntüleyin&lt;/h2&gt;

&lt;p&gt;Ülkeniz Avrupa Birliği ülkeleri listesindeyse varsayılan olarak çerez uyarısı görüntülenecektir. Bu listeye dahil değilseniz, blogunuzun URL&#39;sinin sonuna &lt;code&gt;?gl=tr&lt;/code&gt; ekleyerek görünmesini sağlayabilirsiniz.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu çok küçük bir özellik olsa da, çerez bildirimi ile blogunuzun tasarımı arasında uyum sağlayarak kullanıcı deneyimini iyileştirir. Herhangi bir sorunuz varsa, yorumlarda bırakmaktan çekinmeyin. Okuduğunuz için çok teşekkür ederim.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/4757312933769678346/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/12/blogger-cerez-bildirimini-ozellestirme.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4757312933769678346'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4757312933769678346'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/12/blogger-cerez-bildirimini-ozellestirme.html' title='Blogger çerez bildirimini özelleştirme'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjzshUR5MSWQJJJFVlIIVcUKHTc6WXJv2RJ6YAqr4oGkVLlIPb8QpUIQQTZczab5u_ZocOcS8qUobwD5tMD_xHc31w6cHlZk50DYruX7mqO918NdqOXZuTBoFSeOeKGhiD5kOK7lHn5Q9R9VYAFcxAz9m1ucuawc5mANATknM8_hqq1Jm7SbI33UqeTndw=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-6655535747585506313</id><published>2023-11-16T01:24:00.073+03:00</published><updated>2024-05-12T23:55:48.674+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="widget"/><title type='text'>Blogger için geri sayım aracı</title><content type='html'>&lt;img alt=&quot;thumbnail widget de contador hacia atras&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhZZm5CsP00NCK99c8OllwpjlPIvTf0P_tSkPA4wonAxGL4y3LA_gvdH2j5uZj9lTF2jqpeLijehXaL2_Dmi1_I4KsAvNDbu3KekaYowyz-AdVfu05SAsaulEYI_7pdKntUNcMHJ7ruXmN6lWfL33siJhC7aKBon4l07t9oMKhU0iKGkt7asLZs0n0LAk0=rw&quot; width=&quot;500&quot;&gt;
&lt;p class=&quot;none meta-description&quot;&gt;Bir etkinliğe, ürün lansmanına, birinin doğum gününe ve diğerlerine kalan süreyi göstermek için geri sayım sayacı.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Cuenta regresiva para navidad y fin de año&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXr3yG1TnyP4BMXxZA-IyIJLX1gCRCBgiAAbstEui8NfBT7FzUul7uXiRU8CNlDPv-EkSLYshDStm7XYNzglV36hswWmJtbE1Rr4uhWlOqQRbFUgB8vDudFLRVmgfq-Gbmmzo2P4J/s900-e30-rw-l80/widget-gadget-cuenta-regresiva-blogger-navidad-new-year.png&quot; width=&quot;900&quot;&gt;&lt;/p&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;form class=&quot;widgetBuilder spacer flex wrap g-0.5 i-s&quot; method=&quot;post&quot; action=&quot;https://www.blogger.com/add-widget&quot; target=&quot;_blank&quot;&gt;
  &lt;input type=&quot;hidden&quot; hidden=&quot;&quot; name=&quot;infoUrl&quot; value=&quot;https://www.zkreations.com/2017/10/widget-cuenta-atras-blogger.html&quot;&gt;
  &lt;input type=&quot;hidden&quot; hidden=&quot;&quot; name=&quot;logoUrl&quot; value=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhZZm5CsP00NCK99c8OllwpjlPIvTf0P_tSkPA4wonAxGL4y3LA_gvdH2j5uZj9lTF2jqpeLijehXaL2_Dmi1_I4KsAvNDbu3KekaYowyz-AdVfu05SAsaulEYI_7pdKntUNcMHJ7ruXmN6lWfL33siJhC7aKBon4l07t9oMKhU0iKGkt7asLZs0n0LAk0=s320&quot;&gt;
  &lt;input type=&quot;hidden&quot; hidden=&quot;&quot; name=&quot;widget.title&quot; value=&quot;Geri sayım sayacı&quot;&gt;
  &lt;textarea type=&quot;hidden&quot; hidden=&quot;&quot; name=&quot;widget.content&quot; class=&quot;installation__textarea&quot;&gt;&amp;lt;div data-countdown=&quot;2024-01-01T00:00:00&quot; class=&quot;countdown-options&quot; &amp;gt;
  &amp;lt;p&amp;gt;Mutlu Yıllar 2024!! :D&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;
  &lt;/textarea&gt;
  &lt;textarea type=&quot;hidden&quot; hidden=&quot;&quot; name=&quot;widget.template&quot;&gt;&amp;lt;b:includable id=&#39;main&#39;&amp;gt;
  &amp;lt;style&amp;gt;/*&amp;lt;![CDATA[*/
    .countdown{display:flex;gap:var(--countdown-gap,.5rem)}.countdown-options{display:none}.countdown-value{display:flex;flex-direction:column;text-align:center;color:var(--countdown-color,#fff);background-color:var(--countdown-bg,#23212b);border-radius:1rem;box-shadow:0 2px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2)}.countdown-value&amp;gt;*{padding:.5rem .875rem}.countdown-number{border-bottom:1px solid rgba(0,0,0,.9)}.countdown-name{font-size:.875rem;border-top:1px solid rgba(255,255,255,.1)}
  /*]]&amp;gt;*/&amp;lt;/style&amp;gt;
  &amp;lt;data:content/&amp;gt;
  &amp;lt;div class=&quot;countdown&quot;&amp;gt;
    &amp;lt;b:loop values=&#39;[&quot;D&quot;,&quot;H&quot;,&quot;M&quot;,&quot;S&quot;]&#39; var=&#39;time&#39;&amp;gt;
      &amp;lt;div class=&quot;countdown-value&quot;&amp;gt;
        &amp;lt;span class=&quot;countdown-number&quot;&amp;gt;00&amp;lt;/span&amp;gt;
        &amp;lt;span class=&quot;countdown-name&quot;&amp;gt;&amp;lt;data:time/&amp;gt;&amp;lt;/span&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/b:loop&amp;gt;
  &amp;lt;/div&amp;gt;
  &amp;lt;script&amp;gt;//&amp;lt;![CDATA[
    document.addEventListener(&quot;DOMContentLoaded&quot;, (event) =&amp;gt; {
      const countdown=(()=&amp;gt;{const e=document.querySelectorAll(&quot;[data-countdown]&quot;),n={};e.length&amp;gt;0&amp;amp;&amp;amp;e.forEach(((e,t)=&amp;gt;{!function(e,t,o){const r=new Date(t).getTime(),a=e.nextElementSibling,c=e.innerHTML;function i(){const e=(new Date).getTime(),t=r-e,i=a.querySelectorAll(&quot;.countdown-number&quot;),l={days:Math.floor(t/864e5),hours:Math.floor(t%864e5/36e5),minutes:Math.floor(t%36e5/6e4),seconds:Math.floor(t%6e4/1e3)};if(t&amp;lt;0)return clearInterval(n[o]),a.classList.add(&quot;countdown-finished&quot;),void(a.innerHTML=c);Object.keys(l).forEach(((e,n)=&amp;gt;{i[n].innerHTML=l[e].toString().padStart(2,&quot;0&quot;)}))}e.innerHTML=&quot;&quot;,i(),n[o]=setInterval(i,1e3)}(e,e.dataset.countdown,t)}))})();
    });
  //]]&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/b:includable&amp;gt;
  &lt;/textarea&gt;
  &lt;button class=&quot;btn btn-tertiary&quot; name=&quot;go&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-grid-plus&quot;&gt;&lt;rect width=&quot;7&quot; height=&quot;7&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;&gt;&lt;/rect&gt;&lt;rect width=&quot;7&quot; height=&quot;7&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;&gt;&lt;/rect&gt;&lt;rect width=&quot;7&quot; height=&quot;7&quot; x=&quot;3&quot; y=&quot;14&quot; rx=&quot;1&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M14 17.5h7M17.5 14v7&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Gadget Yükle
  &lt;/button&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/full/QWYOBeo&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-codepen&quot;&gt;&lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7Zm0 20v-6.5M12 2v6.5&quot;&gt;&lt;/path&gt;&lt;path d=&quot;m22 8.5-10 7-10-7&quot;&gt;&lt;/path&gt;&lt;path d=&quot;m2 15.5 10-7 10 7&quot;&gt;&lt;/path&gt;&lt;/svg&gt;CodePen
  &lt;/a&gt;
&lt;/form&gt;

&lt;p&gt;Bu kez zkreations tarafından Blogger için tasarlanan, bir geri sayım göstermenizi sağlayacak widget paylaşıyorum. Bir etkinlik, ürün lansmanı, birinin doğum günü ve diğerleri için kalan süreyi göstermek için çok kullanışlıdır.&lt;/p&gt;

&lt;p&gt;Bu katkı aynı zamanda zkreations&#39;daki &lt;strong&gt;Blogger widget&lt;/strong&gt;&#39;ları bölümünün de açılışını yapıyor; artık şablonun HTML kodunu düzenlemek zorunda kalmadan &lt;strong&gt;tek bir tıklamayla&lt;/strong&gt; widget&#39;ları yükleyebilirsiniz.&lt;/p&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;

&lt;p&gt;Bahsettiğim gibi, &lt;strong&gt;kurulum çok basit&lt;/strong&gt;, sadece yukarıdaki yükle düğmesine tıklayın, widget&#39;ı yüklemek istediğiniz blogu seçin ve hepsi bu kadar. Tüm &lt;strong&gt;kod optimize edilmiştir&lt;/strong&gt;. Böylece blogunuza herhangi bir ek yük getirmez.&lt;/p&gt;

&lt;p&gt;Eğer platformunuz Blogger değilse, bu durumda codepen&#39;de bulacağınız &lt;strong&gt;widget kaynak kodunu&lt;/strong&gt; incelemenizi ve her kodu ilgili yere yerleştirerek projenize uyarlamanızı tavsiye ederim.&lt;/p&gt;

&lt;h2 id=&quot;yapilandirma&quot;&gt;Yapılandırma&lt;/h2&gt;

&lt;p&gt;Widget&#39;ı yapılandırmak için &lt;strong&gt;Tasarım&lt;/strong&gt; bölümüne gidin ve &lt;strong&gt;Geri Sayım&lt;/strong&gt; widget&#39;ını bulun. &lt;strong&gt;Düzenle&lt;/strong&gt; düğmesine tıklayın; widget&#39;ın yapılandırılabilir içeriğini içeren bir pencere açılacaktır:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div data-countdown=&quot;2025-01-01T00:00:00&quot; class=&quot;countdown-options&quot;&gt;
  &amp;lt;p&gt;Mutlu Yıllar 2025!! :D&amp;lt;/p&gt;
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;tarih&quot;&gt;Tarih&lt;/h3&gt;

&lt;p&gt;Bu değer zorunludur ve şu formata sahip olmalıdır: &lt;code&gt;AAAA-MM-DDThh:mm:ss&lt;/code&gt; burada  &lt;code&gt;AAAA&lt;/code&gt; yıl, &lt;code&gt;MM&lt;/code&gt; ay, &lt;code&gt;DD&lt;/code&gt; gün, &lt;code&gt;hh&lt;/code&gt; saat, &lt;code&gt;mm&lt;/code&gt; dakika y &lt;code&gt;ss&lt;/code&gt; saniyedir. Örneğin:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
	&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div data-countdown=&quot;2025-02-02T16:00:00&quot; class=&quot;countdown-options&quot;&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;p&gt;Sayaç 2 Şubat 2024 tarihinde saat 16:00&#39;da sona erecektir.&lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id=&quot;mesaj&quot;&gt;Mesaj&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; yapılandırma etiketinin içindeki tüm kodlar gizli kalacak ve sayaç sona erdiğinde görüntülenecektir. İstediğiniz kadar kod ekleyebilirsiniz, örneğin:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
    &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div data-countdown=&quot;2025-01-01T00:00:00&quot; class=&quot;countdown-options&quot;&gt;
  &amp;lt;img src=&quot;https://i.imgur.com/7hinFAF.gif&quot; alt=&quot;Capoo&quot;&gt;
  &amp;lt;p&gt;Mutlu Yıllar 2025!! :D&amp;lt;/p&gt;
&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;p&gt;Sayacın sonunda Capoo&#39;nun resmi ve bir tebrik mesajı görüntülenecektir.&lt;/p&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id=&quot;ozellestir&quot;&gt;Özelleştir&lt;/h2&gt;

&lt;p&gt;Sayacın görünümünü özelleştirmek için, yeni bir değerle belirtebileceğiniz bazı css değişkenleri bıraktım. Bunu yapmak için Temalar  &amp;gt; Özelleştir  &amp;gt; Gelişmiş  &amp;gt; CSS Ekle&#39;ye gidin ve aşağıdaki kodu yapıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;.countdown {
  --countdown-bg: #111;
  --countdown-color: #fff;
  --countdown-gap: .5rem;}&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Arka plan rengini, metnin rengini ve sayılar arasındaki boşluğu değiştirebilirsiniz.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu eklenti ile blogunuzda bir geri sayım görüntüleyebilirsiniz veya artık bunu göstermek istemiyorsanız, Widget&#39;ı Tasarım bölümünden silerek kaldırabilirsiniz.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/6655535747585506313/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/11/blogger-icin-geri-sayim-araci.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6655535747585506313'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6655535747585506313'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/11/blogger-icin-geri-sayim-araci.html' title='Blogger için geri sayım aracı'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhZZm5CsP00NCK99c8OllwpjlPIvTf0P_tSkPA4wonAxGL4y3LA_gvdH2j5uZj9lTF2jqpeLijehXaL2_Dmi1_I4KsAvNDbu3KekaYowyz-AdVfu05SAsaulEYI_7pdKntUNcMHJ7ruXmN6lWfL33siJhC7aKBon4l07t9oMKhU0iKGkt7asLZs0n0LAk0=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3063265773717440382</id><published>2023-10-11T01:04:00.089+03:00</published><updated>2023-10-18T00:04:14.958+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Kopyala butonlu Kod Vurgulayıcı</title><content type='html'>&lt;img alt=&quot;kopyala düğmeli vurgulayıcı jquery olmadan saf js&quot; class=&quot;none meta-thumbnail&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh4rqXUQYM4pJV4kbf3UV-0m3hJQKA3_DWEh14uwK12yVucUIwvXcLZdnFWDswYUOyWTgsVLk9wJ1l5InoTLfMHJX_0Uo6VntZbqoyXeFbsrGXYvEi4hswSXZsyiglVqDLO8K-V7lo7LXd2nRG7nJdJfSeAEizoMiRA7OAYjkVCovINn-a8SwgBY91xxAQ=rw&quot;/&gt;

&lt;p class=&quot;none meta-description&quot;&gt;Kopyalama düğmesi de dahil olmak üzere highlight.js kullanılarak optimize edilmiş kod vurgulayıcı&lt;/p&gt;

&lt;img alt=&quot;jquery olmadan kopyala düğmesi ile kod vurgulayıcıyı vurgulayın&quot; height=&quot;507&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheHygKKEFX3MEn32z0K7JeHFPewl1JyzuFXXGP2x2JdYVtDcy9f8vT5ZVE96Tc3fAIrDUE4LrNpCu8LsMRdlaVLwqp8Z1zTsRygjL40qH3S_CCR3EoOL8cmmr35HxFdz9BEk6QUEA1bZWZesVfcCZQt4eBJTk_xzv5ERkz1AU05qnIA881U0Xxkh8x7nmk/s1600/highlighter-kopyala-butonlu-kod-vurgulayici-pure-js.png&quot; width=&quot;900&quot;/&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/full/OJrqbEv&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-codepen&quot;&gt;&lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7zm0 20v-6.5m10-7-10 7-10-7m0 7 10-7 10 7M12 2v6.5&quot;&gt;&lt;/path&gt;&lt;/svg&gt;CodePen
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Geliştirme ile ilgilenen bir blogunuz varsa, muhtemelen kullanıcılarınıza kod göstermek zorunda kalmışsınızdır. Bu nedenle bugün size, yalnızca gerektiğinde kodu yükleyecek şekilde optimize edilmiş kopyalama düğmeli bir &lt;strong&gt;kod vurgulayıcıyı nasıl ekleyeceğinizi&lt;/strong&gt; göstereceğim.&lt;/p&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;

&lt;p&gt;Öncelikle aşağıdaki stilleri projenize dahil etmeniz gerekecektir. Örneğin, WordPress kullanıyorsanız bunları &lt;code&gt;style.css&lt;/code&gt; dosyasına dahil edebilirsiniz. Blogger&#39;da şablondaki &lt;strong&gt;CSS Ekle&lt;/strong&gt; seçeneğini kullanmalısınız. Diğer herkes için sitenizin &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; bölümüne ekleyebilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
pre {
  --copy-text: &quot;Copy&quot;;
  --copied-text: &quot;Copied!&quot;;
  --code-bg: #2a2833;
  --code-color: #9a92be;
  --code-color-comment: #787878;
  --code-color-string: #ffcd81;
  --code-color-selector: #a38eff;
  --code-color-property: #a38eff;
  --code-color-tag: #6a6684;
  --code-color-tag-name: #eeebfe;
  --code-color-attr: #c3b6ff;
  --code-color-class: #eeebff;
  --code-color-number: #ffcd95;
  position: relative;
  font-family: SFMono-Regular, monospace;
}

pre &gt; code {
  background-color: var(--code-bg);
  color: var(--code-color);
  display: block;
  overflow-x: auto;
  white-space: pre;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.hljs-copy {
  position: absolute;
  border: 0 none;
  inset: 0.5rem 0.5rem auto auto;
  padding: 0.5rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s background-color;
  font-size: 14px;
}

.hljs-copy:hover { background-color: rgba(0, 0, 0, 0.75) }
.hljs-copy::before { content: var(--copy-text) }
.hljs-copy.is-copied::before { content: var(--copied-text) }

.hljs-name,
.hljs-section { color: var(--code-color-tag-name) }
.hljs-tag { color: var(--code-color-tag) }
.hljs-selector-class { color: var(--code-color-class) }
.hljs-number { color: var(--code-color-number) }

.hljs-comment,
.hljs-meta { color: var(--code-color-comment) }

.hljs-emphasis,
.hljs-quote,
.hljs-string,
.hljs-strong,
.hljs-template-variable,
.hljs-variable { color: var(--code-color-string) }

.hljs-keyword,
.hljs-selector-tag,
.hljs-type { color: var(--code-color-selector) }

.hljs-attribute,
.hljs-bullet,
.hljs-literal,
.hljs-symbol { color: var(--code-color-property) }

.hljs-attr,
.hljs-selector-attr,
.hljs-selector-id,
.hljs-selector-pseudo,
.hljs-title { color: var(--code-color-attr) }
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Şimdi de &lt;strong&gt;kopyala düğmesinin eklenmesi&lt;/strong&gt; ve &lt;strong&gt;kod vurgulayıcının yüklenmesiyle&lt;/strong&gt; ilgilenecek olan betik. Bunu &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; etiketinin üzerine eklemelisiniz ya da &lt;code&gt;main.js&lt;/code&gt; dosyanız varsa oraya ekleyebilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;
&amp;lt;script&gt;/*&amp;lt;![CDATA[*/
async function initHighlight() {
  const loadScript = () =&gt; new Promise((resolve, reject) =&gt; {
    const script = document.createElement(&#39;script&#39;)
    script.src = &#39;https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11/build/highlight.min.js&#39;
    script.onload = resolve
    script.onerror = reject
    document.body.appendChild(script)
  })

  try {
    await loadScript()
    hljs.highlightAll()
  } catch (error) {
    console.error(error)
  }
}

function addCopyButtons (codeBlock) {
  if (!navigator || !navigator.clipboard) return

  const clipboard = navigator.clipboard
  const $button = document.createElement(&#39;button&#39;)
  $button.className = &#39;hljs-copy&#39;

  $button.addEventListener(&#39;click&#39;, function () {
    clipboard.writeText(codeBlock.textContent).then(function () {
      $button.blur()
      $button.classList.add(&#39;is-copied&#39;)
      $button.disabled = true

      setTimeout(function () {
        $button.disabled = false
        $button.classList.remove(&#39;is-copied&#39;)
      }, 2000)
    })
  })

  const pre = codeBlock.parentNode
  pre.insertBefore($button, pre.firstChild)
}

function initCodeBlocks () {
  const codeBlocks = document.querySelectorAll(&#39;pre &gt; code&#39;)
  if (codeBlocks.length === 0) return

  initHighlight()
  
  codeBlocks.forEach(function (codeBlock) {
    addCopyButtons(codeBlock)
  })
}

initCodeBlocks()/*]]&gt;*/
&amp;lt;/script&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Bu kodun yaptığı şey, tıklandığında kod içeriğini kopyalayan bir &lt;strong&gt;düğme eklemektir&lt;/strong&gt;. Ayrıca &lt;strong&gt;kod vurgulayıcıyı da yükler&lt;/strong&gt;, ancak her iki eylemi de yalnızca sayfada &lt;strong&gt;en az bir kod bloğu olduğunda&lt;/strong&gt; gerçekleştirir.&lt;/p&gt;

&lt;h2 id=&quot;nasil-kullanilir&quot;&gt;Nasıl kullanılır&lt;/h2&gt;

&lt;p&gt;Bunu kullanmak için sayfanıza bir kod bloğu eklemeniz yeterlidir. Kodun aşağıda gösterildiği gibi bir &lt;code&gt;&amp;lt;pre&amp;gt;&lt;/code&gt; ve &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; etiketi içinde olması gerektiğini unutmayın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;
&amp;lt;pre&gt;&amp;lt;code&gt;
  // Kodunuzu buraya yazın
&amp;lt;/code&gt;&amp;lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Genel olarak &lt;strong&gt;highlightJs&lt;/strong&gt; kullandığınız dili algılar, ancak bunun yeterli olmadığı veya başarısız olduğu durumlarda, bir sınıf kullanarak dili belirtebilirsiniz:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;
&amp;lt;pre&gt;&amp;lt;code class=&quot;language-html&quot;&gt;
  // Kodunuzu buraya yazın
&amp;lt;/code&gt;&amp;lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Ayrıca, tüm HTML kodlarının dönüştürülmesinin çok önemli olduğunu unutmayın. Bu görevde size yardımcı olmak için kullanabileceğiniz bir &lt;a href=&quot;https://www.zkreations.com/p/html-escape.html&quot;&gt;html kodu dönüştürücü aracı&lt;/a&gt; geliştirdim.&lt;/p&gt;

&lt;h2 id=&quot;ozellestir&quot;&gt;Özelleştir&lt;/h2&gt;

&lt;p&gt;Kod vurgulayıcıyı özelleştirmek istiyorsanız, bunu CSS kodunun başındaki değişkenleri değiştirerek yapabilirsiniz. Bu değişkenler kod vurgulayıcının renklerini ve diğer önemli stilleri değiştirmekten sorumludur.&lt;/p&gt;

&lt;p&gt;Değişken isimleriyle açıklayıcı olmaya çalıştım, ancak herhangi bir sorunuz varsa bana yorumlarda sorabilirsiniz. Merak ediyorsanız, stiller &lt;a href=&quot;https://github.com/simurai/duotone-dark-syntax&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;geliştirici Simurai&#39;nin Duotone Dark&lt;/a&gt; temasından esinlenmiştir.&lt;/p&gt;

&lt;h2 id=&quot;aciklamalar&quot;&gt;Açıklamalar&lt;/h2&gt;

&lt;p&gt;Makale boyunca &lt;code&gt;&amp;lt;pre&amp;gt;&lt;/code&gt; ve &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; bloklarını yalnızca kod görüntülemek için kullandığınız varsayılmıştır. Bu etiketleri başka içerikleri görüntülemek için kullanıyorsanız, bazı değişiklikler yapmanız gerekebilir.&lt;/p&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Buraya &lt;strong&gt;kopyalama düğmeli bir kod vurgulayıcı eklemek&lt;/strong&gt; için bir çözüm aramaya geldiyseniz, umarım bu makale size bir şekilde yardımcı olmuştur. Herhangi bir sorunuz veya öneriniz varsa yorumlara bırakabilirsiniz.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3063265773717440382/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/10/kopyala-butonlu-kod-vurgulayici.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3063265773717440382'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3063265773717440382'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/10/kopyala-butonlu-kod-vurgulayici.html' title='Kopyala butonlu Kod Vurgulayıcı'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEh4rqXUQYM4pJV4kbf3UV-0m3hJQKA3_DWEh14uwK12yVucUIwvXcLZdnFWDswYUOyWTgsVLk9wJ1l5InoTLfMHJX_0Uo6VntZbqoyXeFbsrGXYvEi4hswSXZsyiglVqDLO8K-V7lo7LXd2nRG7nJdJfSeAEizoMiRA7OAYjkVCovINn-a8SwgBY91xxAQ=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-5852073259624872042</id><published>2023-10-03T15:35:00.053+03:00</published><updated>2023-11-09T00:31:05.297+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>Css ile duyarli sekmeler</title><content type='html'>&lt;img alt=&quot;tabs pure css responsive nojs - thumbnail&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj-NeD0HOC-CFiupnWnH886i61wEvqJ53nPfSo2SJjndhLpbyoCw1OG3RsjHLChWklK6gfTgQYxXr16WPYFHsAZR1lRuV1XoRLhCUQf7-aZmiuttXhGtfIg3FwFpS3d6MjaX8gQcYs9kcPG9qhxSyWVWtbnSA6xP7fj8cZfhHn9GZw-G--JsLDbIWSRbgg=rw&quot; width=&quot;500&quot;&gt;

&lt;p class=&quot;none meta-description&quot;&gt;Yalnızca css kullanan, kullanımı ve özelleştirmesi kolay, duyarlı gezinme sekmeleri&lt;/p&gt;

&lt;img alt=&quot;Pestañas tabs responsive sin javascript&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuStVVyTjywHEMOGBbFObMBb84tv1ZOOaNgLsfX9HKq4gj7padOFhOu_tUC9qdSK5Cfpqx5uc3aWGcr44DsCs2aornCXszARuf750uvnXkvdvm82IgXwMXA1HKXAzBwPI1Vrc3DTbk/s900-e30-rw-l80/pure-css-responsive-tabs.png&quot; width=&quot;900&quot;&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/full/RwEJGjv&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-codepen&quot;&gt;&lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7zm0 20v-6.5m10-7-10 7-10-7m0 7 10-7 10 7M12 2v6.5&quot;&gt;&lt;/path&gt;&lt;/svg&gt;CodePen
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Las &lt;strong&gt;pestañas de navegación&lt;/strong&gt; por mucho tiempo han formado parte de los shortcodes de &lt;a href=&quot;https://store.zkreations.com/&quot;&gt;mis trabajos&lt;/a&gt;, sin embargo, hace poco proponía a través de nuestro &lt;a target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot; href=&quot;https://t.me/zkreation&quot;&gt;grupo de telegram&lt;/a&gt; una alternativa que no dependa de javascript, pero debido a su complejidad, decidí eliminar los tabs de los shortcodes y dejarlos como un componente independiente, que podrás usar en cualquier proyecto.&lt;/p&gt;

&lt;h2&gt;Kurulum&lt;/h2&gt;

&lt;p&gt;Aşağıdaki stilleri projenize ekleyin, örneğin WordPress&#39;te kodu &lt;code&gt;style.css&lt;/code&gt; dosyasına yerleştirmelisiniz. Projeniz Blogger&#39;da ise şablondaki &lt;strong&gt;CSS Ekle&lt;/strong&gt; seçeneğini kullanmalısınız.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;.tab {
  --tab-padding: 1.25rem;
  --tab-bg: rgb(0 0 0 / 70%);
  --tab-active-bg: #fff;
  --tab-color: #fff;
  --tab-active-color: #000;
}

.tab input { display: none }
.tab input:checked + label {
  background-color: var(--tab-active-bg);
  color: var(--tab-active-color);
}

.tab input:not(:checked) + label + * { display: none }
.tab label {
  color: var(--tab-color);
  cursor: pointer;
  padding: var(--tab-padding);
}

@media (max-width: 575px) {
  .tab label { width: 100% }
}

.tab-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--tab-bg);
}

.tab-content {
  width: 100%;
  padding: var(--tab-padding);
  background-color: var(--tab-active-bg);
}

@media (min-width: 576px) {
  .tab-content { order: 9999 }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Hepsi bu kadar, bu stiller bileşenin çalışması için yeterlidir. Çünkü &lt;strong&gt;javascript olmadan gezinme sekmeleridir&lt;/strong&gt;. Şimdi sekmeleri görüntülemek için buna benzer bir yapı ekleyin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;div class=&quot;demo&quot;&gt;
  &amp;lt;div class=&quot;tab&quot;&gt;
    &amp;lt;div class=&quot;tab-wrapper&quot;&gt;
      &amp;lt;!-- Tab 1 --&gt;
      &amp;lt;input id=&quot;tab1&quot; type=&quot;radio&quot; name=&quot;tabsA&quot; checked&gt;
      &amp;lt;label for=&quot;tab1&quot;&gt;Tab 1&amp;lt;/label&gt;
      &amp;lt;div class=&quot;tab-content&quot;&gt;Content 1...&amp;lt;/div&gt;

      &amp;lt;!-- Tab 2 --&gt;
      &amp;lt;input id=&quot;tab2&quot; type=&quot;radio&quot; name=&quot;tabsA&quot;&gt;
      &amp;lt;label class=&quot;tab-button&quot; for=&quot;tab2&quot;&gt;Tab 2&amp;lt;/label&gt;
      &amp;lt;div class=&quot;tab-content&quot;&gt;Content 2...&amp;lt;/div&gt;

      &amp;lt;!-- Tab 4 --&gt;
      &amp;lt;input id=&quot;tab4&quot; type=&quot;radio&quot; name=&quot;tabsA&quot;&gt;
      &amp;lt;label for=&quot;tab4&quot;&gt;Etc...&amp;lt;/label&gt;
      &amp;lt;div class=&quot;tab-content&quot;&gt;ETC...&amp;lt;/div&gt;
    &amp;lt;/div&gt;
  &amp;lt;/div&gt;
&amp;lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2&gt;Açıklama&lt;/h2&gt;

&lt;p&gt;Bileşen, bitişik &lt;code&gt;+&lt;/code&gt; ve &lt;code&gt;~&lt;/code&gt; seçicileri sayesinde çalışır. &lt;code&gt;label&lt;/code&gt; etiketine tıklandığında, önündeki &lt;code&gt;input&lt;/code&gt; etkinleştirilir ve içerik görünür hale gelir.&lt;/p&gt;

&lt;p&gt;Es muy importante que el &lt;code&gt;input&lt;/code&gt; tenga el atributo &lt;code&gt;name&lt;/code&gt; con el mismo valor para todos los &lt;code&gt;input&lt;/code&gt; que pertenezcan a un mismo grupo de tabs, de lo contrario, no funcionará. También es importante que cada &lt;code&gt;input&lt;/code&gt; tenga un &lt;code&gt;id&lt;/code&gt; único y que el &lt;code&gt;label&lt;/code&gt; tenga el atributo &lt;code&gt;for&lt;/code&gt; con el mismo valor que el &lt;code&gt;id&lt;/code&gt; del &lt;code&gt;input&lt;/code&gt; al que pertenece.&lt;/p&gt;

&lt;h2&gt;Özelleştir&lt;/h2&gt;

&lt;p&gt;Bileşeni hızlı bir şekilde özelleştirebilmeniz için bazı CSS değişkenler oluşturulmuştur. Özellikle değiştirmeniz gereken kod parçası budur:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
.tab {
  --tab-padding: 1.25rem;
  --tab-bg: rgb(0 0 0 / 70%);
  --tab-active-bg: #fff;
  --tab-color: #fff;
  --tab-active-color: #000;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Değişkenlerin isimleri çok açıklayıcı, böylece neyi değiştireceğinizi kolayca anlayabilirsiniz.&lt;/p&gt;

&lt;h2&gt;Sonuç&lt;/h2&gt;

&lt;p&gt;Bu bileşenin kullanımı ve özelleştirilmesi çok kolaydır, ayrıca &lt;strong&gt;javascript&#39;e bağlı değildir&lt;/strong&gt;. Bu nedenle performansı kısa kodlarıma koyduğum sekmelerden daha üstündür. Herhangi bir sorunuz varsa, yorumlarda bırakabilirsiniz. Bu makaleyi paylaşmayı unutmayın.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/5852073259624872042/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/10/css-ile-duyarli-sekmeler.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/5852073259624872042'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/5852073259624872042'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/10/css-ile-duyarli-sekmeler.html' title='Css ile duyarli sekmeler'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj-NeD0HOC-CFiupnWnH886i61wEvqJ53nPfSo2SJjndhLpbyoCw1OG3RsjHLChWklK6gfTgQYxXr16WPYFHsAZR1lRuV1XoRLhCUQf7-aZmiuttXhGtfIg3FwFpS3d6MjaX8gQcYs9kcPG9qhxSyWVWtbnSA6xP7fj8cZfhHn9GZw-G--JsLDbIWSRbgg=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-498684661316753255</id><published>2023-09-20T10:42:00.226+03:00</published><updated>2023-10-13T15:32:36.087+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger da görselleri kolayca değiştirin</title><content type='html'>&lt;p&gt;Geliştirme yazılarına devam ediyoruz. Bugün size Blogger, Google Photos ve hatta Youtube aracılığıyla Google&#39;da barındırılan resimleri, &lt;a href=&quot;https://zkreations.com/image-params&quot;&gt;url&#39;deki parametreleri&lt;/a&gt; kullanarak veya Blogger sözdiziminde bulunan yöntemleri kullanarak işlemek için nasıl bir işlev oluşturacağınızdan bahsedeceğim.&lt;/p&gt;
&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;h2 id=&quot;durum&quot;&gt;Durum&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/2016/04/typeof-image.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Görüntü türü verilerinde&lt;/a&gt; belirli değişiklikler yapmaya çalıştığımızda, kodumuz aşağıdaki gibi görünebilir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;
&lt;code class=&quot;language-xml&quot;&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:view.featuredImage&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;img&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;src&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;resizeImage(data:view.featuredImage, 300,&quot;4:3&quot;)&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Burada sadece girdide öne çıkan bir resim olup olmadığını kontrol ediyoruz ve varsa yeniden boyutlandırıyoruz. Mantığın karmaşıklığını artırdığımızda, kodun &lt;strong&gt;okunması ve bakımı&lt;/strong&gt; çok zor hale gelebilir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:view.featuredImage&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:view.featuredImage.isYoutube&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;img&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;src&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;resizeImage(data:view.featuredImage.youtubeMaxResDefaultUrl, 300,&quot;4:3&quot;)&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;else&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;img&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;src&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;resizeImage(data:view.featuredImage, 300,&quot;4:3&quot;)&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2 id=&quot;blogger-fonksiyon&quot;&gt;Blogger&#39;da Fonksiyon&lt;/h2&gt;
&lt;p&gt;Bu tür bir durumdan kaçınmak için &lt;strong&gt;Blogger&#39;da özellikle resimleri işleyen bir işlev oluşturabiliriz&lt;/strong&gt;. Bu şekilde, kodu şablonun herhangi bir yerinde yeniden kullanabiliriz ve değişiklik yapmamız gerekirse, yalnızca eklemeyi değiştirmemiz gerekir.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;includable&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;comment&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token comment&quot;&gt;&amp;lt;!--
  // @param {image} src - Görüntünün Url&#39;si
  // @param {string} [alt=data:messages.image] - Alternatif metin
  // @param {string} [id] - Benzersiz tanımlayıcı
  // @param {string} [class] - Ek sınıflar
  // @param {string} [width] - Özel Genişlik
  // @param {string} [height] - Özel yükseklik
  // @param {number} [resize] - Yeni görüntü boyutu
  // @param {string} [ratio] - En boy oranı (4:3, 16:9 vb)
  // @param {string} [sizes] - Öznitelik boyutları için değerler
  // @param {array} [srcset] - Boyutlar tablosu (srcset oluşturur)
  // @param {string} [loading] - Yükleme özniteliği için değerler
  // @param {string} [params] - Ek parametreler (zkreations.com/image-params)
  --&amp;gt;&lt;/span&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;comment&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:src&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:src.isYoutube ? data:src.youtubeMaxResDefaultUrl : data:src&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;source&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;(data:resize ? resizeImage(data:src, data:resize, data:ratio) : (data:source))&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
      &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;tag&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;alt&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:alt ?: data:messages.image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;img&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;b:whitespace&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;remove&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;id&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:id&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;class&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:class&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:class&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;width&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:width ?: data:image.width&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;height&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:height ?: data:image.height&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;sizes&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:sizes&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;loading&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:loading&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:params and (data:image contains &quot;blogger.googleusercontent.com/img/a/&quot;) ? (&quot;-&quot; + data:params) : &quot;&quot;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;params&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
          &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;src&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;(data:srcset ? resizeImage(data:image, data:srcset.first, data:ratio) : data:image) + data:params&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;cond&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;data:srcset&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
          &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;attr&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;srcset&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;&lt;span class=&quot;token namespace&quot;&gt;expr:&lt;/span&gt;value&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;sourceSet(data:image, data:srcset, data:ratio)&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
        &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
      &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;tag&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;with&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;else&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;comment&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;render&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;true&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Parameter [src] is required.&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;comment&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;if&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;includable&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2 id=&quot;aciklama&quot;&gt;Açıklama&lt;/h2&gt;
&lt;p&gt;Fonksiyon sadece &lt;code&gt;src&lt;/code&gt; parametresine ihtiyaç duyar. Bu parametre önce &lt;strong&gt;görüntünün Youtube&#39;a ait olup olmadığını kontrol eder&lt;/strong&gt; ve eğer öyleyse url&#39;yi daha yüksek çözünürlüklü olana değiştirir.&lt;/p&gt;

&lt;p&gt;Görüntünün varlığını kontrol ettikten sonra, kendisine iletilen parametrelerle işlem görecektir. Hiçbiri belirtilmemişse, orijinal görüntüyü değiştirmeden teslim edecektir. &lt;code&gt;src&lt;/code&gt; parametresi belirtilmemişse, bunun yerine bir &lt;strong&gt;HTML yorumu&lt;/strong&gt; görürsünüz.&lt;/p&gt;

&lt;p&gt;Bu işlevi zkreations - Daniel Abel tarafından geliştirilen Hamlet adlı &lt;strong&gt;Blogger şablon geliştirme projesinde&lt;/strong&gt; bulabilirsiniz, nasıl çalıştığını daha iyi anlayabilmeniz için &lt;a href=&quot;https://github.com/zkreations/hamlet/blob/main/src/views/markups/Common/functions/_%40image.hbs&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;deposuna bir göz atmanızı&lt;/a&gt; tavsiye ederim.&lt;/p&gt;

&lt;h2 id=&quot;nasil-kullanilir&quot;&gt;Nasıl kullanılır&lt;/h2&gt;
&lt;p&gt;Eklemeyi &quot;Common&quot; türünde &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/2017/05/tag-b-defaultmarkups.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;varsayılan bir Blogger biçimlendirmesi&lt;/a&gt; olarak ekleyin. Resimlerle çalışmanız gereken her yerde kullanabilirsiniz. Şimdi parametrelere bir göz atacağız.&lt;/p&gt;

&lt;h3 id=&quot;resim-url&quot;&gt;Resim URL&#39;si&lt;/h3&gt;
&lt;p&gt;Görselin Blogger, Google Fotoğraflar veya Youtube aracılığıyla &lt;strong&gt;Google sunucularında barındırılmasını&lt;/strong&gt; tavsiye ederim. Harici bir sunucudan geliyorsa, Blogger &quot;sonucu&quot; bir proxy aracılığıyla iletecektir ve bu, &lt;strong&gt;performansa zarar vermenin&lt;/strong&gt; yanı sıra, bazen görüntü görüntülenmeyecektir.&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
    &lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{ src: data:view.featuredImage }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;pre&gt;&lt;code&gt;&amp;lt;img src=&#39;/s1600/demo.png&#39;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id=&quot;alternatif-metin&quot;&gt;Alternatif metin&lt;/h3&gt;
&lt;p&gt;Resim yüklenemediğinde görüntülenecek alternatif metin. Belirtilmediğinde varsayılan olarak bir &lt;code&gt;data:messages.image&lt;/code&gt; veri etiketi kullanılır.&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
    &lt;button class=&quot;code-copy&quot; data-tts=&quot;up-right&quot; aria-label=&quot;Copiar&quot;&gt;&lt;svg class=&quot;i i-copy&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1&quot;&gt;&lt;/path&gt;&lt;rect width=&quot;13&quot; height=&quot;13&quot; x=&quot;9&quot; y=&quot;9&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;/svg&gt;&lt;/button&gt;&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    alt: &quot;Alternatif metin&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;pre&gt;&lt;code&gt;&amp;lt;img src=&#39;/s1600/demo.png&#39; alt=&#39;Texto alternativo&#39;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id=&quot;tanimlayici-ve-siniflar&quot;&gt;Tanımlayıcı ve sınıflar&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;img&lt;/code&gt; etiketine &lt;code&gt;id&lt;/code&gt; ve &lt;code&gt;class&lt;/code&gt; niteliklerini eklemeniz yeterlidir.&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
    &lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    id: &quot;Benzersizİsim&quot;,
    class: &quot;ornek&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;pre&gt;&lt;code&gt;&amp;lt;img src=&#39;/s1600/demo.png&#39; class=&#39;ejemplo&#39; id=&#39;NombreUnico&#39;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id=&quot;boyut-ve-en-boy-orani&quot;&gt;Boyut ve en boy oranı&lt;/h3&gt;
&lt;p&gt;Bu parametreler muhtemelen en önemlileridir ve nihai görüntünün &lt;strong&gt;boyutlarını ve görünümünü değiştirdikleri&lt;/strong&gt; için ilgilendiğimiz parametrelerdir. Ek olarak, en boy oranı belirtilirse &lt;code&gt;width&lt;/code&gt; ve &lt;code&gt;height&lt;/code&gt; özellikleri otomatik olarak eklenecektir.&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;
  &lt;div class=&quot;highlight&quot;&gt;
    &lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    resize: 300,
    ratio: &quot;4:3&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div class=&quot;code-explained&quot;&gt;
    &lt;pre&gt;&lt;code&gt;&amp;lt;img src=&#39;/w300-h225-p-k-no-nu/demo.png&#39; height=&#39;225&#39; width=&#39;300&#39;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;h3 id=&quot;boyut-tablosu&quot;&gt;Boyut tablosu&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;srcset&lt;/code&gt; özniteliği belirtilen boyutlarla oluşturulur. Tablodaki ilk değer orijinal görüntünün boyutu olacaktır ve geri kalanı kullanıcının ekranının boyutuna bağlı olarak kullanılacaktır.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    srcset: [300, 600, 900]
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;yukseklik-ve-genislik&quot;&gt;Yükseklik ve genişlik&lt;/h3&gt;
&lt;p&gt;Özel bir boyuta ihtiyacınız varsa, &lt;code&gt;width&lt;/code&gt; ve &lt;code&gt;height&lt;/code&gt; niteliklerini kullanabilirsiniz, bu parametreler yeniden &lt;code&gt;resize&lt;/code&gt; ve &lt;code&gt;ratio&lt;/code&gt; belirtildikten sonra boyuttan öncelikli olacaktır.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    width: 300,
    height: 200
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;boyut-ozelligi&quot;&gt;Boyut özelliği&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sizes&lt;/code&gt; niteliği, kullanıcının ekranının boyutuna bağlı olarak görüntünün boyutunu belirtmek için kullanılır. Bu özellik hakkında daha fazla bilgi edinmek isterseniz, &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Mozilla&#39;nın duyarlı görüntülerle ilgili belgelerine&lt;/a&gt; başvurabilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    sizes: &quot;(max-width: 600px) 100vw, 50vw&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;yukleme-ozelligi&quot;&gt;Yükleme özelliği&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;loading&lt;/code&gt; özelliği, tarayıcıda yerel ertelenmiş yüklemeyi kullanmamıza izin verir. Bu gerçekten kullanabileceğimiz en güçlü özelliklerden biridir. Bu özellik hakkında daha fazla bilgi edinmek istiyorsanız, &lt;a href=&quot;hhttps://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ertelenmiş yükleme hakkında Mozilla&#39;daki belgelere&lt;/a&gt; başvurabilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    loading: &quot;lazy&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;ek-parametreler&quot;&gt;Ek parametreler&lt;/h3&gt;
&lt;p&gt;Resim parametreleri eklemeniz gerekiyorsa, &lt;code&gt;params&lt;/code&gt; belirtebilirsiniz. Bu parametre sadece Blogger&#39;da barındırılan resimler için geçerli olacaktır. Daha fazla bilgi edinmek isterseniz &lt;a href=&quot;https://zkreations.com/image-params&quot;&gt;ek parametreler hakkındaki yazıya&lt;/a&gt; göz atabilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;language-xml&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-xml&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token namespace&quot;&gt;b:&lt;/span&gt;include&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;{
    src: data:view.featuredImage,
    params: &quot;rw-e30&quot;
  }&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation attr-equals&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;@image&lt;span class=&quot;token punctuation&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2 id=&quot;sonuc&quot;&gt;Sonuç&lt;/h2&gt;
&lt;p&gt;Proje büyüdüğünde, kodu temiz ve okunabilir tutmak önemlidir. Bu özellik sayesinde &lt;strong&gt;görselleri daha basit ve verimli bir şekilde işleyebilir&lt;/strong&gt;, kodu şablonun herhangi bir yerinde yeniden kullanabilir ve gerekirse kolayca değiştirebiliriz.&lt;/p&gt;

&lt;p&gt;Bu tür yazılar için, &lt;strong&gt;ek bağlantılarda bir geliştirme teması&lt;/strong&gt; bulacaksınız. Böylece işlevi deneyebilir ve kullanımını daha iyi anlayabilirsiniz. Bu katkıyı beğendiyseniz, paylaşmayı unutmayın.&lt;/p&gt;</content><link rel='enclosure' type='image.xml' href='https://raw.githubusercontent.com/zkreations/data/main/static/xml/dev/image.xml?ref=file' length='0'/><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/498684661316753255/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/09/blogger-da-gorselleri-kolayca-degistirin.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/498684661316753255'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/498684661316753255'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/09/blogger-da-gorselleri-kolayca-degistirin.html' title='Blogger da görselleri kolayca değiştirin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-1821918587912571657</id><published>2023-09-07T20:57:00.130+03:00</published><updated>2023-10-19T22:07:32.333+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="projeler"/><title type='text'>HuDocs ile projelerinizi kolayca belgeleyin</title><content type='html'>&lt;img alt=&quot;Kolayca dokümantasyon yazma&quot; class=&quot;none meta-thumbnail&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjhGh95-27G0kTJoVJ2w3-vSDzJNi17Xkj6668e7sZkLXGwnQJIArw4qTbHvTx3OhnO9iVpZVgSxYqDZ-OexW1LmsYAxzsMHTBC3xdFYBn7ODpdSvhfagZSsnfRPUgHnsnAqCmU7id-MjHUbMu6rtFloIF4YRBn3VGDNaimkjSCb7ZZqSSvuFRUEOeKXoE=rw&quot; width=&quot;500&quot;&gt;
&lt;p class=&quot;none meta-description&quot;&gt;Belgeleme zahmetlidir ancak diğer insanların kodunuzu anlayabilmesi, kullanabilmesi ve üzerinde işbirliği yapabilmesi için çok önemlidir.&lt;/p&gt;

&lt;img alt=&quot;gohugo ile proje belgelerinizi nasıl oluşturacağınızı öğrenin&quot; height=&quot;507&quot; loading=&quot;eager&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisHDy8iWi5i10_pVSERUqt0JILy7iVDEx2ncQCnKZRV-mK2ev3-OJXWYDIp7WGPQSFArnF0TcvslZ-SWzoY5bKKSRg6VYI-40XxIYjR6PvrqD_ku13QVMPdbTL3l852jx9C0fDmsAGyRazCqSVKGqFF7DQm0KLhmHjUyl0baCDVQLc22Hkq24JN4A6vXcl/s900-e30-rw-l80/dokumantasyon-olusturun-hizli-kolay-ucretsiz.png&quot; width=&quot;900&quot;/&gt;

&lt;a name=&quot;more&quot;&gt;&lt;/a&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn btn-tertiary&quot; href=&quot;https://github.com/zkreations/docs/stargazers&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-star&quot;&gt;&lt;path d=&quot;m12 1.5 3.1 6.3 6.9 1-5 4.8 1.2 6.9-6.2-3.2-6.2 3.2L7 13.6 2 8.8l6.9-1z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Calificar
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://github.com/zkreations/docs&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-github&quot;&gt;&lt;path d=&quot;M9 22v-3q0-2 1-3A7 6.5 0 0 1 5 5Q4 3 5 1q3 0 4 2 3.5-1 7 0 1-2 4-2 1 2 0 4a7 6.5 0 0 1-5 11q1 1 1 3v3m-7-3c-4 1-4-2-7-3&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Depo
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;https://hudocs.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Demo
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Belgeleme zahmetli bir iştir ancak diğer insanların kodunuzu anlayabilmesi, kullanabilmesi ve üzerinde işbirliği yapabilmesi için çok önemlidir. Bu nedenle, &lt;strong&gt;bu görevi kolaylaştırmak&lt;/strong&gt; için zkreations tarafından tasarlanan HuDocs temasını paylaşıyorum. Markdown dosyaları yazarak ve bunları klasörler halinde düzenleyerek &lt;strong&gt;projenizi kolayca ve hızlı bir şekilde belgelemeniz&lt;/strong&gt; sağlanmıştır.&lt;/p&gt;

&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;

&lt;h2&gt;Özellikler&lt;/h2&gt;
&lt;p&gt;HuDocs, MIT lisansı altında yayınlandığı için &lt;a href=&quot;https://gohugo.io/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Hugo&lt;/a&gt; için özgürce kullanabileceğiniz bir temadır. Özelliklerinden bazıları şunlardır:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://pagespeed.web.dev/report?url=https://hudocs.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Core Web Vitals&lt;/a&gt; uyumluluğu için optimize edildi&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://observatory.mozilla.org/analyze/hudocs.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mozilla Observatory&lt;/a&gt; Güvenlik Seviyesi&lt;/li&gt;
  &lt;li&gt;Çoklu dil desteği&lt;/li&gt;
  &lt;li&gt;Bağımlılık yok&lt;/li&gt;
  &lt;li&gt;Otomatik gelişmiş arama motoru&lt;/li&gt;
  &lt;li&gt;Açık ve koyu tema&lt;/li&gt;
  &lt;li&gt;Uyarılar, notlar, tablolar vb. için kısa kodlar&lt;/li&gt;
  &lt;li&gt;Gelişmiş kod blokları&lt;/li&gt;
  &lt;li&gt;Yüksek kişiselleştirme&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Gereksinimler&lt;/h2&gt;
&lt;p&gt;HuDocs&#39;u kullanmak için &lt;a href=&quot;https://gohugo.io/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Hugo&lt;/a&gt;&#39;nun genişletilmiş sürümünün ve &lt;a href=&quot;https://git-scm.com/downloads&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Git&lt;/a&gt;&#39;in bilgisayarınızda yüklü olması gerekir. Özellikle şunlara ihtiyacınız var:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hugo 0.100.0 veya üzeri (genişletilmiş sürüm)&lt;/li&gt;
&lt;li&gt;Git - &lt;a href=&quot;https://git-scm.com/downloads&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Git&#39;i Kurun&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Belgeleme arzusu&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Kurulum&lt;/h2&gt;
&lt;p&gt;HuDocs&#39;u yüklemek için Hugo projenizin kök dizinine gidin ve aşağıdaki komutu çalıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;
&lt;span class=&quot;token function&quot;&gt;git&lt;/span&gt; submodule &lt;span class=&quot;token function&quot;&gt;add&lt;/span&gt; https://github.com/zkreations/docs themes/docs
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2&gt;Önerilen yapı&lt;/h2&gt;
&lt;p&gt;Herhangi bir dosya ve klasör dağıtımını kullanabilirsiniz, belirli bir yapıyla sınırlı değildir. Ancak aynı projenin birden fazla sürümüne sahipseniz ilk bölüm klasörünün sürüm numarasına sahip olmasını öneririm, örneğin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;
content
└── &lt;span class=&quot;token number&quot;&gt;1.0&lt;/span&gt;
└── &lt;span class=&quot;token number&quot;&gt;1.1&lt;/span&gt;
    └── index.md
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Bu yapının nedenini daha iyi anlayabilmeniz için &lt;strong&gt;demo&lt;/strong&gt; klasörüne bir örnek bıraktım, bunu içerik klasörüne getirmek ve yerel sunucunuzda görmek için aşağıdaki komutu çalıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;
&lt;span class=&quot;token function&quot;&gt;cp&lt;/span&gt; &lt;span class=&quot;token parameter variable&quot;&gt;-R&lt;/span&gt; themes/docs/demo/content &lt;span class=&quot;token builtin class-name&quot;&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2&gt;Yapılandırma&lt;/h2&gt;
&lt;p&gt;Tema, belgelerinizi daha da özelleştirmenize yardımcı olabilecek bazı yararlı seçenekler içerir. &lt;strong&gt;demo/config.toml&lt;/strong&gt; dosyasını kopyalayın ve bilgileri kendi verilerinizle değiştirin. Son olarak çalıştırarak yerel sunucuyu başlatın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;
hugo serve
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2&gt;Özelleştir&lt;/h2&gt;
&lt;p&gt;HuDocs oldukça özelleştirilebilir bir tema, eğer temada değişiklik yapmak istiyorsanız projenizin kök dizininde bulunan &lt;strong&gt;assets/scss/_custom.scss&lt;/strong&gt; klasöründe bir &lt;strong&gt;_custom.scss&lt;/strong&gt; dosyası oluşturmanızı ve özel stillerinizi buraya eklemenizi öneririm.&lt;/p&gt;

&lt;h2&gt;Netlify&lt;/h2&gt;
&lt;p&gt;Ayrıca Netlify için örnek olarak kullanabileceğiniz bir yapılandırma dosyası da ekledim. &lt;strong&gt;demo/netlify.toml&lt;/strong&gt; dosyasını kopyalayın ve bilgileri verilerinizle değiştirin. Ardından yeni bir Netlify sitesi oluşturun ve GitHub deponuza bağlayın.&lt;/p&gt;

&lt;h2&gt;Sonuç&lt;/h2&gt;
&lt;p&gt;HuDocs, projelerin belgelendirilmesini kolaylaştırmak için oluşturulmuş bir temadır. Ancak projelerini belgelendirmesi gereken diğer insanlara zaman kazandırmak için paylaşılmıştır. Herhangi bir öneriniz veya iyileştirmeniz varsa, bunları benimle paylaşmaktan çekinmeyin.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/1821918587912571657/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/09/huDocs-ile-projelerinizi-kolayca-belgeleyin.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1821918587912571657'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1821918587912571657'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/09/huDocs-ile-projelerinizi-kolayca-belgeleyin.html' title='HuDocs ile projelerinizi kolayca belgeleyin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjhGh95-27G0kTJoVJ2w3-vSDzJNi17Xkj6668e7sZkLXGwnQJIArw4qTbHvTx3OhnO9iVpZVgSxYqDZ-OexW1LmsYAxzsMHTBC3xdFYBn7ODpdSvhfagZSsnfRPUgHnsnAqCmU7id-MjHUbMu6rtFloIF4YRBn3VGDNaimkjSCb7ZZqSSvuFRUEOeKXoE=s72-c-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-1018955763810526653</id><published>2023-07-28T12:15:00.050+03:00</published><updated>2023-08-14T12:58:32.638+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger dinamik görünümünü devre dışı bırakmak</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXLcJlm82HmVMV8cFuUUzmdRBzyz-IuBwmLdv6b3BTiokxCY4bkGqvyipl5cqdL_Yq_0bcTgMaW9mRGpbm0UIHtJxU89ZmezGdEEmogHB_B3-H9IzEoppFPTs3sK0OtSkZuPxSwR2z-dh8YKjzapJ9vspmBHx6xSPsUOyxH2U4W0XNACOlabXopD0LhQ5k/s1600/blogger-dinamik-gorunumunu-devre-disi-birakmak.jpg&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXLcJlm82HmVMV8cFuUUzmdRBzyz-IuBwmLdv6b3BTiokxCY4bkGqvyipl5cqdL_Yq_0bcTgMaW9mRGpbm0UIHtJxU89ZmezGdEEmogHB_B3-H9IzEoppFPTs3sK0OtSkZuPxSwR2z-dh8YKjzapJ9vspmBHx6xSPsUOyxH2U4W0XNACOlabXopD0LhQ5k/s1600/blogger-dinamik-gorunumunu-devre-disi-birakmak.jpg&quot; alt=&quot;Blogger Dinamik Görünümünü Devre Dışı Bırakmak&quot; width=&quot;900&quot; height=&quot;507&quot;&gt;
&lt;/p&gt;
&lt;p&gt;Web sitenizde hızlı bir alıştırma yapmanızı istiyorum ve yaptığınızda bu makaleye geri dönün ve şaşırdıysanız yorum yapın. Blogger&#39;da blogunuzu ziyaret edin ve ana sayfaya &lt;code&gt;view&lt;/code&gt; rotasını ekleyin, örneğin:&lt;/p&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-txt&quot; data-lang=&quot;txt&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://www.ornek.com/&lt;mark&gt;view&lt;/mark&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Hiçbir şey olmazsa &amp;#161;tebrikler!. Bunu zaten biliyordunuz veya hallettiniz, ancak aktif durumda olan herkes için bu makale faydalı olacaktır.&lt;/p&gt;
&lt;h2 id=&quot;dinmaik-gorunum&quot;&gt;Dinamik görünüm&lt;/h2&gt;
&lt;p&gt;Bu rotada öne çıkan tema, blog içeriğini tek bir sayfada görüntüleyen ve okuyucunun içeriği yeniden yüklemeden blogda gezinmesine olanak tanıyan &lt;strong&gt;Blogger&#39;ın Dinamik Görünümünden&lt;/strong&gt; başka bir şey değildir.&lt;/p&gt;
&lt;p&gt;Bu modu, yönetim panelinde etkinleştirmemiş olsanız bile &lt;strong&gt;her zaman etkindir&lt;/strong&gt;, dolayısıyla yüklü temadan bağımsız olarak tüm Blogger bloglarından erişilebilir.&lt;/p&gt;

&lt;h2 id=&quot;301-yonlendirmesi&quot;&gt;301 yönlendirmesi&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Dinamik görünümleri devre dışı bırakmanın&lt;/strong&gt; en uygun yolu 301 yönlendirmeleridir. Bu nedenle bu rotaların arama motorlarında dizine eklenmesini de önleyeceğiz. Oluşturmanız gereken yönlendirmeler şunlardır:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-txt&quot; data-lang=&quot;txt&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/sidebar
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/snapshot
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/timeslide
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/mosaic
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/magazine
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/flipcard
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;/view/classic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Sondaki &lt;code&gt;/&lt;/code&gt; eğik çizgiyi içeren her dinamik görünüm için ek bir yönlendirme oluşturmanız da önerilir ve bunların tümü üst sayfayı göstermelidir. Aşağıdakilere dikkat edin:&lt;/p&gt;
&lt;video class=&quot;plyr&quot; preload=&quot;none&quot; poster=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2NfwQRsDcEkoRwxJ7TIS6YvSaQ7XBEf5tHmT4Th1VAKWokt5dl-wLimQZe6YKyQOTL7SiqcT4kdez9HJPONU7nP_ooNeXPFEDVd_tpugzYjHutki6DQIQ6ZnIkZ-wYl0S1_Z_azl2uyTlaEY0XGbYMZvQL719_aZNiNbmcDfK0_3BRbUj-A5Qog/s900-rw-l80-e30/poster-redirect-dynamic-view.jpg&quot; controls=&quot;&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTgcX9FdQJAdJShPWRH7DS69gRBVmVQbJgoCoR0cGsv0Dh0AiYdCHKQf3k7j-AWlXCcPLFWngb_AmIAqoqt5X40fZWNoxLJBTs2b8Q0-LEuzbE78LfZwqto3z_oMUTHbwXS03fsLee/m18/redirect-vista-dinamica.mp4&quot; size=&quot;360&quot; type=&quot;video/mp4&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTgcX9FdQJAdJShPWRH7DS69gRBVmVQbJgoCoR0cGsv0Dh0AiYdCHKQf3k7j-AWlXCcPLFWngb_AmIAqoqt5X40fZWNoxLJBTs2b8Q0-LEuzbE78LfZwqto3z_oMUTHbwXS03fsLee/m22/redirect-vista-dinamica.mp4&quot; size=&quot;720&quot; type=&quot;video/mp4&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTgcX9FdQJAdJShPWRH7DS69gRBVmVQbJgoCoR0cGsv0Dh0AiYdCHKQf3k7j-AWlXCcPLFWngb_AmIAqoqt5X40fZWNoxLJBTs2b8Q0-LEuzbE78LfZwqto3z_oMUTHbwXS03fsLee/m37/redirect-vista-dinamica.mp4&quot; size=&quot;1080&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;

&lt;h2 id=&quot;beslemeleri-devre-disi-birak&quot;&gt;Beslemeleri devre dışı bırak&lt;/h2&gt;
&lt;p&gt;Bu, dinamik görünümü yarı kapatmanın başka bir yoludur, ancak &lt;strong&gt;bu şekilde yapılmasını önermiyorum&lt;/strong&gt;, sadece bilgi için bıraktım.&lt;/p&gt;

&lt;p&gt;Dinamik mod, sitede gezinmek için JavaScript kullanır ve blog yayınlarının içeriğe erişmesini gerektirir. Beslemeleri kullanmayıp, &lt;strong&gt;bunları devre dışı bırakmak görünümlerin yüklenmesini engeller&lt;/strong&gt;. Ancak yine de erişilebilir olacaktır, yalnızca bu sefer bir bilgi mesajı görüntülencektir:&lt;/p&gt;

&lt;video class=&quot;plyr&quot; preload=&quot;none&quot; poster=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1rakvuArkOAYq-e7bexdMhyaFoCwgCzCqhgl-8XgyNtKGHjCLaqMIjxYeYzyfe8ib3ca-3dUdWVDx-uCfXfye9KsHd7DC_iuH91tHbewf-ABctsGeEeWrcvfRV-H13taEYVrU4-0drmAxX8bfjYNbpMwHFni_Gs3nYM6nQjWecWQgwxUXCvIrdw/s900-rw-l80-e30/poster-desactivar-feeds-vista-dinamica.jpg&quot; controls=&quot;&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdShAyHiJxUSwXZMqEw7jTDphZGo0kq2uVKTJ-lrYSY4PFPGHj2gJHD10i19eh5EbJhQfgfyQKfQEPOkmK2Yb9_4zTkhg_OSlcEkafEGqzQAH7aEMubBVnqulMP37CmVzq2nunqXh4/m18/desactivar-feeds-vista-dinamica.mp4&quot; size=&quot;360&quot; type=&quot;video/mp4&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdShAyHiJxUSwXZMqEw7jTDphZGo0kq2uVKTJ-lrYSY4PFPGHj2gJHD10i19eh5EbJhQfgfyQKfQEPOkmK2Yb9_4zTkhg_OSlcEkafEGqzQAH7aEMubBVnqulMP37CmVzq2nunqXh4/m22/desactivar-feeds-vista-dinamica.mp4&quot; size=&quot;720&quot; type=&quot;video/mp4&quot;&gt;
  &lt;source src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdShAyHiJxUSwXZMqEw7jTDphZGo0kq2uVKTJ-lrYSY4PFPGHj2gJHD10i19eh5EbJhQfgfyQKfQEPOkmK2Yb9_4zTkhg_OSlcEkafEGqzQAH7aEMubBVnqulMP37CmVzq2nunqXh4/m37/desactivar-feeds-vista-dinamica.mp4&quot; size=&quot;1080&quot; type=&quot;video/mp4&quot;&gt;&lt;/video&gt;

&lt;h2 id=&quot;cozum&quot;&gt;Çözüm&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Dinamik görünümlerin yüklenmesini engellemenin&lt;/strong&gt; zorunlu olmadığını unutmayın, çünkü bunlar sizin için yararlıysa herhangi bir değişiklik yapmamalısınız. Aksine, bu görünümleri beğenmezseniz, bunları kaldırmak için kullanabilirsiniz.&lt;/p&gt;
</content><link rel='enclosure' type='Orjinal içerik - zkreations' href='https://www.zkreations.com/2022/12/desactivar-la-vista-dinamica-de-blogger.html' length='0'/><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/1018955763810526653/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/07/blogger-dinamik-gorunumunu-devre-.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1018955763810526653'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1018955763810526653'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/07/blogger-dinamik-gorunumunu-devre-.html' title='Blogger dinamik görünümünü devre dışı bırakmak'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXLcJlm82HmVMV8cFuUUzmdRBzyz-IuBwmLdv6b3BTiokxCY4bkGqvyipl5cqdL_Yq_0bcTgMaW9mRGpbm0UIHtJxU89ZmezGdEEmogHB_B3-H9IzEoppFPTs3sK0OtSkZuPxSwR2z-dh8YKjzapJ9vspmBHx6xSPsUOyxH2U4W0XNACOlabXopD0LhQ5k/s72-c/blogger-dinamik-gorunumunu-devre-disi-birakmak.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-1610784025256431622</id><published>2023-07-09T02:20:00.028+03:00</published><updated>2023-08-14T12:58:39.011+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Google Drive&#39;da doğrudan indirme bağlantıları oluşturun</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgH_zUHjE7vk2b6WjOc8kejzy1I2LC2ngzpgXYtDOU6FOi3NO2fsl_57I46a8BuSzBSM0-tUjK8CPKl8XuD_77Y6RRzYNhmgavXTAq_21zY8fN3I9VckjsVop4LzT2FVjvAxSvxnxhk2eM0QcnS3GP12APUKJhCo2E49EyM8DvK1Rr78COe0eUW9hm3&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhc9r6qWB2UqU09dmgnBIpfhTDF6IDOs4sm2Yr7z2wXqiqmwwQ75ndTVFtPqaGar9R6DIYGLG28NYV1PDYBKWfkX-YHhuQSKMVmGf-ZopHLd5Qfv138hiSYVlCEbP467irpt7cAXo6YdG1GWUhZqOGZf3udRlZq6pRGtNcKjGd5dlfBE3FRpnzCw/s900-rw-l80-e30/google-drive-enlace-directo-descarga-host-hosting-gratis.png&quot; alt=&quot;usar google drive como hosting gratuito&quot; width=&quot;900&quot; height=&quot;507&quot;&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Multimedya dosyalarını ücretsiz olarak barındırmak&lt;/strong&gt; için alternatifler bulmak oldukça zor bir iş olabilir. Neyse ki, ilk bakışta bu kullanımı belirtmeseler de, bu amaçla yararlanabileceğimiz bazı hizmetlere hala sahip olabiliyoruz.&lt;/p&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;p&gt;Bugün size, 15 gb ücretsiz depolama alanı ve &lt;strong&gt;günlük 750 gb&lt;/strong&gt; ile sınırlı bir bant genişliği sağlayan Google Drive&#39;da ki bir dosya için doğrudan indirme bağlantısını nasıl oluşturacağınızı göstereceğim.&lt;/p&gt;
&lt;h2 id=&quot;ortak-klasor-olustur&quot;&gt;Ortak klasör oluştur&lt;/h2&gt;
&lt;p&gt;Her şeyden önce, &lt;a href=&quot;https://drive.google.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Google Drive&#39;da oturum açın&lt;/a&gt;, ardından Drive&#39;ım&#39;ı tıklayın ve istediğiniz şekilde adlandırabileceğiniz yeni bir klasör oluşturun:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ESYFKrPMq3tDE9rd6FioWngmV_F0ftVH_vpk14UHEpayItYkAMUeqjiO-VjwcQOSLRR5l_tac0ooPG2bLyfbrwBAIfCpqVGadvvHWtJswDo9p498E-O7ssMGWHlNkBKbuw0RGy54hcTx6hcKYlyWhDNaduXBmS-eL47lZO3XSyHeot1iBS_fZA/s900-rw-l80-e30/crear-carpeta-publica-google-drive.png&quot; alt=&quot;crear carpeta publica google drive&quot; width=&quot;381&quot; height=&quot;392&quot; loading=&quot;lazy&quot;&gt;
&lt;/p&gt;
&lt;p&gt;Şimdi üzerine sağ tıklayın ve &amp;#8220;Paylaş&amp;#8221; seçeneğini seçin. Değişiklikleri kaydetmek için &amp;#8220;Bağlantıya sahip olan herkese değiştir&amp;#8221; ve ardından &amp;#8220;Bitti&amp;#8221; düğmesine tıklayacağımız kalıcı bir pencere açılacaktır:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkslGsyOgkqaUbGmYcobiMC7_q3NOkHisqBbz8LImHEzRhn4weFlVBiOpqi742bqBLTCLf0zrwihKxqYYisFP35hEFg9QnWxSBNO2j8VIfxDgCQs8GxCVoyUbttJSOdnifAERM_fagm43s84hAaONFAIe_XPygM0syGQvc3eudIXNi7drfkmCd0A/s900-rw-l80-e30/configuracion-carpeta-publica.png&quot; alt=&quot;configurar carpeta publica en google&quot; width=&quot;538&quot; height=&quot;441&quot; loading=&quot;lazy&quot;&gt;
&lt;/p&gt;
&lt;p&gt;Google Drive&#39;da zaten ortak klasörümüz var, içinde &lt;strong&gt;doğrudan indirme bağlantısını&lt;/strong&gt; elde etmek istediğimiz tüm multimedya dosyalarını yükleyeceğiz.&lt;/p&gt;
&lt;h2 id=&quot;dogrudan-indirme-baglantisi-olustur&quot;&gt;Doğrudan indirme bağlantısı oluştur&lt;/h2&gt;
&lt;p&gt;Dosyayı yükledikten sonra, üzerine sağ tıklayın ve kopyalamak için &amp;#8220;Bağlantıyı al&amp;#8221; düğmesine basın:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwwu78Jenhs-b80b-JRBI3-mHDaq3-ASG4OGtwZDpUAQXJ1uoxnWZH3khH3Yldza1QiVrLm8yy4CJJ6Rn0zo2z8FsurV7E83LQeB6F8DWYDWVSv44sZRHrAu6sc9mQj8alByfnHez-bTTj1aFYKjJp3adv6vKJwY21vINUF26fzySxN2X_q-EZHQ/s900-rw-l80-e30/hosting-gratis-google-crear-enlace-directo-google-drive.png&quot; alt=&quot;hosting gratis google copiar enlace&quot; width=&quot;398&quot; height=&quot;301&quot; loading=&quot;lazy&quot;&gt;
&lt;/p&gt;
&lt;p&gt;Google Drive tarafından sağlanan bağlantı aşağıdakine benzer:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://drive.google.com/file/d/&lt;mark&gt;123456789XXXXXXX&lt;/mark&gt;/view?usp=sharing
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Dosya kimliğini, yani sarı renkle vurgulanan her şeyi kopyalamanız ve aşağıda gösterildiği yere yapıştırmanız yeterlidir:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://drive.google.com/uc?export=download&amp;amp;id=&lt;mark&gt;Id_Archivo&lt;/mark&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Bu değişikliği yaparken sonuç şuna eşit olacaktır:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://drive.google.com/uc?export=download&amp;amp;id=123456789XXXXXXX
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Size vereceğim ve kendi deneyimlerime göre çok yararlı olduğunu düşündüğüm kişisel bir tavsiye, bağlantıyı tanımlayabilmek için dosyanın adını döndürmenizdir, bunu aşağıdaki şekilde yapabilirsiniz:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://drive.google.com/uc?export=download&amp;amp;id=123456789XXXXXXX&lt;mark&gt;&amp;amp;name=nombre-video.mp4&lt;/mark&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Parametre hiçbir şeyi etkilemeyecek ve adı ve formatı hızlı bir şekilde tanımlamanıza izin verecektir. İşte bu kadar, bir &lt;strong&gt;indirme bağlantısı&lt;/strong&gt; oluşturmayı bitirdiniz ve bağlantıyı ziyaret ederseniz otomatik bir indirme başlayacaktır.&lt;/p&gt;
&lt;h2 id=&quot;otomatik-olustur&quot;&gt;Otomatik oluştur&lt;/h2&gt;
&lt;p&gt;Alternatif bir yöntem olarak, &lt;a href=&quot;https://workspace.google.com/marketplace/app/download_link_generator_for_drive/631283629814&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Drive için İndirme Bağlantısı Oluşturucu&lt;/a&gt; adlı bir &lt;strong&gt;GSuite&lt;/strong&gt; eklentisi kullanabilirsiniz. Eklenti sayfasına gidin, yüklemek için Google izinlerini sağlayın ve işte, şimdi şöyle bir şey yapabilirsiniz:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNqdEq5STShgrHSA1pdIq9YNt4iRMDDAtTdc1YXEvwgEhrpWWpGPROQ0ygZOsb40P3nEB_euUxRd7xuUvy9c4fxfu1DF0fRoy7pOPN6XX3dS-ezcMKm2mWmgJkNc74kZnN18D42xq_bUlVxJ3ltKGG-xhUOWW0sllrTt6XeMUIBd_ealgDzEf6KQ/s900-rw-l80-e30/generador-enlace-directo-descarga-google-drive.png&quot; alt=&quot;Enlace de descarga automático google drive&quot; width=&quot;729&quot; height=&quot;376&quot; loading=&quot;lazy&quot;&gt;
&lt;/p&gt;
&lt;h2 id=&quot;dosya-sinirlari&quot;&gt;Dosya sınırları&lt;/h2&gt;
&lt;p&gt;Google Drive tüm indirilenleri virüslere karşı taradığından dosyaların &lt;strong&gt;boyutu 100 MB&lt;/strong&gt;&#39;ı aşamaz. 100 MB&#39;ı aşarsa, dosyanın indirilmek yerine taranamayacağını belirten bir uyarı görüntülenecektir.&lt;/p&gt;
&lt;p&gt;Öte yandan, yüklediğiniz tüm dosyalar &lt;a href=&quot;https://support.google.com/docs/answer/148505&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Google Drive Politikalarına&lt;/a&gt; uygun olmalıdır.&lt;/p&gt;
&lt;h2 id=&quot;linkler-nasil-kullanilir&quot;&gt;Linkler nasıl kullanılır&lt;/h2&gt;
&lt;p&gt;Ana avantajı, web sitemizde veya bloğumuzda kullanmak üzere ses veya video gibi küçük multimedya dosyalarını yüklememiz gerektiğinde barındırma için ödeme yapmaktan tasarruf etmemizdir. Örneğin, bu eğitimin ses dosyasının bağlantısı:&lt;/p&gt;
&lt;audio class=&quot;plyr&quot; preload=&quot;none&quot; controls=&quot;&quot;&gt;
  &lt;source src=&quot;https://drive.google.com/uc?id=1tHvuCviYuJ-smCPRmMc2xaaBozDWV0df&amp;amp;export=download&amp;amp;name=eevee-hold-up.mp3&quot; type=&quot;audio/mp3&quot;&gt;
&lt;/audio&gt;

&lt;p&gt;Videolar da aynı şekilde kullanılabilir, ancak boyutun &lt;strong&gt;100 MB&#39;ı geçemeyeceğini&lt;/strong&gt; unutmayın, bu nedenle videolarınızı iyi sıkıştırmanızı tavsiye ederim.&lt;/p&gt;
&lt;video class=&quot;plyr&quot; preload=&quot;none&quot; poster=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivwjkF8F4iW_xSQ8IQVZv-FeL4VE9wU6PoEQp6evTF9JYMuC-8qAhSN5Pm7yc9_lkwvDtPfhm_xGu1PC41J1xOX8wnyjf8SWfcyjEeG21BwYTkbrzCYYy8Y__BS9wL_gaeoECM7y48Ze6GuFxKQ9prPZWtNQO7M5otG1zBZkpGgpXmPxUo57F4zg/s900-rw-l80-e30/taryn-elliott.mp4_snapshot.jpg&quot; controls=&quot;&quot;&gt;&lt;source src=&quot;https://drive.google.com/uc?id=1ndW1HxzoQYPlCap_0la1q0uPbvagxb4d&amp;amp;export=download&amp;amp;name=taryn-elliott.mp4&quot; type=&quot;video/mp4&quot;&gt;
  &lt;/video&gt;

&lt;h2 id=&quot;cozum&quot;&gt;Çözüm&lt;/h2&gt;
&lt;p&gt;Google Drive, &lt;strong&gt;dosyaları ücretsiz olarak barındırmak ve bunları blogumuzda kullanmak için mükemmel bir alternatiftir&lt;/strong&gt;. Umarım bu makale sizin için yararlı olmuştur. Uğradığınız için teşekkürler!&lt;/p&gt;</content><link rel='enclosure' type='Audio de eevee - hold up' href='https://www.pexels.com/es-es/video/paisaje-montanas-naturaleza-mujer-4047487/' length='0'/><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/1610784025256431622/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/07/google-drive-da-dogrudan-indirme-baglantilari-olusturun.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1610784025256431622'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/1610784025256431622'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/07/google-drive-da-dogrudan-indirme-baglantilari-olusturun.html' title='Google Drive&#39;da doğrudan indirme bağlantıları oluşturun'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgH_zUHjE7vk2b6WjOc8kejzy1I2LC2ngzpgXYtDOU6FOi3NO2fsl_57I46a8BuSzBSM0-tUjK8CPKl8XuD_77Y6RRzYNhmgavXTAq_21zY8fN3I9VckjsVop4LzT2FVjvAxSvxnxhk2eM0QcnS3GP12APUKJhCo2E49EyM8DvK1Rr78COe0eUW9hm3=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3235724610340490967</id><published>2023-07-09T01:48:00.017+03:00</published><updated>2023-11-09T01:15:58.516+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Plyr ile özel video oynatıcı</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj647AkBbNBRp_phh9bqTGMqsQ_s0ggVpyl1eT3-EItd6BEIDptUmUrHjxrWt-b9hhQgLq8Axxv40j8JDXph0W3hzb93rJSAxmhK_nurpStkJ6SIgoDWiN20fLqdId0U8m8aWTWgLmYTfnrgtDFz8B_sLleXaREgeIOyLhr_YDy29o7xkBa6xG3Ir_E&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;/&gt;

&lt;p class=&quot;none meta-description&quot;&gt;Tarayıcının yerel oynatıcısını kullanırken muhtemelen sizi rahatsız eden faktörlerden biri de tasarımdaki tutarsızlıktır.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhy3dS1vqNLNTkWHAMEOfWcs8YsFcrdqug74K4fUD_sb46y8vu9k-dsj0syJKhdzunDK6Y9u1ciszWpLRq3Hs4UNhlzEYw4SzhwPR0phz-nNvtGbtNHLvT8JjGTYVvE7QOnODLrynH-FuvijiFMpfemh-t3CghxvdY83hmNTziaZnZRUBg39O6Svg/s900-rw-l80-e30/reproductor-html5-audio-video-pure-javascript-responsive.png&quot; alt=&quot;reproductor html5 personalizable ligero responsive&quot; width=&quot;900&quot; height=&quot;507&quot;&gt;
&lt;/p&gt;
&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  
  &lt;a class=&quot;btn btn-tertiary&quot; href=&quot;https://github.com/sampotts/plyr/stargazers&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;svg class=&quot;i i-star&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path d=&quot;m12 1.5 3.1 6.3 6.9 1-5 4.8 1.2 6.9-6.2-3.2-6.2 3.2L7 13.6 2 8.8l6.9-1z&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Calificar&lt;/a&gt;
  
  &lt;a class=&quot;btn&quot; href=&quot;https://github.com/sampotts/plyr&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;svg class=&quot;i i-github&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path d=&quot;M9 22v-3q0-2 1-3A7 6.5 0 0 1 5 5Q4 3 5 1q3 0 4 2 3.5-1 7 0 1-2 4-2 1 2 0 4a7 6.5 0 0 1-5 11q1 1 1 3v3m-7-3c-4 1-4-2-7-3&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Github ile görüntüle&lt;/a&gt;

&lt;/div&gt;

&lt;p&gt;Tarayıcının yerel oynatıcısını kullanırken muhtemelen sizi rahatsız eden faktörlerden biri de tasarımdaki tutarsızlıktır. Örneğin, Firefox oynatıcısı Chrome&#39;dan ve bunlar da Safari&#39;den farklıdır. YouTube&#39;dan videoları gömmek için kod kullanmanız durumundan bahsetmiyorum bile.&lt;/p&gt;

&lt;p&gt;Plyr size yardım etmek için burada, ancak yalnızca özelleştirmeyle sınırlı değil, beraberinde YouTube ve Vimeo oynatıcı desteği, bağımlılık olmaması (ES6&#39;da yazılmış) ve çok daha fazlası dahil olmak üzere çok çeşitli &lt;a href=&quot;https://github.com/sampotts/plyr#features&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;özellikler&lt;/a&gt; getiriyor.&lt;/p&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;
&lt;p&gt;Hay muchas maneras de incluirlo a tu proyecto, sin embargo solo me voy a centrar en la entrega mediante CDN que proporciona Plyr. Busca en tu proyecto la etiqueta &lt;code&gt;&amp;lt;/head&amp;gt;&lt;/code&gt; y arriba de eso pega el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;rel&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;https://cdn.plyr.io/3.7.8/plyr.css&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;https://cdn.plyr.io/3.7.8/plyr.js&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;defer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ahora para iniciar el reproductor, te facilito el siguiente código javascript al cual le he incluido el modo &lt;strong&gt;&amp;#8220;sin cookies&amp;#8221;&lt;/strong&gt; de Youtube y la &lt;strong&gt;traducción de los botones&lt;/strong&gt; al idioma que prefieras:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/*&amp;lt;![CDATA[*/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nb&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;DOMContentLoaded&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;kr&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;players&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;from&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;querySelectorAll&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;.plyr&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;Plyr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;nx&quot;&gt;youtube&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;noCookie&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;nx&quot;&gt;i18n&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;quality&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&#39;Calidad&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;speed&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&#39;Velocidad&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;captions&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&#39;Subtítulos&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;disabled&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&#39;Desactivar&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;enabled&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s1&quot;&gt;&#39;Activar&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;}));&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/*]]&amp;gt;*/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Por último debemos especificar los elementos que iniciarán con Plyr usando la clase &lt;code&gt;plyr&lt;/code&gt;, esto dependerá de lo que queramos hacer, pero explicaré algunos métodos a continuación.&lt;/p&gt;

&lt;h2&gt;YouTube ile kullanın&lt;/h2&gt;

&lt;p&gt;Primero necesitas obtener la ID de un video de YouTube, que es el código que se encuentra después de &lt;code&gt;watch?v=&lt;/code&gt; como se muestra en el siguiente enlace de ejemplo:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://www.youtube.com/watch?v=&lt;mark&gt;ppMXtTbNnCs&lt;/mark&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ahora utiliza la siguiente código html, en donde vas a ubicar el id copiado del video en el atributo &lt;code&gt;plyr-embed-id&lt;/code&gt; como se muestra a continuación:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;plyr&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;data-plyr-provider&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;youtube&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;data-plyr-embed-id&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;mark&gt;ppMXtTbNnCs&lt;/mark&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ahora ya podemos controlar el reproductor de YouTube con Plyr. La desventaja es que &lt;strong&gt;el logo y otros datos seguirán apareciendo&lt;/strong&gt; y no podremos usar las opciones nativas de YouTube:&lt;/p&gt;

&lt;div class=&quot;plyr&quot; data-plyr-provider=&quot;youtube&quot; data-plyr-embed-id=&quot;ppMXtTbNnCs&quot;&gt;&lt;/div&gt;

&lt;h2 id=&quot;usar-con-vimeo&quot;&gt;Vimeo ile kullanın&lt;/h2&gt;

&lt;p&gt;Debemos obtener la id del video en Vimeo, al igual que como lo hicimos para YouTube, a modo de ejemplo vamos a extraerla del siguiente enlace:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;https://vimeo.com/&lt;mark&gt;247535042&lt;/mark&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Ahora utiliza este código html ubicando la id copiada del video en el atributo &lt;code&gt;plyr-embed-id&lt;/code&gt;, toma en cuenta de que también cambia el valor del atributo &lt;code&gt;plyr-provider&lt;/code&gt; que ahora sera &lt;strong&gt;vimeo&lt;/strong&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;plyr&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;data-plyr-provider&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;vimeo&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;data-plyr-embed-id&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;mark&gt;247535042&lt;/mark&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;En este caso, los datos y logo de Vimeo si desparecen, pero seguimos sin tener acceso a las &lt;strong&gt;opciones nativas del reproductor&lt;/strong&gt;, que en este caso es Vimeo:&lt;/p&gt;

&lt;div class=&quot;plyr&quot; data-plyr-provider=&quot;vimeo&quot; data-plyr-embed-id=&quot;247535042&quot;&gt;&lt;/div&gt;

&lt;h2&gt;Audio HTML5&lt;/h2&gt;

&lt;p&gt;En este caso podremos usar la etiqueta HTML5 de audio con todas sus &lt;a href=&quot;https://www.w3schools.com/html/html5_audio.asp&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;opciones nativas&lt;/a&gt;. Para iniciar Plyr vamos a agregar la clase &lt;code&gt;plyr&lt;/code&gt; de la siguiente manera:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;audio&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&#39;plyr&#39;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;controls&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;audio.mp3&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;audio/mp3&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;audio&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Es lo único, todo lo demás, como el soporte para distintos formatos y otras opciones corresponden a la &lt;a href=&quot;https://www.w3schools.com/html/html5_audio.asp&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;etiqueta HTML5 de audio&lt;/a&gt;, por lo tanto no tienes que hacer nada más:&lt;/p&gt;

&lt;audio preload=&quot;none&quot; class=&quot;plyr&quot; controls=&quot;&quot;&gt;
  &lt;source src=&quot;https://drive.google.com/uc?id=1Lz_CR1wuyNuTH3nvIq4nuezGHasTByZo&amp;amp;export=download&amp;amp;name=SNUG-Findings.mp3&quot; type=&quot;audio/mp3&quot;&gt;
&lt;/audio&gt;

&lt;h2&gt;Video HTML5&lt;/h2&gt;

&lt;p&gt;Vamos a usar la etiqueta HTML5 nativa de videos y de igual forma todas las &lt;a href=&quot;https://www.w3schools.com/html/html5_video.asp&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;opciones nativas&lt;/a&gt; estarán disponibles. Para iniciar Plyr agrega  la clase &lt;code&gt;plyr&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&#39;plyr&#39;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;poster&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;thumbnail.jpg&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;playsinline&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;controls&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video.mp4&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video/mp4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Eso es todo, para este ejemplo y con el fin de que puedas apreciar gran parte de las opciones que trae Plyr, he agregado subtítulos, varias resoluciones (simulado) y un poster:&lt;/p&gt;

&lt;video preload=&quot;none&quot; class=&quot;plyr&quot; controls=&quot;&quot; crossorigin=&quot;&quot; playsinline=&quot;&quot; poster=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjOp8cPG_zcrnJ_T-qP7OmGrtMJrImiEDWbvaBYZF3eSMQFBhAfU6O95xPHvFmFYk0b5OfRHs1pP-1SPvpA1Ex1eoph9mjec1rnp5QhL7GJehHCTZB-86oDN0zubVHbe9HIAXd2nURlZhN0Ohi9t2wLQbB24Afex85dsRC7g1AB_K9OLneU1VhfA/s900-rw-l80-e30/sintel.png&quot;&gt;
  &lt;source src=&quot;https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4&quot; type=&quot;video/mp4&quot; size=&quot;576&quot;&gt;
  &lt;source src=&quot;https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4?720&quot; type=&quot;video/mp4&quot; size=&quot;720&quot;&gt;
  &lt;source src=&quot;https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4?1080&quot; type=&quot;video/mp4&quot; size=&quot;1080&quot;&gt;
  &lt;track kind=&quot;captions&quot; label=&quot;Français&quot; srclang=&quot;fr&quot; src=&quot;https://cdn.jsdelivr.net/gh/zkreations/data/static/captions/sintel_fr.vtt&quot;&gt;
  &lt;track kind=&quot;captions&quot; label=&quot;English&quot; srclang=&quot;en&quot; src=&quot;https://cdn.jsdelivr.net/gh/zkreations/data/static/captions/sintel_en.vtt&quot;&gt;
  &lt;track kind=&quot;captions&quot; label=&quot;Español&quot; srclang=&quot;es&quot; src=&quot;https://cdn.jsdelivr.net/gh/zkreations/data/static/captions/sintel_es.vtt&quot; default=&quot;&quot;&gt;
&lt;/video&gt;

&lt;h3&gt;Altyazılar&lt;/h3&gt;

&lt;p&gt;Para agregar subtítulos utiliza la &lt;a href=&quot;https://www.w3schools.com/tags/tag_track.asp&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;etiqueta track&lt;/a&gt; especificando el idioma y la fuente del archivo, pero ten cuidado, si los subtítulos están alojados en un servidor externo al de tu web, también necesitaras especificar el atributo &lt;code&gt;crossorigin&lt;/code&gt;, de lo contrario no funcionara:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&#39;plyr&#39;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;controls&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;playsinline&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;crossorigin&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video.mp4&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video/mp4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Subtítulos --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;track&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;kind&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;captions&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;label&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;English&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;srclang&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;en&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;captions_en.vtt&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;track&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;kind&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;captions&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;label&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Español&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;srclang&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;es&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;captions_es.vtt&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3 id=&quot;calidad&quot;&gt;Kalite&lt;/h3&gt;

&lt;p&gt;Para poder especificar las opciones de calidad, necesitarás agregar elementos &lt;a href=&quot;https://www.w3schools.com/tags/tag_source.asp&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;HTML5 source&lt;/a&gt;, con el atributo &lt;code&gt;size&lt;/code&gt; correspondiente a la calidad, por ejemplo:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;

&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&#39;plyr&#39;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;controls&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;playsinline&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;c&quot;&gt;&amp;lt;!-- Calidad --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video_576p.mp4&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;576&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video/mp4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video_720p.mp4&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;720&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;video/mp4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Kısayollar&lt;/h3&gt;
&lt;p&gt;El reproductor también cuenta con algunos atajos pulsando botones del teclado. En la siguiente tabla te dejo los que están disponibles hasta el momento, así como su función:&lt;/p&gt;

&lt;div class=&quot;ox-auto&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Key&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt; al &lt;code&gt;9&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Buscar del 0 al 90% del vídeo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;K&lt;/code&gt; o &lt;code&gt;space&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Alternar reproducción (play o pause)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&amp;#8592;&lt;/code&gt; y &lt;code&gt;&amp;#8594;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Buscar hacia atrás y hacia adelante&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&amp;#8593;&lt;/code&gt; y &lt;code&gt;&amp;#8595;&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Subir y bajar volumen&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;M&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Mutear&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;F&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Pantalla completa&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;C&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Activar o desactivar subtítulos&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;L&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Activar o desactivar reproducción continua&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h2&gt;Vidstack ile birleştirme&lt;/h2&gt;

&lt;p&gt;Estoy consiente de que Plyr está en un &lt;a href=&quot;https://github.com/sampotts/plyr/issues/2408&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;proceso de fusion&lt;/a&gt; con otro proyecto llamado &lt;strong&gt;Vidstack&lt;/strong&gt;, el cual es su sucesor, cuando esto ocurra, el repositorio de Plyr será archivado, pero podrás seguir utilizándolo en tus proyectos, simplemente dejará de recibir actualizaciones. Cuando la version estable de Vidstack esté disponible haré un articulo al respecto.&lt;/p&gt;

&lt;h2&gt;Çözüm&lt;/h2&gt;

&lt;p&gt;Plyr es una de las opciones que más me han gustado para &lt;strong&gt;personalizar el reproductor fácilmente&lt;/strong&gt;, y aunque actualmente no lo uso, si que estoy al tanto de su desarrollo y lo tomo en cuenta para futuros proyectos. Espero que este articulo te haya sido de utilidad. &amp;#161;Gracias por leer!&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3235724610340490967/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/07/plyr-ile-ozel-video-oynatici.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3235724610340490967'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3235724610340490967'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/07/plyr-ile-ozel-video-oynatici.html' title='Plyr ile özel video oynatıcı'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj647AkBbNBRp_phh9bqTGMqsQ_s0ggVpyl1eT3-EItd6BEIDptUmUrHjxrWt-b9hhQgLq8Axxv40j8JDXph0W3hzb93rJSAxmhK_nurpStkJ6SIgoDWiN20fLqdId0U8m8aWTWgLmYTfnrgtDFz8B_sLleXaREgeIOyLhr_YDy29o7xkBa6xG3Ir_E=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-4233640678532979725</id><published>2022-10-18T23:23:00.043+03:00</published><updated>2023-11-09T01:40:14.039+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="önerilen"/><title type='text'>Blogger ve statik siteler için iletişim formu</title><content type='html'>&lt;img alt=&quot;thumbnail&quot; class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit14cBfg0o1FEWEUeASM_eadCSC-6O-jcbSSknrFaohoN-ykm9RmwUQroaxO1TCxH_4UX65DnBE4GfERElcY4Y7Co22bS7oy8LcYpdFmH0RN55BRwvWrSicNjKP0mA7CcmKsx-Nxq062Mjz1zwcbQ_4PymjonJIbnO-H1NWkgG8puB165mKu_lc6zXEA/s1600/formspree.png&quot; width=&quot;300&quot; height=&quot;225&quot;/&gt;

&lt;p&gt;&lt;img alt=&quot;formspree&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_zh2XvF1jtUVrDd9bcmJYUFXign-zf-jQhEIr0BwxN6w20SGn_O6X8dnaHmIX1nxRJkZOzLwvcR6gG0vTAlP5iEVgnPWm62bqjLhME0oWEhDDrdwqG2gSlny70lRsK_LtoHhQ3H49wvCKUPS4ruHkikOSKY5pHmfZ2ZUCEmSkppgf0Rpzj0IRY0d4LLcL/s1600/formspree.jpg&quot; width=&quot;900&quot; height=&quot;470&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Blogger gibi blog siteleri veya Jekyll gibi statik site oluşturucularla oluşturulan web sitelerinde sitenin mantığı dolayısıyla veritabanı kullanmıyoruz. &lt;a href=&quot;http://formspree.io/&quot; target=&quot;_blank&quot;&gt;Formspree&lt;/a&gt;, sunucunuza herhangi bir ek gereksinim oluşturmadan iletişim formu oluşturmanızı sağlayan bir fikir. Formspree sayesinde fonksiyonel HTML iletişim formlarınızı PHP veya Javascript kullanmak zorunda kalmadan oluşturabiliyorsunuz.&lt;/p&gt;

&lt;h3&gt;Form Oluşturma&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;http://formspree.io&quot; target=&quot;_blank&quot;&gt;Formspree.io&lt;/a&gt; adresine gittiğinizde son derece basit bir yapıda örnek iletişim formu dökümünü göreceksiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;form&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;action=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;//formspree.io/your@email.com&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;method=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;POST&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_replyto&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Send&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
 &lt;span class=&quot;nt&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Yukarıdaki örnek kodda göründüğü gibi Formspree’nin iletişim formunda çalışması için &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;action&lt;/code&gt; niteliği ile mail adresinizi tanımlamanız gerekiyor.&lt;/p&gt;

&lt;h3&gt;Ek Özellikler&lt;/h3&gt;

&lt;p&gt;Yukarıdaki iletişim formu isim, mail bilgisi ve gönderme butonundan oluşan son derece basit bir iletişim formu. Bu formu ek özellikleri de kullanarak geliştirebiliriz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;form&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;contactform&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;action=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;//formspree.io/mail@adresin.com&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;method=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;POST&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;İsminiz&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_replyto&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Mail adresiniz&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;textarea&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;message&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Mesajınız&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Gönder&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Burada formumuzu CSS ile özelleştirmek için &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;contactform&lt;/code&gt; id değerini atadık ve kullanıcıların mesaj yazabileceği bir &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;textarea&lt;/code&gt; ekledik. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;input&lt;/code&gt; bloklarındaki name niteliğine &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;name&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_replyto&lt;/code&gt; gibi &lt;a href=&quot;https://github.com/asm-products/formspree#advanced-features&quot;&gt;Formspree tarafından tanımlanan&lt;/a&gt; değerleri ekledik.&lt;/p&gt;

&lt;h3 id=&quot;form-yönlendirmesi&quot;&gt;Form Yönlendirmesi&lt;/h3&gt;
&lt;p&gt;Formspree tarafından tanımlanan &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_next&lt;/code&gt; değeri sayesinde iletişim formuyla mesaj gönderildikten sonra kullanıcıyı başka bir sayfaya yönlendirebiliyoruz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_next&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;//site.com/tesekkurler.html&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Yukarıdaki örnekte görüldüğü gibi name niteliğine Formspree tarafından tanımlanan ve tanınan &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_next&lt;/code&gt;değerini girdik, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;value&lt;/code&gt; değerinde ise iletişim formundan sonra yönlenecek teşekkür sayfasını tanımladık.&lt;/p&gt;

&lt;h3&gt;Formu Güvenli Yapmak&lt;/h3&gt;
&lt;p&gt;Formspree ile oluşturduğumuz iletişim formunu “&lt;a href=&quot;https://tr.wikipedia.org/wiki/Honeypot&quot;&gt;honeypot&lt;/a&gt;” olarak bilinen spam önleme yöntemiyle güvenli bir hale getirebiliriz. Honeypot tekniği oldukça basittir; iletişim formunun içerisine botların görebileceği ama kullanıcıların göremeyeceği bir alan oluştururuz. Spambot bu alanı doldurmaya çalışacak ama kullanıcılar bu alanı hiç görmediği için dolduramayacak. Bu alanın doldurularak gönderildiği gönderiler spam olarak kabul edilecek ve elenecek.&lt;/p&gt;

&lt;p&gt;Bu tekniği formunuza şu kodu ekleyerek kullanabilirsiniz:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;
&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_gotcha&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;display:none&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Buradaki &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;style&lt;/code&gt; niteliği alanı formu kullanıcılara görünmez yapması bakımından,  &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;name&lt;/code&gt; niteliğine atanan &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_gotcha&lt;/code&gt; değeri ise Formspree’nin bu alanı tanıması ve bu alanın doldurularak gönderildiği iletileri engellemesi açısından önemlidir.&lt;/p&gt;
&lt;p&gt;İletişim formunda &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;action&lt;/code&gt; niteliğine tanımladığımız &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;//formspree.io/mail@adresin.com&lt;/code&gt; değeri spambotlar tarafından HTML dosyasından alınabilir. Spambotların mail adresinizi seçebilmesi olasılığını düşürmek için Javascript kullanarak mail adresinizi tanımladığınız ifadeyi parçalara bölebilirsiniz.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;form&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;contactform&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;method=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;POST&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;İsminiz&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_replyto&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Mail adresiniz&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;textarea&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;message&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;placeholder=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Mesajınız&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;_gotcha&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;style=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;display:none&quot;&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;/&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;nt&quot;&gt;&amp;lt;input&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;value=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Gönder&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;cm&quot;&gt;/*]]&amp;gt;*/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/*&amp;lt;![CDATA[*/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
   &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;contactform&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;  &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;contactform&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
   &lt;span class=&quot;nx&quot;&gt;contactform&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;setAttribute&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;action&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;//formspree.io/&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;mail&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;adresin&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;com&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;cm&quot;&gt;/*]]&amp;gt;*/&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Burada &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;action&lt;/code&gt; niteliğini form elementinden kaldırdık ve formun altına eklediğim ufak bir JavaScript koduyla mail adresimizi belirtmiş olduk.&lt;/p&gt;

&lt;h3&gt;Formu Onaylama&lt;/h3&gt;

&lt;p&gt;Formu oluşturduktan sonraki son adımda formumuzun bulunduğu sayfayı internet tarayıcısından ziyaret ederek formumuzdan örnek bir ileti göndereceğiz ve ardından gelen pencerede formumuza tanımladığımız mail adresini onaylayacağız.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://bekircem.github.io/images/confirm.png&quot; alt=&quot;Formspree Onay&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Mail adresinize gelen onay linkine tıkladıktan sonra onaylama işlemi tamamlanacak.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://bekircem.github.io/images/confirmed.png&quot; alt=&quot;Formspree Onaylandı&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Not:&lt;/strong&gt; Bu onaylama işlemini formu yeni bir sayfaya eklediğinizde tekrar yapmanız gerekir.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/4233640678532979725/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2022/10/blogger-ve-statik-siteler-icin-iletisim.html.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4233640678532979725'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4233640678532979725'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2022/10/blogger-ve-statik-siteler-icin-iletisim.html.html' title='Blogger ve statik siteler için iletişim formu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit14cBfg0o1FEWEUeASM_eadCSC-6O-jcbSSknrFaohoN-ykm9RmwUQroaxO1TCxH_4UX65DnBE4GfERElcY4Y7Co22bS7oy8LcYpdFmH0RN55BRwvWrSicNjKP0mA7CcmKsx-Nxq062Mjz1zwcbQ_4PymjonJIbnO-H1NWkgG8puB165mKu_lc6zXEA/s72-c/formspree.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3078662803729870775</id><published>2022-01-01T15:15:00.034+03:00</published><updated>2023-08-14T12:58:50.190+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger API anahtarı nasıl alınır</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwMPtZuvu5nBx5I4EAFfyQqIFGBweMilyRfhfzPtygsEEE9YY4hhb4XmB978NBQVMvH_ccXvUnMb9B-GPzfaWH4y1JAXC0Zp7bvUqFcpvl8T9keoa8w5woS5VBLxB5xpLfLmJVYMPbcEWcUwgHylMumEKzYT2l-Pel_xl7NGQEQ64cvP-Tj3iIXDC8RJaT/s1600/blogger-api-key.png&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwMPtZuvu5nBx5I4EAFfyQqIFGBweMilyRfhfzPtygsEEE9YY4hhb4XmB978NBQVMvH_ccXvUnMb9B-GPzfaWH4y1JAXC0Zp7bvUqFcpvl8T9keoa8w5woS5VBLxB5xpLfLmJVYMPbcEWcUwgHylMumEKzYT2l-Pel_xl7NGQEQ64cvP-Tj3iIXDC8RJaT/s1600/blogger-api-key.png&quot; alt=&quot;Blogger API anahtarı nasıl alınır&quot; width=&quot;1189&quot; height=&quot;623&quot;&gt;

&lt;p&gt;Bu yazımda, &lt;a href=&quot;https://developers.google.com/blogger/docs/3.0/getting_started&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Blogger API 3.0&lt;/a&gt; tabanlı uygulamalar için gerekli olacak, kimlik doğrulama görevi gören bir tanımlayıcı olan &lt;strong&gt;Blogger API&lt;/strong&gt; anahtarının nasıl elde edileceğini açıklıyorum.&lt;/p&gt;
&lt;h2 id=&quot;proje-olusturun&quot;&gt;Proje oluşturun ve API&#39;yi etkinleştirin
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#proje-olusturun&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;&lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Başlamak için &lt;a href=&quot;https://console.cloud.google.com/projectselector2/apis/credentials&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;kimlik bilgileri bölümüne&lt;/a&gt; gideceğiz ve yeni bir proje oluşturacağız, istediğiniz adı kullanabilirsiniz. Daha sonra Blogger api&#39;sini arayacağız ve etkinleştirmeye devam edeceğiz.&lt;/p&gt;
&lt;h2 id=&quot;api-anahtari-olustur&quot;&gt;API anahtarı oluştur
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#api-anahtari-olustur&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;&lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Projemiz zaten oluşturulmuş ve Blogger API etkinleştirildiğinde, geriye yalnızca &lt;a href=&quot;https://console.developers.google.com/apis/credentials&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;kimlik bilgileri sayfasına&lt;/a&gt; geri dönüp &quot;API Anahtarı&quot;nı seçmek kalır. Oluşturduktan sonra, Blogger API&#39;sini ve çalışacağı etki alanını belirleyeceğimiz &lt;strong&gt;kısıtlamaları yapılandıracağız&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Son olarak, yalnızca &lt;strong&gt;API anahtarını kopyalamanız&lt;/strong&gt; yeterlidir ve bunu uygulamanızda kullanabilirsiniz. Her uygulama için yeni anahtar oluşturmanıza gerek olmayıp, ayrıca izin verilenler listesine &lt;strong&gt;daha fazla alan ekleyebilirsiniz&lt;/strong&gt;.&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3078662803729870775/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2022/01/blogger-api-anahtari-nasil-alinir.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3078662803729870775'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3078662803729870775'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2022/01/blogger-api-anahtari-nasil-alinir.html' title='Blogger API anahtarı nasıl alınır'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwMPtZuvu5nBx5I4EAFfyQqIFGBweMilyRfhfzPtygsEEE9YY4hhb4XmB978NBQVMvH_ccXvUnMb9B-GPzfaWH4y1JAXC0Zp7bvUqFcpvl8T9keoa8w5woS5VBLxB5xpLfLmJVYMPbcEWcUwgHylMumEKzYT2l-Pel_xl7NGQEQ64cvP-Tj3iIXDC8RJaT/s72-c/blogger-api-key.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3548854818302280559</id><published>2020-07-08T01:00:00.000+03:00</published><updated>2023-10-18T22:43:50.603+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="widget"/><title type='text'>Aşağı açılır etiket eklentisi</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf5XkWA5HZnY43-kkflm4YCGppQctEWUitXKbhqHeQuLyrww-FDtU5gjeRbRnxjTslIDwcKP0kQ8jti6-Ghg_AxXwsqUnAH6CL5JGu_U5UsYXgwXZwfzLKHy5QqX8iBtv_f5n0hAiVkHqhLZUQzGvDW6R5nlzElLG3tz-EGGzAccIFcmLyCq1Y6T5p0FpF/s1600/acilir-etiket-listesi-widget.png&quot; alt=&quot;thumbnail&quot; width=&quot;380&quot; height=&quot;285&quot; loading=&quot;lazy&quot;&gt;

&lt;p&gt;
&lt;img alt=&quot;blogger açılır etiket listesi widget&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJP5zc0PxRYjf3DfYPeXf_Qp1oYyrSFeEpsiGYbGdH8et0cMleczYIo34c_B3VZ0fJ0A3GyEwU83vwoUXb2JdteEmkn88kklJe7CusWsoqZWEDiTFwvUkwJnzuFTooxb05ZNALnoCrd_itHoySKlnqdzyDERTuZxYdE_YxcrAsGfjkL-B7QFtkkPebRlV/s1600/blogger%20acilir-etiket-listesi-widget.png&quot; width=&quot;800&quot; height=&quot;450&quot;/&gt;
&lt;/p&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
&lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/full/BOvOMK/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;svg class=&quot;i i-layout&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;
    &lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Demo - Codepen&lt;/a&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;

&lt;p&gt;Blogger için bir geliştirilen &lt;strong&gt;açılır etiket listesi widget&lt;/strong&gt;&#39;ının güncellenmiş halidir. Bu revizyon daha sade ama modern bir tasarıma, &lt;strong&gt;temiz koda&lt;/strong&gt; ve yeni seçeneklere sahip.&lt;/p&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Blogger yönetim paneli &gt; Temalar &gt; Özelleştir &gt; gelişmiş seçenekler &gt; CSS Ekle&lt;/strong&gt; bölümüne gidiyoruz. Bu bölüme aşağıdaki kodu yapıştıracağız:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
/*!
 * Tlist v2.0
 * Copyright 2020 zkreations
 * Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT (github.com/zkreations/plugins/blob/master/LICENSE)
 */
 /*! Core (Değişiklik yapmayın) {{*/
.tlist {
   position: relative;
   width: 100%;
   z-index: 5;
   -webkit-user-select: none;
      -moz-user-select: none;
       -ms-user-select: none;
           user-select: none;
}
.tlist-content {
    overflow-y: auto;
}
.tlist-content::-webkit-scrollbar {width: 4px;}
.tlist-content::-webkit-scrollbar-track {background-color: transparent;}
.tlist-content::-webkit-scrollbar-thumb {
  background-color: #CFD8DC;
  border-radius: 10px;
}
.tlist-btn {cursor: pointer;}
.tlist &gt; input {display: none;}
.tlist &gt; input:checked ~ .tlist-dropdown {
   display: block;
}
@-webkit-keyframes tlist-dropdown {
   from {-webkit-transform: translateY(-1rem);transform: translateY(-1rem);opacity: 0}
   to {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1}
}
@keyframes tlist-dropdown {
   from {-webkit-transform: translateY(-1rem);transform: translateY(-1rem);opacity: 0}
   to {-webkit-transform: translateY(0);transform: translateY(0);opacity: 1}
}
.tlist-dropdown {
   position: absolute;
   width: 100%;
   left: 0;
   top: calc(100% + 4px);
   display: none;
   background: var(--tlist-bg);
   -webkit-animation: tlist-dropdown .3s ease-in-out;
           animation: tlist-dropdown .3s ease-in-out;
   -webkit-filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))
           drop-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
           filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))
           drop-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
}
.tlist-dropdown::before {
   content: &quot;&quot;;
   border-right: 12px solid transparent;
   border-left: 12px solid transparent;
   border-bottom: 12px solid var(--tlist-bg);
   position: absolute;
   top: -10px;
   left: calc(50% - 5px);
}
.tlist-btn,
.tlist-link {
   display: -ms-flexbox;
   display: flex;
   -ms-flex-align: center;
       align-items: center;
}
.tlist-num {margin-left: auto;}
.tlist-link:not(:last-child) {margin-bottom: 4px;}
.tlist-link &gt; i {
   text-align: center;
   width: 1.25em;
}
/*}} Core sonu {{*/

/*! Özelleştirme */
/* Yapı
-----------------------------------------*/
.tlist {
   --tlist-bg: #fff; /* color de fondo  */
}
.tlist-content {
    max-height: 390px; /* alto maximo */
}
.tlist-dropdown {
   padding: 10px; /* relleno */
   border-radius: 5px; /* borde redondo */
}
/* Liste
-----------------------------------------*/
.tlist-link {
   padding: 12px 14px; /* relleno */
   color: #5a6370; /* color */
   font-size: 14px; /* tamaño de texto */
   font-weight: 500; /* densidad del texto */
}
.tlist-link:hover,
.tlist-link.is-here {
   background: #f4f5f7; /* color de fondo  */
   border-radius: 5px; /* borde redondo */
   color: #1c2333; /* color (hover) */
}
/* Simge
-----------------------------------------*/
.tlist-link &gt; i {
   font-size: 20px; /* tamaño de texto */
   margin-right: 12px; /* separacion derecha */
   color: #9fa6b2; /* color */
}
/* Sayı
-----------------------------------------*/
.tlist-num {
   background: rgba(38, 50, 56, 0.05); /* color de fondo  */
   padding: 2px 12px; /* relleno */
   font-size: 12px; /* tamaño de texto */
   border-radius: 10px; /* borde redondo */
}
/* Buton
-----------------------------------------*/
.tlist-btn {
   padding: 14px 18px; /* relleno */
   background: #f4f5f7; /* color de fondo  */
   font-weight: 500; /* densidad del texto */
   color: #5a6370; /* color */
   border-radius: 5px; /* borde redondo */
}
.tlist-btn:hover {
   color: #1c2333; /* color (hover) */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Değişiklikleri kaydetmek için &quot;&lt;strong&gt;Uygula&lt;/strong&gt;&quot; düğmesine basın. Şimdi &lt;strong&gt;Temalar &gt; html düzenle&lt;/strong&gt;&#39;ye gidin ve &lt;code&gt;&amp;lt;b:section id=&#39;sidebar&#39;&amp;gt;&lt;/code&gt; veya herhangi bir bölüm etiketini bulun, hemen altına aşağıdaki kodu yapıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;
&lt;pre class=&quot;xml hljs&quot;&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:widget&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Label50&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;title&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Etiquetas desplegables&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Label&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;main&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;expr:name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:widgets ? &quot;widget-title&quot; : &quot;title&quot;&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;content&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;title&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:tag&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;h2&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;widget-title&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;span&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;widget-name&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;data:title&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;span&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:tag&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;content&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;widget-content&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:with&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:widget.instanceId&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;id&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;btn&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist-dropdown&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
               &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;list&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;cond&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;!data:widgets&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;layout2fix&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:with&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-comment&quot;&gt;&amp;lt;!-- .widget-content --&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;btn&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
     &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;expr:id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;&quot;tlist-&quot; + data:id&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;checkbox&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
     &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;label&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist-btn&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;expr:for&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;&quot;tlist-&quot; + data:id&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;Seleccionar&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;label&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;list&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist-content&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:loop&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;values&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:labels&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;i&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist-link&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;expr:href&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:i.url&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:class&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;cond&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:view.url == data:i.url&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;is-here&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;icons&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;data:i.name&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:include&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;cond&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:showFreqNumbers&#39;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;numbers&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;a&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:loop&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;div&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;numbers&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;span&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;tlist-num&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;data:i.count&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;span&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;layout2fix&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;style&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;xml&quot;&gt;#&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;data:id&lt;/span&gt;/&amp;gt;&lt;/span&gt;{z-index: 2}&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;style&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;icons&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:i.name&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:case&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Astronomia&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-meteor&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;
         &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:default&lt;/span&gt;/&amp;gt;&lt;/span&gt;
            &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-tag&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:includable&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:widget&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;p&gt;Kaydet ve widget&#39;ı &lt;strong&gt;varsayılan seçenekler&lt;/strong&gt; ile yüklediniz.&lt;/p&gt;

&lt;h2 id=&quot;ozellestir&quot;&gt;Özelleştir&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Blogger Şablon Tasarımcısı&lt;/strong&gt;&#39;ndan görünümü düzenlemek için bir kılavuz olarak kullanabileceğiniz css kodunda yorumlar bıraktım. Bazı ek seçenekleri değiştirmek de mümkün.&lt;/p&gt;

&lt;h3 id=&quot;ozel-simgeler&quot;&gt;Simgeler&lt;/h3&gt;

&lt;p&gt;Varsayılan olarak liste boyunca bir etiket simgesi görüntülenecektir. Her etiketin kendi özel simgesine sahip olmasını istiyorsanız aşağıdaki kodu arayın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-code&quot;&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:i.name&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:case&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Astronomia&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-meteor&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:default&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-tag&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Örneğin, etiketin tam adını içeren bir &lt;a class=&quot;link-code&quot; href=&quot;https://bit.ly/xml-bswitch&quot;&gt;&lt;code&gt;&amp;lt;b:case&amp;gt;&lt;/code&gt;&lt;/a&gt; modülü ve altına bir &lt;a href=&quot;https://fontawesome.com/icons&quot; target=&quot;_blank&quot;&gt;Font Awesome&lt;/a&gt; simgesi eklemeniz yeterlidir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-code&quot;&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;data:i.name&#39;&lt;/span&gt;&amp;gt;&lt;/span&gt;

   &lt;span class=&quot;hljs-comment&quot;&gt;&amp;lt;!-- Icono para la etiqueta Astronomia --&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:case&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Astronomia&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-meteor&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;

   &lt;span class=&quot;hljs-comment&quot;&gt;&amp;lt;!-- Icono para la etiqueta Salud --&amp;gt;&lt;/span&gt;
   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:case&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&#39;Salud&#39;&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;far fa-heart&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;

   &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;b:default&lt;/span&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;class&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;fas fa-tag&quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;i&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;/&lt;span class=&quot;hljs-name&quot;&gt;b:switch&lt;/span&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
  
&lt;p&gt;Bu örneği izleyerek istediğiniz kadar etiket ekleyebilirsiniz. Etiketler için tüm simgeleri devre dışı bırakmak istiyorsanız, aşağıdaki kodu bulun ve silin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre class=&quot;chroma&quot;&gt;&lt;code&gt;
&amp;lt;b:include name=&amp;#039;icons&amp;#039;/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;numaralari-ozellestirin&quot;&gt;Miktarlar&lt;/h3&gt;

&lt;p&gt;Etiket başına giriş sayısını gösteren sayıyı &lt;strong&gt;etkinleştirmek veya devre dışı bırakmak&lt;/strong&gt; istiyorsanız, widget&#39;ı Tasarım&#39;dan düzenlemeniz ve ilgili seçeneğin işaretini kaldırmanız yeterlidir.&lt;/p&gt;

&lt;p&gt;Yazıyı faydalı bulduysanız &lt;strong&gt;yazıyı paylaşmayı&lt;/strong&gt; unutmayın. Herhangi bir sorunuz varsa yorumlara yazın. Uğradığınız için çok teşekkür ederim.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3548854818302280559/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/08/asagi-acilir-etiket-eklentisi.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3548854818302280559'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3548854818302280559'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/08/asagi-acilir-etiket-eklentisi.html' title='Aşağı açılır etiket eklentisi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf5XkWA5HZnY43-kkflm4YCGppQctEWUitXKbhqHeQuLyrww-FDtU5gjeRbRnxjTslIDwcKP0kQ8jti6-Ghg_AxXwsqUnAH6CL5JGu_U5UsYXgwXZwfzLKHy5QqX8iBtv_f5n0hAiVkHqhLZUQzGvDW6R5nlzElLG3tz-EGGzAccIFcmLyCq1Y6T5p0FpF/s72-c/acilir-etiket-listesi-widget.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-6551609845341969323</id><published>2020-06-19T01:52:00.079+03:00</published><updated>2023-10-21T02:22:17.109+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger için Breadcrumbs</title><content type='html'>&lt;img alt=&quot;Como agregar migas de pan en Blogger&quot; class=&quot;none&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh016xmyXRVpl9TiizYJQYVR3IYgiyZxsdTL44m3aBQGNEPzettv_OTbPmv2Ta6pi5SjgBgu0jT9m8n3HN0P3nk2xpSf3MamAcuX1YZtUKwi1zD5OJJBipU3ywS_nAGnONno2X865Dg/s1600/breadcrums-migas-de-pan-blogger-seo-2020-min.png&quot;&gt;

&lt;img alt=&quot;Breadcrumbs JSON-LD Seo para Google&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHKE7HwWlOJPcOnHAjXsBgW3E3KKJ011smKmR1JKD936DKcHmmfd3Bq5FJJl1i_D6s3Ey_TLHYVztsa4Wkx0oxvjZMIm0cFCfYEfoX5f4awpQu3LbIYtusANPMu27RJXVycQ3se79-/s1600/breadcrums-migas-de-pan-blogger-seo-2020.png&quot;&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
&lt;a class=&quot;btn&quot; href=&quot;http://web.archive.org/web/20220322155918/https://codepen.io/zkreations/full/VwePPYG&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;
  &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Demo Codepen
&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Las migas de pan es uno de los requerimientos de W3C para llegar al &lt;strong&gt;nivel &quot;A&quot; de accesibilidad web&lt;/strong&gt;, ya que facilitan información a los usuarios para saber en qué parte se encuentran y qué camino recorrió. Además, combinado con datos estructurados JSON-LD, Google mostrará nuestros &lt;strong&gt;breadcrumbs en los resultados de búsqueda&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;He desarrollado &lt;strong&gt;breadcrumbs especialmente para Blogger&lt;/strong&gt;, que ademas incluyen &lt;strong&gt;datos estructurados BreadcrumbList en formato JSON-LD&lt;/strong&gt;, necesarios para que sean visibles desde los resultados de búsqueda de Google.&lt;/p&gt;

&lt;!--&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;--&gt;

&lt;h3 class=&quot;toc-ignore&quot;&gt;İçerik&lt;/h3&gt;
&lt;div class=&quot;js-toc&quot;&gt;
&lt;ul class=&quot;toc-list &quot;&gt;
  &lt;li class=&quot;toc-list-item is-active-li&quot;&gt;&lt;a href=&quot;#install&quot; class=&quot;toc-link node-name--H3  is-active&quot;&gt;Kurulum&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;toc-list-item&quot;&gt;&lt;a href=&quot;#JSON-LD&quot; class=&quot;toc-link node-name--H3 &quot;&gt;Datos estructurados&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;toc-list-item&quot;&gt;&lt;a href=&quot;#help&quot; class=&quot;toc-link node-name--H3 &quot;&gt;Más ayuda&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;h3 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h3&gt;
&lt;p&gt;Nos vamos a dirigir a &lt;strong&gt;Temas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Personalizar &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; opciones avanzadas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Agregar CSS&lt;/strong&gt; y en esta opción pegaremos el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;/*!
 * Breadcrumbs v2.0
 * Copyright 2020 zkreations
 * Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT (github.com/zkreations/plugins/blob/master/LICENSE)
 */
 /*! Core (No modificar) {{*/
.breadcrumb-item,
.breadcrumb-link,
.breadcrumbs {
   display: -ms-flexbox;
   display: flex;
}
.breadcrumb-link {
   -ms-flex-align: center;
       align-items: center;
   transition: color .3s, background .3s;
   height: 38px;
}
.breadcrumb-link.isfirst,
.breadcrumb-link:hover {
   background: var(--breadcrumb-color);
}
.breadcrumbs {
   padding: 0;
   margin: 0;
}
.breadcrumbs,
.breadcrumb-item {list-style: none;}
.breadcrumb-link {position: relative;}
.breadcrumb-link svg {display: block;}
.breadcrumb-link::after,
.breadcrumb-link:not(.isfirst)::before {
   content: &quot;&quot;;
   border-top: 19px solid;
   border-bottom: 19px solid;
   border-left: 10px solid;
   position: absolute;
   transition: border .3s;
}
.breadcrumb-link::after,
.breadcrumb-link:not(.isfirst)::before {
   border-color: var(--breadcrumb-bg);
}
.breadcrumb-link {
   background: var(--breadcrumb-bg);
}
.breadcrumbs .breadcrumb-link::after {
   right: -10px;
   border-top-color: transparent;
   border-bottom-color: transparent;
}
.breadcrumbs .breadcrumb-link:not(.isfirst)::before {
   left: -10px;
   border-left-color: transparent;
}
.breadcrumb-link.isfirst::after,
.breadcrumb-link:hover:after {
   border-left-color: var(--breadcrumb-color)
}
.breadcrumb-link:not(.isfirst):hover:before {
   border-top-color: var(--breadcrumb-color);
   border-bottom-color: var(--breadcrumb-color);
}
/*}} Fin del core {{*/

/*! Personalización */
/* Estructura
-----------------------------------------*/
.breadcrumbs {
   --breadcrumb-color: #8dc26e; /* color principal */
   --breadcrumb-bg: #f2f2f2; /* color de fondo  */
    margin-top: 0px; /* separacion superior */
    margin-bottom: 14px; /* separacion inferior */
}
/* Icono
-----------------------------------------*/
.breadcrumb-link svg {
   width: 18px; /* tamaño */
   fill: #fff; /* color */
}
.breadcrumb-link.isfirst {
   border-radius: 5px 0 0 5px; /* borde redondo */
}
/* Migas
-----------------------------------------*/
.breadcrumb-item {
   margin-right: 13px; /* separacion derecha */
}
.breadcrumb-link {
   color: #757575; /* color */
   padding: 0 12px; /* relleno */
   font-size: 14px; /* tamaño de texto */
   font-weight: 400; /* densidad del texto */
}
.breadcrumb-link:hover {
   color: #fff; /* color (hover) */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Presionamos &quot;&lt;strong&gt;Aplicar&lt;/strong&gt;&quot; para guardar los cambios y ahora vamos a &lt;strong&gt;Tema &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Editar HTML&lt;/strong&gt; y buscamos &lt;code&gt;&amp;lt;b:includable id=&#39;status-message&#39;&amp;gt;&lt;/code&gt; y arriba de eso pegamos el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:includable id=&#39;postBreadcrumbs&#39;&gt;
  &amp;lt;!-- limite de migas --&gt;
  &amp;lt;b:with value=&#39;data:post.labels limit 3&#39; var=&#39;breadcrumbs&#39;&gt;
  &amp;lt;!-- Migas de pan --&gt;
  &amp;lt;ol class=&#39;breadcrumbs&#39;&gt;
    &amp;lt;!-- Inicio --&gt;
    &amp;lt;li class=&#39;breadcrumb-item&#39;&gt;
      &amp;lt;a class=&#39;breadcrumb-link isfirst&#39; expr:href=&#39;data:blog.homepageUrl&#39;&gt;
        &amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot;&gt;
          &amp;lt;path d=&quot;M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z&quot;/&gt;
          &amp;lt;path fill=&quot;none&quot; d=&quot;M0 0h24v24H0z&quot;/&gt;
        &amp;lt;/svg&gt;
      &amp;lt;/a&gt;
    &amp;lt;/li&gt;
    &amp;lt;!-- Etiquetas --&gt;
    &amp;lt;b:loop values=&#39;data:breadcrumbs&#39; var=&#39;i&#39;&gt;
    &amp;lt;li class=&#39;breadcrumb-item&#39;&gt;
      &amp;lt;a class=&#39;breadcrumb-link&#39; expr:href=&#39;data:i.url&#39;&gt;&amp;lt;data:i.name/&gt;&amp;lt;/a&gt;
    &amp;lt;/li&gt;
    &amp;lt;/b:loop&gt;
  &amp;lt;/ol&gt;
  &amp;lt;!-- JSON-LD --&gt;
  &amp;lt;script type=&quot;application/ld+json&quot;&gt;
  {
  &quot;@context&quot;: &quot;https://schema.org&quot;,
  &quot;@type&quot;: &quot;BreadcrumbList&quot;,
    &quot;itemListElement&quot;: [{
      &quot;@type&quot;: &quot;ListItem&quot;,
      &quot;position&quot;: 1,
      &quot;name&quot;: &quot;&amp;lt;data:blog.title/&gt;&quot;,
      &quot;item&quot;: &quot;&amp;lt;data:blog.homepageUrl.canonical/&gt;&quot;
    }&amp;lt;b:loop index=&#39;e&#39; values=&#39;data:breadcrumbs&#39; var=&#39;i&#39;&gt;,{
      &quot;@type&quot;: &quot;ListItem&quot;,
      &quot;position&quot;: &amp;lt;b:eval expr=&#39;data:e + 2&#39;/&gt;,
      &quot;name&quot;: &quot;&amp;lt;data:i.name/&gt;&quot;,
      &quot;item&quot;: &quot;&amp;lt;data:i.url/&gt;&quot;
    }&amp;lt;/b:loop&gt;]
  }&amp;lt;/script&gt;
  &amp;lt;/b:with&gt;
&amp;lt;/b:includable&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Por último necesitamos incluir la etiqueta &lt;a class=&quot;link-code&quot; href=&quot;//web.archive.org/web/20220322155918/https://bit.ly/xml-binclude&quot;&gt;&lt;code&gt;&amp;lt;b:include&amp;gt;&lt;/code&gt;&lt;/a&gt; en donde queramos mostrar los breadcrumbs. Esta es quizás &lt;strong&gt;la parte más complicada&lt;/strong&gt; ya que varía dependiendo de la plantilla:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;!-- Breadcrumbs --&gt;
&amp;lt;b:include cond=&#39;data:view.isPost and data:post.labels&#39; name=&#39;postBreadcrumbs&#39;/&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Una buena forma de encontrar el sitio adecuado es buscando &lt;code&gt;&amp;lt;data:post.title/&amp;gt;&lt;/code&gt;, e intentando encontrar la zona que corresponda a &lt;strong&gt;los títulos de los artículos&lt;/strong&gt;, luego simplemente hacemos espacio arriba de eso y pegamos el código.&lt;/p&gt;

&lt;h3 id=&quot;JSON-LD&quot;&gt;Datos estructurados&lt;/h3&gt;
&lt;p&gt;He diseñado el código con los &lt;strong&gt;datos estructurados&lt;/strong&gt; del tipo JSON-LD ya incluidos y puedes validar los datos utilizando la herramienta de &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;http://web.archive.org/web/20220322155918/https://search.google.com/structured-data/testing-tool&quot;&gt;prueba de datos estructurados google&lt;/a&gt; para comprobar como se comporta el código.&lt;/p&gt;

&lt;p&gt;No hay ninguna garantía de que Google vaya a tomar tus datos de forma inmediata o a largo plazo. Si los datos son procesados por Google entonces serán mostrados en los &lt;strong&gt;resultados de búsqueda&lt;/strong&gt;.&lt;/p&gt;

&lt;h3 id=&quot;help&quot;&gt;Más ayuda&lt;/h3&gt;
&lt;p&gt;Se que es muy complicado &lt;strong&gt;encontrar el lugar correcto&lt;/strong&gt; en la plantilla desde la edición html, sobre todo para las personas que no reconocen el código de Blogger o HTML, así que si tienes problemas para &lt;strong&gt;implementar las migas de pagan&lt;/strong&gt;, déjame un comentario y yo te guiaré de forma personalizada.&lt;/p&gt;

&lt;p&gt;Espero que este articulo les haya resultado útil para implementar esta característica en Blogger. Si te ha servido &lt;strong&gt;no olvides compartir&lt;/strong&gt; para ayudar a más personas, además es algo que siempre agradezco ya que me ayuda mucho.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/6551609845341969323/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2020/06/blogger-icin-breadcrumbs.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6551609845341969323'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6551609845341969323'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2020/06/blogger-icin-breadcrumbs.html' title='Blogger için Breadcrumbs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh016xmyXRVpl9TiizYJQYVR3IYgiyZxsdTL44m3aBQGNEPzettv_OTbPmv2Ta6pi5SjgBgu0jT9m8n3HN0P3nk2xpSf3MamAcuX1YZtUKwi1zD5OJJBipU3ywS_nAGnONno2X865Dg/s72-c/breadcrums-migas-de-pan-blogger-seo-2020-min.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-2863183829792368934</id><published>2020-06-15T21:04:00.124+03:00</published><updated>2023-10-21T22:18:45.053+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger için en iyi ilgili yayınlar</title><content type='html'>&lt;img alt=&quot;Entradas relacionadas para Blogger&quot; class=&quot;none&quot; src=&quot;http://web.archive.org/web/20220126141741im_/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAfAoyikQCRneH9GenEu0FH4VIVMOg0fbjwB3oKQZ1UNvDhS4UeVH6pZnC7YapOW4bvNmEVDUDX7Ic2JJdwl2M-swxiaQPUFsX8HCMCPB60kj3UuKm9tTECg3G_XZzi6m3cCz7spXZ/s1600/mejores-post-relacionados-para-blogger-javascript-min.png&quot;/&gt;

&lt;img alt=&quot;Los mejores post relacionados para Blogger&quot; src=&quot;http://web.archive.org/web/20220126141741im_/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT1veB_d3K2_ZUqfS6kRN5Uocn2eETNt3e9VsJnpJUgLMI7zpErKjOXZTex5FjSEyC_5oCuuzVb7-DjIbg32qM1UAotour9uodILQgThTCc8Fed4siTxSPTvxMQpvx5vwkyEfWHSd2/s900/mejores-post-relacionados-para-blogger-javascript.png&quot;/&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn&quot; href=&quot;http://web.archive.org/web/20220126141741/https://github.com/zkreations/wjs-related&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-github&quot;&gt;&lt;path d=&quot;M9 22v-3q0-2 1-3A7 6.5 0 0 1 5 5Q4 3 5 1q3 0 4 2 3.5-1 7 0 1-2 4-2 1 2 0 4a7 6.5 0 0 1-5 11q1 1 1 3v3m-7-3c-4 1-4-2-7-3&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Repositorio&lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;http://web.archive.org/web/20220126141741/https://codepen.io/zkreations/full/ejbdgm/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Demo&lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Los post relacionados son una excelente manera de &lt;strong&gt;reducir el porcentaje de rebote&lt;/strong&gt;, sin embargo, los métodos para crear post relacionados en Blogger tienen un problema en común, ya que todos generan una consulta por etiqueta y &lt;strong&gt;a mayor cantidad de consultas, peor rendimiento&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Mi amigo &lt;a href=&quot;http://web.archive.org/web/20220126141741/https://www.facebook.com/JGMateran&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;José Gregorio Materan&lt;/a&gt; estuvo a cargo de desarrollar este script con la meta de lograr &lt;strong&gt;los mejores post relacionados para Blogger&lt;/strong&gt; y para ello simplificamos todas las consultas en &lt;strong&gt;una&lt;/strong&gt;.&lt;/p&gt;
  
&lt;!--&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;--&gt;
  
&lt;h3&gt;Kurulum&lt;/h3&gt;
&lt;p&gt;Vamos a nuestro panel de Blogger, &lt;strong&gt;Temas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt;  Personalizar &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt;  Opciones avanzadas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Agregar CSS&lt;/strong&gt;, aquí pegaremos el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code  class=&quot;language-xml&quot;&gt;/*!
 * wjs-related v2.1.0
 * Copyright 2018 zkreations
 * Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT (github.com/zkreations/wjs-related/blob/master/LICENSE)
 */
/*! Core (No modificar) {{*/
.relCard,
.relCard-image,
.relCard-snippet,
.relCard-title,
.relCardate {
   margin: 0;
   box-sizing: border-box;
}
.relCard {
   padding-left: .5em;
   padding-right: .5em;
   padding-bottom: 1em;
}
.relCard,
.relCard-image img {width: 100%;}
.wjs-related {
   display: -ms-flexbox;
   display: flex;
   -ms-flex-wrap: wrap;
       flex-wrap: wrap;
   margin-left: -.5em;
   margin-right: -.5em;
   font-size: 14px;
}
.relCard-image {display: block;}
.relCard-content {overflow: hidden;}
@media (min-width:376px) {.relCard {width: 50%;}}
@media (min-width:576px) {
   .relCard {width: 33.333333%}
   .wjs-related {font-size: 16px;}
}
/*}} Fin del core {{*/

/*! Personalización */
/* Cuerpo
-----------------------------------------*/
.relCard-content {
   box-shadow: 0 3px 6px -2px rgba(0, 0, 0, 0.25); /* sombra */
   border-radius: 6px; /* bordes redondeados */
}
/* Contenedor de datos
-----------------------------------------*/
.relCard-data {
   padding: 1.2em; /* relleno */
   background-color: #fff; /* color de fondo */
}
/* Titulo
-----------------------------------------*/
.relCard-title {
   font-size: 1em; /* tamaño del título */
   margin-bottom: .25em; /* separación */
   color: #464646; /* color del titulo */
}
/* Fecha
-----------------------------------------*/
.relCard-date {
   font-size: .9em; /* tamaño del texto */
   color: #BBBBBB; /* color de la fecha */
}
/* Resumen
-----------------------------------------*/
.relCard-snippet {
   margin-top: .5em; /* separación */
   color: #757575; /* color del texto */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Presiona el botón &quot;&lt;strong&gt;Aplicar&lt;/strong&gt;&quot; para que los cambios surtan efecto. Ahora ve a &lt;strong&gt;Temas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Editar HTML&lt;/strong&gt; y busca lo siguiente:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:includable id=&#39;status-message&#39;&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Arriba de eso pega el siguiente contenedor &lt;a class=&quot;link-code&quot; href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/xml-binclude&quot;&gt;&lt;code&gt;&amp;lt;b:includable&amp;gt;&lt;/code&gt;&lt;/a&gt; que genera los &lt;strong&gt;artículos relacionados&lt;/strong&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:includable id=&#39;postRelated&#39; data=&#39;post&#39;&gt;
   &amp;lt;div id=&#39;wjs-related&#39; class=&#39;wjs-related&#39;/&gt;
   &amp;lt;script&gt;
   /*!
    * wjs-related v2.1.0
    * Copyright 2018 zkreations
    * Developed by José Gregorio (fb.com/JGMateran)
    * Licensed under MIT (github.com/zkreations/wjs-related/blob/master/LICENSE)
    */
   var related = (function(){
   &#39;use strict&#39;;
   
   //Configuracion
   var defaults = {
      id: &#39;&amp;lt;data:post.id/&gt;&#39;,
      homepage: window.location.protocol + &#39;//&#39; + window.location.hostname,
      image: &#39;src/imgdefault.jpg&#39;, //Imagen por defecto
      length: 6, //Cantidad de entradas
      localeDate: &#39;es-ES&#39;, //Idioma
      snippet: 50, //Cantidad de texto
      imgSize: &#39;s256&#39;, //Recorte de la imagen
      container: document.getElementById(&#39;wjs-related&#39;),
      tags: [&amp;lt;b:loop values=&#39;data:post.labels&#39; var=&#39;label&#39;&gt;&#39;&amp;lt;data:label.name/&gt;&#39;,&amp;lt;/b:loop&gt;]
   };
   
   //&amp;lt;![CDATA[
   var tags$length = defaults.tags.length;
   var script = document.createElement( &#39;script&#39; );
   var src = defaults.homepage + &#39;/feeds/posts/default&#39; +
      &#39;?alt=json-in-script&#39; +
      &#39;&amp;callback=related&#39; +
      &#39;&amp;max-results=&#39; + ( defaults.length + 1 ) +
      &#39;&amp;q=&#39;;
   for ( var n = 0; n &amp;lt; tags$length; n++ ){
      src += &#39;label:&quot;&#39; + defaults.tags[ n ] + &#39;&quot;&#39; + ( n === tags$length - 1 ? &#39;&#39; : &#39;|&#39; );
   }
   script.src = src;
   document.body.appendChild( script );
   function render( data ){
      var title = data.title.$t;
      var content = data.content;
      var summary = data.summary;
      var body = content ? content.$t : summary.$t;
      var snippet = (body).replace(/&amp;lt;[^&gt;]*&gt;?/g,&#39;&#39;).substring( 0, defaults.snippet ) + &#39;...&#39;;
      var img = data.media$thumbnail;
      var tempHtml = document.createElement(&#39;div&#39;);
      tempHtml.innerHTML = body;
      var imgHtml = tempHtml.querySelector(&#39;img&#39;);
      var image = ( img ? img.url : (imgHtml ? imgHtml.src : defaults.image)).replace(/[swh]\d{2,4}(?:-[swh]\d{2,4})?(?:-c)?/, defaults.imgSize); 
      var url = (function(){
         for ( var i = 0; i &amp;lt; data.link.length; i++ ){
            var link = data.link[i];
            if ( link.rel === &#39;alternate&#39; ){
               return link.href;
            }
         }
      })();
      var published = new Date( data.published.$t ).toLocaleDateString(
         defaults.localeDate,
         {year:&#39;numeric&#39;, month:&#39;long&#39;, day: &#39;numeric&#39;}
      );
      return (
         &#39;&amp;lt;div class=&quot;relCard&quot;&gt;&#39;+
            &#39;&amp;lt;div class=&quot;relCard-content&quot;&gt;&#39;+
               &#39;&amp;lt;a href=&quot;&#39; + url + &#39;&quot; class=&quot;relCard-image&quot;&gt;&#39;+
                  &#39;&amp;lt;img src=&quot;&#39; + image + &#39;&quot; alt=&quot;&#39; + title + &#39;&quot; /&gt;&#39;+
               &#39;&amp;lt;/a&gt;&#39;+
               &#39;&amp;lt;div class=&quot;relCard-data&quot;&gt;&#39;+
                  &#39;&amp;lt;h3 class=&quot;relCard-title&quot;&gt;&#39; + title + &#39;&amp;lt;/h3&gt;&#39;+
                  &#39;&amp;lt;div class=&quot;relCard-date&quot;&gt;&#39; + published + &#39;&amp;lt;/div&gt;&#39;+
                  &#39;&amp;lt;p class=&quot;relCard-snippet&quot;&gt;&#39; + snippet + &#39;&amp;lt;/p&gt;&#39;+
               &#39;&amp;lt;/div&gt;&#39;+
            &#39;&amp;lt;/div&gt;&#39;+
         &#39;&amp;lt;/div&gt;&#39;
      );
   }
   function related( json ){
      var i = 0;
      var post;
      var length = defaults.length;
      for ( ; i &amp;lt; length &amp;&amp; ( post = json.feed.entry[ i ] ); i++ ){
         if ( defaults.id !== post.id.$t.split( &#39;.post-&#39; )[ 1 ] ){
            defaults.container.innerHTML += render( post );
         } else {
            length++;
         }
      }
   }
   return related;
   })();
//]]&gt;&amp;lt;/script&gt;
&amp;lt;/b:includable&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Guarda los cambios&lt;/strong&gt; y ahora solo necesitas llamar el includable en donde quieras &lt;strong&gt;mostrar entradas relacionadas&lt;/strong&gt;, para ello utiliza la siguiente etiqueta:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:include cond=&#39;data:view.isPost and data:post.labels&#39; name=&#39;postRelated&#39;/&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Si no sabes dónde ubicarla, puedes intentar debajo de &lt;code&gt;&amp;lt;data:post.body/&amp;gt;&lt;/code&gt;, ya que esta etiqueta contiene el cuerpo de los articulos.&lt;/p&gt;

&lt;h3&gt;Seçenekler&lt;/h3&gt;
&lt;p&gt;Dentro de la variable &lt;code&gt;defaults&lt;/code&gt; se encuentran distintas opciones que puedes modificar, también puedes encontrar el &lt;strong&gt;código javascript de ejemplo&lt;/strong&gt; en el &lt;a href=&quot;http://web.archive.org/web/20220126141741/https://github.com/zkreations/wjs-related&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;repositorio&lt;/a&gt;. La siguiente tabla explica las opciones:&lt;/p&gt;

&lt;div class=&quot;table-fluid&quot;&gt;
   &lt;table&gt;
      &lt;thead&gt;
         &lt;tr&gt;
            &lt;th&gt;Opsiyon&lt;/th&gt;
            &lt;th&gt;Tip&lt;/th&gt;
            &lt;th&gt;Açıklama&lt;/th&gt;
         &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;id&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-string&quot; target=&quot;_blank&quot; class=&quot;types types-string&quot;&gt;string&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Código único de una entrada publicada en el blog&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;homepage&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-string&quot; target=&quot;_blank&quot; class=&quot;types types-string&quot;&gt;string&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Enlace de la página principal. Debe corresponder al id del post&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;image&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-image&quot; target=&quot;_blank&quot; class=&quot;types types-image&quot;&gt;image&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Url de la imagen por defecto. Se usa cuando no existen imágenes en el post&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;length&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-number&quot; target=&quot;_blank&quot; class=&quot;types types-number&quot;&gt;number&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Cantidad de entradas relacionadas a mostrar&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;localeDate&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-string&quot; target=&quot;_blank&quot; class=&quot;types types-string&quot;&gt;string&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Idioma y localidad&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;snippet&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-number&quot; target=&quot;_blank&quot; class=&quot;types types-number&quot;&gt;number&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Cantidad de texto para el resumen&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;imgSize&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-string&quot; target=&quot;_blank&quot; class=&quot;types types-string&quot;&gt;string&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Parámetros para el tamaño de las imágenes&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;container&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-string&quot; target=&quot;_blank&quot; class=&quot;types types-string&quot;&gt;string&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Id del Contenedor&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;tags&lt;/code&gt;&lt;/td&gt;
            &lt;td&gt;&lt;a href=&quot;//web.archive.org/web/20220126141741/https://bit.ly/data-object&quot; target=&quot;_blank&quot; class=&quot;types types-object&quot;&gt;object&lt;/a&gt;&lt;/td&gt;
            &lt;td&gt;Etiquetas de la entrada. Debe corresponder al id del post&lt;/td&gt;
         &lt;/tr&gt;
      &lt;/tbody&gt;
   &lt;/table&gt;
&lt;/div&gt;

&lt;h3&gt;Çözüm&lt;/h3&gt;
&lt;p&gt;Umarım bu makaleyi faydalı bulmuşsunuzdur. &lt;strong&gt;Bu makaleyi sosyal ağlarınızda paylaşmayı unutmayın&lt;/strong&gt;. Uğradığınız için çok teşekkür ederim.&lt;/p&gt;

&lt;style&gt;/*&lt;![CDATA[*/
/*! docs.css */
.card-symbol,.types{font-weight:500;font-family:monospace}.brackets::after,.brackets::before{color:#B0BEC5}.brackets::before{content:&#39;{&#39;}.brackets::after{content:&#39;}&#39;}.table-fluid td,.table-fluid th{vertical-align:top;border:1px solid #CFD8DC;font-size:1.05rem;padding:.5rem .75rem}.table-fluid thead th{font-weight:500;font-size:1.1rem}.types{font-size:14px;text-transform:capitalize;padding:.25rem .75rem;border-radius:3px}.card-symbol-etiquetas,.card-symbol-etiquetas:hover,.types-string,.types-string:hover{color:#7E57C2;background-color:#EDE7F6}.card-symbol-operadores,.card-symbol-operadores:hover,.types-number,.types-number:hover{color:#F06292;background-color:#FCE4EC}.types-boolean,.types-boolean:hover{color:#26A69A;background:#E0F2F1}.card-symbol-datos,.card-symbol-datos:hover,.types-array,.types-array:hover{color:#8e9a35;background-color:#eaedd2}.types-object,.types-object:hover{color:#2E7D32;background-color:#C8E6C9}.types-image,.types-image:hover{color:#FF5722;background-color:#FBE9E7}.types-date,.types-date:hover{color:#795548;background-color:#EFEBE9}.types-locale,.types-locale:hover{color:#00838F;background:#E0F7FA}.types-message,.types-message:hover{color:#E65100;background:#FFE0B2}.card-symbol-parametros,.card-symbol-parametros:hover,.types-url,.types-url:hover{color:#1976D2;background-color:#E3F2FD}.types-none,.types-none:hover{color:#455A64;background-color:#ECEFF1}.table-fluid{scrollbar-color:#607D8B #d6d6d6;scrollbar-width:thin;padding-bottom:1px}.table-fluid::-webkit-scrollbar{height:4px;background-color:transparent}.table-fluid::-webkit-scrollbar-track{background-color:#d6d6d6}.table-fluid::-webkit-scrollbar-thumb{background-color:#455A64}table.table-fluid{width:100%;border:1px solid transparent}.table-fluid code{white-space:normal;display:inline-block;line-height:1.4}.code pre .brackets{font-style:italic}.card-symbol{padding:.75rem 1rem;margin-bottom:1rem;border-radius:4px;display:inline-block}.card-symbol-indice,.card-symbol-indice:hover{color:#455A64;background:#ECEFF1}.cyan{color:#00BCD4}.nowrap{white-space:nowrap}.link-code code{color:#798620;background:#e7ebcd;transition:color .2s,background .2s}.link-code code:hover{background:#e0e6b6}.tab-docs .wjs-panel{padding:0}.tab-docs .tab-header{margin-bottom:1rem;display:-ms-flexbox;display:flex}.tab-docs .wjs-item{background-color:#f7f8f9;font-size:1rem;padding:.5rem 1rem}.tab-docs .wjs-item.is-active{background-color:#aab74d}.article-body h1:focus,.article-body h2:focus,.article-body h3:focus,.article-body h4:focus,.article-body h5:focus,.article-body h6:focus{outline:transparent 0}
/*]]&gt;*/&lt;/style&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/2863183829792368934/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2020/06/blogger-icin-en-iyi-ilgili-yayinlar.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/2863183829792368934'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/2863183829792368934'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2020/06/blogger-icin-en-iyi-ilgili-yayinlar.html' title='Blogger için en iyi ilgili yayınlar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-6963835324695750080</id><published>2020-06-01T22:54:00.060+03:00</published><updated>2023-10-21T23:16:46.386+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="widget"/><title type='text'>Bağlantılar içeren rastgele resim widget</title><content type='html'>&lt;img alt=&quot;bağlantılar içeren rastgele görüntüler oluşturun&quot; class=&quot;none&quot; src=&quot;http://web.archive.org/web/20201130232148im_/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfJtO30CC28IpIzPcEHs2bbKlgRqI15ZAxzw590fJOWCy7mthLvMS4gCCkrw9dg6i2CLaBLlVSYjfMJedO3u8slR-WTHLjRJLnstBkMA-rwtE8LpF8kg_E78DvkfN9Sg71pU9cTR-F/s1600/widget-imagenes-aleatorias-blogger-random-images-purejs-min.png&quot;/&gt;

&lt;img alt=&quot;bağlantı içeren rastgele resim&quot; id=&quot;featuredImage&quot; src=&quot;http://web.archive.org/web/20201130232148/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtbYOQA2B30pk6qfxgmI-qM03z_A3zxwQY2zt7Tsw7QBAZtE_f9XNM4Lc6FOOrWcxzIyDNpwz0JxzR1kXLEXGHEjDDOzOtkNhtVaE5XsYmrdcxlI2IGWIbzO_CgyX3xnjgLDmhZloR/s900/widget-imagenes-aleatorias-blogger-random-images-purejs-4.png&quot;/&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn&quot; href=&quot;http://web.archive.org/web/20201130232148/https://codepen.io/zkreations/full/NOqPPK&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Demo Codepen
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;En esta ocasión les comparto un widget que he desarrollado capaz de generar &lt;strong&gt;imágenes aleatorias al recargar la página&lt;/strong&gt;. Opcionalmente las imágenes también pueden contener enlaces si así se requiere, lo que puede ser útil para crear &lt;strong&gt;banners aleatorios&lt;/strong&gt;.&lt;/p&gt;
  
&lt;!--&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;--&gt;

&lt;script&gt;//&lt;![CDATA[
var fondos = [
  &quot;http://web.archive.org/web/20201130232148/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbTc0DUQi1XB23i3PdEmoBoENdhfj_MwGB5sxyX_cOQ6JRlnV6aTPQyNQKnrmXy309A_y0pjVtsmioNXmgaMa9Ds1sgrKmUycm-IktB7VywttnDJdWwAgW3cWPQQdd5_zrlvFPW-P9/s900/widget-imagenes-aleatorias-blogger-random-images-purejs.png&quot;, 
  &quot;http://web.archive.org/web/20201130232148/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZDUjA-knYolrFKnVqMp1XzxokhPRNtwy0-FocL3DIngdzW_QAvsi4ymLiBdDVhsaZH9SeJue5pEvvwODRmkn7Yn-Guc3rXmUKDAm4-dOlgFV2UNhOmhIozco0uBkAlfPQNJ1xysHg/s900/widget-imagenes-aleatorias-blogger-random-images-purejs-2.png&quot;, 
  &quot;http://web.archive.org/web/20201130232148/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYmZ1Zt8JFbGEpOpPBIkN8FGo8A8TGJbDISBC61dI_EkVKZb2qJ5UDGZ8OFhHZ8Bwm-YjCgDrhkH-7KoMK4G1zi6T37bQPxpTFAKEZqqf09RE8Uyuyj83atkQy3BF4hdI7to47_MX1/s900/widget-imagenes-aleatorias-blogger-random-images-purejs-3.png&quot;,
  &quot;http://web.archive.org/web/20201130232148/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtbYOQA2B30pk6qfxgmI-qM03z_A3zxwQY2zt7Tsw7QBAZtE_f9XNM4Lc6FOOrWcxzIyDNpwz0JxzR1kXLEXGHEjDDOzOtkNhtVaE5XsYmrdcxlI2IGWIbzO_CgyX3xnjgLDmhZloR/s900/widget-imagenes-aleatorias-blogger-random-images-purejs-4.png&quot;],
  random = Math.floor(Math.random() * fondos.length),
  image = document.getElementById(&#39;featuredImage&#39;);
  image.src = fondos[random];
//]]&gt;&lt;/script&gt;

&lt;h3&gt;Kurulum&lt;/h3&gt;
&lt;p&gt;Ve a tu panel de administración en &lt;strong&gt;Blogger &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Temas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Editar HTML&lt;/strong&gt;. Busca &lt;code&gt;&amp;lt;b:section id=&#39;sidebar&#39;&amp;gt;&lt;/code&gt; o cualquier etiqueta section. Debajo de eso pega el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;b:widget id=&#39;TextList51&#39; title=&#39;Imagen Aleatoria&#39; type=&#39;TextList&#39;&gt;
   &amp;lt;b:includable id=&#39;main&#39;&gt;
      &amp;lt;b:include expr:name=&#39;data:widgets ? &quot;widget-title&quot; : &quot;title&quot;&#39;/&gt;
      &amp;lt;b:include name=&#39;content&#39;/&gt;
      &amp;lt;b:include name=&#39;js&#39;/&gt;
   &amp;lt;/b:includable&gt;
   &amp;lt;b:includable id=&#39;title&#39;&gt;
      &amp;lt;b:tag name=&quot;h2&quot; class=&#39;widget-title&#39;&gt;
         &amp;lt;span class=&#39;widget-name&#39;&gt;&amp;lt;data:title/&gt;&amp;lt;/span&gt;
      &amp;lt;/b:tag&gt;
   &amp;lt;/b:includable&gt;
   &amp;lt;b:includable id=&#39;content&#39;&gt;
      &amp;lt;div class=&#39;widget-content&#39;&gt;
        &amp;lt;div expr:id=&#39;&quot;randomImage-&quot; + data:widget.instanceId&#39;/&gt;
      &amp;lt;/div&gt;&amp;lt;!-- .widget-content --&gt;
   &amp;lt;/b:includable&gt;
   &amp;lt;b:includable id=&#39;js&#39;&gt;
     &amp;lt;script&gt;
     var randomImage = function() {
     var container = document.getElementById(&#39;randomImage-&amp;lt;data:widget.instanceId/&gt;&#39;),//&amp;lt;![CDATA[
         images = [];//]]&gt;&amp;lt;b:loop index=&#39;i&#39; values=&#39;data:items&#39; var=&#39;e&#39;&gt;
         &amp;lt;b:with expr:value=&#39;&quot;{&quot; + (data:e contains &quot;src:&quot; ? data:e : 0) + &quot;}&quot;&#39; var=&#39;img&#39;&gt;
         &amp;lt;b:with value=&#39;data:img.src ?: data:e&#39; var=&#39;imgSrc&#39;&gt;
           images[&amp;lt;data:i/&gt;] = &quot;&amp;lt;b:tag cond=&#39;data:img.url&#39; name=&#39;a&#39; expr:href=&#39;data:img.url&#39;&gt;&amp;lt;img expr:src=&#39;data:imgSrc&#39;/&gt;&amp;lt;/b:tag&gt;&quot;;
         &amp;lt;/b:with&gt;&amp;lt;/b:with&gt;&amp;lt;/b:loop&gt;//&amp;lt;![CDATA[
         container.innerHTML = images[Math.floor(Math.random() * images.length)];
     }();//]]&gt;&amp;lt;/script&gt;
   &amp;lt;/b:includable&gt;
&amp;lt;/b:widget&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Değişiklikleri kaydedin ve bu kadar. Görüntü eklememiz gerektiğinden şu anda widget görünür olmayacaktır.&lt;/p&gt;

&lt;h3&gt;Yapılandırma&lt;/h3&gt;
&lt;h4&gt;Görüntüler&lt;/h4&gt;
&lt;p&gt;Ve a Diseño en tu panel de &lt;strong&gt;administración de Blogger&lt;/strong&gt; y edita el widget &quot;Imagenes aleatorias&quot;. Lo único que debes hacer es agregar enlaces de imágenes a la lista, puedes agregar todas las imágenes que quieras.&lt;/p&gt;

&lt;h4&gt;Bağlantı içeren görseller&lt;/h4&gt;

&lt;p&gt;En este caso, los elementos de la lista deben tener el &lt;strong&gt;formato json&lt;/strong&gt;, toma de ejemplo el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-json&quot;&gt;url: &quot;enlace&quot;, src: &quot;imagen.jpg&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Es muy &lt;strong&gt;importante&lt;/strong&gt; que se respete la coma y el espacio. Reemplaza &lt;code&gt;&lt;span class=&quot;brackets&quot;&gt;enlace&lt;/span&gt;&lt;/code&gt; y &lt;code&gt;&lt;span class=&quot;brackets&quot;&gt;imagen.jpg&lt;/span&gt;&lt;/code&gt; por la url del sitio y de tu imagen, puedes agregar todos los elementos que quieras a la lista.&lt;/p&gt;

&lt;p&gt;También puedes combinar ambos métodos para agregar imágenes con y sin enlaces. Eso ha sido todo, si te ha servido no olvides &lt;strong&gt;compartir este artiuclo&lt;/strong&gt;, siempre lo agradezco. Si tienes alguna duda, déjala en los comentarios.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/6963835324695750080/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2020/06/baglantilar-iceren-rastgele-resim-widget.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6963835324695750080'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6963835324695750080'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2020/06/baglantilar-iceren-rastgele-resim-widget.html' title='Bağlantılar içeren rastgele resim widget'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-6499841736674366406</id><published>2020-05-01T01:58:00.008+03:00</published><updated>2023-10-21T23:38:59.171+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Gönderilerde otomatik arka plan resmi</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX7uXP_d4TiJWO1wy9tjp9cWbKlpQ37-MYCIE2MFKE2U8Y2_-Wj-sIq-9EerX1YHG0fJq4BzacZtINbKKry96vVJhTVMK9um6tADpU0UGS1CvLQENMt27pep2dcxpEq_phdtoI9faxWjzXS240wduyP3QDd1D4KPq3UfWYx7FyslvBcLCzs21Uo5W6ICfm/s1600/g%C3%B6nderilerde-otomatik-arka-plan-resmi.jpg&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;/&gt;

&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX7uXP_d4TiJWO1wy9tjp9cWbKlpQ37-MYCIE2MFKE2U8Y2_-Wj-sIq-9EerX1YHG0fJq4BzacZtINbKKry96vVJhTVMK9um6tADpU0UGS1CvLQENMt27pep2dcxpEq_phdtoI9faxWjzXS240wduyP3QDd1D4KPq3UfWYx7FyslvBcLCzs21Uo5W6ICfm/s1600/g%C3%B6nderilerde-otomatik-arka-plan-resmi.jpg&quot; alt=&quot;her gönderide farklı gönderi arka planı&quot; width=&quot;1280&quot; height=&quot;720&quot;/&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Düz renk yerine bir arka plan resmi&lt;/strong&gt; kullanmak, makalelerimizi daha kişisel hale getirmek için mükemmel bir katkı olabilir. Bugün her gönderide otomatik olarak &lt;strong&gt;ilk resmin arka plan olarak nasıl kullanılacağını&lt;/strong&gt; göstereceğim.&lt;/p&gt;

&lt;h2 id=&quot;otomatik-arka-plani-etkinlestir&quot;&gt;Otomatik arka planı etkinleştir&lt;/h2&gt;

&lt;p&gt;Blogger, duyarlı bir arka plan eklememize olanak tanıyan harika bir &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/1981/01/XML-renderer-responsiveImageStyle.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;global eklentiye&lt;/a&gt; sahiptir. Javascript gerekmez, sadece şablonunuzu HTML modunda düzenleyin ve &lt;code&gt;&amp;lt;/head&amp;gt;&lt;/code&gt; ifadesini aratın, bunun üzerine aşağıdaki kodu yapıştırın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;b:if cond=&#39;data:view.isPost and data:view.featuredImage&#39;&gt;
  &amp;lt;b:include
    name=&#39;responsiveImageStyle&#39;
    data=&#39;{ image: data:view.featuredImage, selector: &quot;body&quot; }&#39;/&gt;
  &amp;lt;style&gt;
    body {
      background-repeat: no-repeat; /* tekrarlama */
      background-size: cover; /* boyut */
      background-position: top center; /* hizalama */
      background-attachment: fixed; /* kaydırma */
    }
  &amp;lt;/style&gt;
&amp;lt;/b:if&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;İşte bu kadar, şimdi makalelerinizden herhangi birine gidin ve makalenin ilk resmine dayalı olarak yanıt veren &lt;strong&gt;otomatik bir arka plan&lt;/strong&gt; görmeye başlayacaksınız. Eğer yazıda resim yoksa hiçbir şey görmeyeceksiniz.&lt;/p&gt;

&lt;h2&gt;Açıklama&lt;/h2&gt;

&lt;p&gt;Kodun iki şeyi kontrol eden bir koşulu vardır. Birincisi, bunun bir makale olup olmadığı &lt;code&gt;data:view.isPost&lt;/code&gt; ve ikincisi de makalenin bir resim içerip içermediği &lt;code&gt;data:view.featuredImage&lt;/code&gt;. Her iki durum da karşılandığında, arka planı oluşturmaya devam ederiz.&lt;/p&gt;

&lt;p&gt;Arka plana gelince, &lt;a href=&quot;https://bloggercode-blogconnexion.blogspot.com/1981/01/XML-renderer-responsiveImageStyle.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;eklediğimiz kod&lt;/a&gt;, kullanıcının cihazına bağlı olarak değişecek bir arka plan oluşturacaktır. Bu şekilde sayfanız bir masaüstü bilgisayardan görüntülenirse, &lt;strong&gt;daha yüksek çözünürlüklü bir görüntü&lt;/strong&gt; yükleyecektir. Ancak mobil cihazlarda görüntü çok daha küçük olacaktır. Bu blogumuzun optimizasyonunu korumamıza çok yardımcı olur.&lt;/p&gt;

&lt;h2&gt;Kişiselleştir&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt; etiketi arka planı biçimlendirmekten sorumludur, kod da açıklamalar bıraktım. Böylece değiştirmek istemeniz durumunda hangi özelliğin hangi işleve sahip olduğu anlaşılacaktır. Yine de aşağıda neler yapabileceğinizi biraz daha açıklıyorum.&lt;/p&gt;

&lt;h3 id=&quot;tekrarlama&quot;&gt;Tekrarlama&lt;/h3&gt;
&lt;p&gt;Varsayılan olarak, yapıştırdığımız kod görüntüyü herhangi bir eksende tekrarlamaz, herhangi bir nedenle görüntünün tekrarlanmasına ihtiyacınız varsa, bu kısmı arayın ve &lt;code&gt;no-repeat&lt;/code&gt; ifadesini &lt;code&gt;repeat&lt;/code&gt; olarak değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;background-repeat: no-repeat; /* tekrarlama */&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3&gt;Boyutlar&lt;/h3&gt;
&lt;p&gt;Arka plan pencerenin kullanılabilir boyutunun tamamını kaplayacak ve boşluk bırakmayacaktır. Herhangi bir nedenle otomatik bir boyut yerine sabit bir boyut ayarlamanız gerekiyorsa, bu kısmı bulun ve &lt;code&gt;cover&lt;/code&gt; seçeneğini değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;background-size: cover; /* boyut */&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3&gt;Pozisyon&lt;/h3&gt;
&lt;p&gt;Varsayılan konum &#39;üst orta&#39; olarak ayarlanmıştır. Bunu değiştirmek istiyorsanız, bu kısmı bulun ve &lt;code&gt;top center&lt;/code&gt; ifadesini, örneğin &lt;code&gt;center&lt;/code&gt; gibi başka bir konumla değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;background-position: top center; /* hizalama */&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;sabit-arkaplan&quot;&gt;Sabit arkaplan&lt;/h3&gt;
&lt;p&gt;Varsayılan olarak &lt;strong&gt;arka plan sabit bir konuma sahiptir&lt;/strong&gt;, yani sayfa kaydırılırken tarayıcı penceresindeki yerini koruyacaktır, bunu değiştirmek istiyorsanız, bu bölümü bulun ve &lt;code&gt;fixed&lt;/code&gt; öğesini &lt;code&gt;scroll&lt;/code&gt; olarak değiştirin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;background-attachment: fixed; /* kaydırma */&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2&gt;Sonuç&lt;/h2&gt;
&lt;p&gt;Oldukça basit bir numara olmasına rağmen, umarım faydalı bulursunuz. Eğer faydalı bulduysanız &lt;strong&gt;paylaşmayı unutmayın&lt;/strong&gt;. Uğradığınız için teşekkürler ve herhangi bir sorunuz varsa yorum bırakın.&lt;/p&gt;</content><link rel='enclosure' type='Çizim K E R B Y • R O S A N E S' href='https://www.instagram.com/p/-y3NmouHzK/' length='0'/><link rel='enclosure' type='Orjinal içerik - zkreations' href='https://www.zkreations.com/2018/03/fondo-diferente-en-cada-entrada-blogger.html' length='0'/><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/6499841736674366406/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/08/gonderilerde-otomatik-arka-plan-resmi.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6499841736674366406'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6499841736674366406'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/08/gonderilerde-otomatik-arka-plan-resmi.html' title='Gönderilerde otomatik arka plan resmi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX7uXP_d4TiJWO1wy9tjp9cWbKlpQ37-MYCIE2MFKE2U8Y2_-Wj-sIq-9EerX1YHG0fJq4BzacZtINbKKry96vVJhTVMK9um6tADpU0UGS1CvLQENMt27pep2dcxpEq_phdtoI9faxWjzXS240wduyP3QDd1D4KPq3UfWYx7FyslvBcLCzs21Uo5W6ICfm/s72-c/g%C3%B6nderilerde-otomatik-arka-plan-resmi.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-6747766564523119643</id><published>2020-04-30T10:07:00.000+03:00</published><updated>2023-10-18T22:44:59.187+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Javascript ile yukarı butonu </title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhzDpAKwB78z5hRcN23Nd9f4SFxPf39TQqpAdkfhppAHaf1QMLRIoQcuK2Vm6qId0m8OJUE1M56vGopQiCdFqakIiL99FoRDN9Eppx9mmD_kEbcI_NKa0bN2F3T2at30XeA1OMutiYJcfFVfDMcpdwJRmgkirrytpJpM-2V8cKqZcLdh_TS0pDGgTC_&quot; alt=&quot;thumbnail&quot; width=&quot;500&quot; height=&quot;375&quot; loading=&quot;lazy&quot;&gt;
&lt;p class=&quot;none meta-description&quot;&gt;Saf JavaScript ile yazılmış yukarı düğmesi, çok hafif.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirx5hb0xOBMEb3fJEWlrO_ecRrk1A4yeE9H_FGVikfMCPvDlkw6F9tvvRbMPjcBx0-8MCnEuLt-9sluKaz1OGsUVVelXyn_g7nC4BVbYwVChe9dAinOb1wvFS0OcLslnWdiUdUZSseVE-9uaG-1jyB47W3FQ4FX4bGk70gAGmwrMAoPXSVOZMgPg/s900-rw-l80-e30/boton-subir-scroll-to-up-vanilla-javascript.png&quot; alt=&quot;Botón subir con javascript 2022&quot; width=&quot;900&quot; height=&quot;507&quot;&gt;
&lt;/p&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  
  &lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/pen/qMLGqz&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;svg class=&quot;i i-codepen&quot; viewBox=&quot;0 0 24 24&quot;&gt;
    &lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7zm0 20v-6.5m10-7-10 7-10-7m0 7 10-7 10 7M12 2v6.5&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;CodePen ile görüntüle&lt;/a&gt;

&lt;/div&gt;
&lt;p&gt;Herhangi bir web sayfasındaki bir klasik, basıldığında kaydırmayı başa götüren &quot;&lt;strong&gt;Yukarı git&lt;/strong&gt;&quot; veya &quot;Yukarı&quot; düğmesidir. Bugün projelerinizde uygulayabileceğiniz oldukça hafif, &lt;strong&gt;saf JavaScript&lt;/strong&gt; ile geliştirilen küçük bir buton paylaşmak istiyorum.&lt;/p&gt;

&lt;h2 id=&quot;kurulum&quot;&gt;Kurulum&lt;/h2&gt;
&lt;p&gt;Aşağıdaki HTML yapısını Web sitenizin gövdesine ekleyin, &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; etiketinin üst tarafına. Platforma veya projenize bağlı olarak bu adım farklı olabilir:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;button&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;toTop&quot;&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;toTop&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;svg&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;viewBox&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;0 0 24 24&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;path&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;d&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;m4 16 8-8 8 8&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;svg&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;button&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Aşağıdaki stilleri içerir. Örneğin, WordPress kullanıyorsanız bunları &lt;code&gt;style.css&lt;/code&gt; dosyanıza ekleyin, Blogger söz konusu olduğunda Şablon Tasarımcısının &lt;strong&gt;CSS Ekle&lt;/strong&gt; seçeneğini kullanın.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;c&quot;&gt;/* Botón Subir */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;toTop&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;border&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;flex&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;cursor&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;pointer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;transition&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;opacity&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;transform&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;c&quot;&gt;/* posición */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;position&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;fixed&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;right&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;bottom&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;z-index&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;9999&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;toTop&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;not&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;is-visible&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;pointer-events&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;opacity&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;transform&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;translateY&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;-2&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;toTop&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;svg&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;stroke-width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;stroke&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;currentColor&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;fill&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;c&quot;&gt;/* Personalizar */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;toTop&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#252525&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;box-shadow&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.75&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#fff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Son olarak, her şeyin çalışmasını sağlayacak olan JavaScript kodudur. Aşağıdaki snippet&#39;i web sayfanızın javascript kodunun geri kalanıyla birlikte ekleyin, yazacak yeriniz yoksa &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; etiketinin üst tarafında deneyin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/*&amp;lt;![CDATA[*/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;kr&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;toTop&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;kd&quot;&gt;let&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;button&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;toTop&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nb&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;onscroll&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;nx&quot;&gt;button&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;classList&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;        &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;documentElement&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;scrollTop&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;?&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;add&quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;remove&quot;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;p&quot;&gt;](&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;is-visible&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nx&quot;&gt;button&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;onclick&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;nb&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;scrollTo&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nx&quot;&gt;top&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;behavior&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;smooth&quot;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;})&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;})();&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/*]]&amp;gt;*/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;İşte bu kadar, yapacak başka bir şey yok. Kodu doğru eklediyseniz, sayfayı aşağı kaydırdığınızda &amp;#8220;Yükle&amp;#8221; düğmesini göreceksiniz. Başaramadıysanız, &lt;strong&gt;bir yorum bırakın&lt;/strong&gt; size daha kişisel bir şekilde yardımcı olmaya çalışacağım.&lt;/p&gt;

&lt;h2 id=&quot;kisisellestir&quot;&gt;Kişiselleştir&lt;/h2&gt;
&lt;p&gt;Çok fazla kod yok, bu nedenle adımlardan herhangi birinde gerekli gördüğünüzü düzenleyebilirsiniz. Bunun için, özellikle bu kısım olmak üzere &amp;#8220;&lt;strong&gt;görünüş&lt;/strong&gt;&amp;#8221; stillerini ayırdım:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;
&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;c&quot;&gt;/* Personalizar */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;toTop&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#252525&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;box-shadow&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;padding&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.75&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;rem&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#fff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Bunların tümü düğmeyi görsel olarak şekillendirmek için, kodu düzenlemekten veya kendi stillerinizi yazmaktan çekinmeyin ve düğmeye yeni bir görünüm verin.&lt;/p&gt;

&lt;h2 id=&quot;cozum&quot;&gt;Çözüm&lt;/h2&gt;
&lt;p&gt;Hepsi bu kadar. Siteniz için küçük bir katkı, umarım faydalı bulursunuz. Okuduğunuz için teşekkürler.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/6747766564523119643/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/05/javascript-ile -yukari-butonu .html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6747766564523119643'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/6747766564523119643'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/05/javascript-ile -yukari-butonu .html' title='Javascript ile yukarı butonu '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEhzDpAKwB78z5hRcN23Nd9f4SFxPf39TQqpAdkfhppAHaf1QMLRIoQcuK2Vm6qId0m8OJUE1M56vGopQiCdFqakIiL99FoRDN9Eppx9mmD_kEbcI_NKa0bN2F3T2at30XeA1OMutiYJcfFVfDMcpdwJRmgkirrytpJpM-2V8cKqZcLdh_TS0pDGgTC_=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3601163781138521180</id><published>2020-04-27T23:07:00.133+03:00</published><updated>2023-10-19T09:43:18.098+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Hafif ve özelleştirilebilir anti-adblock</title><content type='html'>&lt;img class=&quot;none meta-thumbnail&quot; alt=&quot;Hafif ve özelleştirilebilir anti-adblock&quot; height=&quot;375&quot; loading=&quot;lazy&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitaeof9BqYr4E9qypat1Tzf0cwyNdB56GiSSSFWPZI1cc9qy_l2ptVzzwHawNcil7DlP5YehKNW7OyqzZrL7Acqpce4bU4UqDoymsVOARy1sMf8HreNGF2g_oh89_-xS-IXHqhy19HT_iXzTIdKo2XZHSCt6SHkGaEUrbbgax1bvZKKXeLvgfyukfbgNp-/s1600/adblock-anti-engelleyici-bildirimi-vanilla-js-min.png&quot; width=&quot;500&quot;/&gt;

&lt;img alt=&quot;bir uyarı mesajıyla adblock&#39;u devre dışı bırakın&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCerAueutiiryV3zVydgoNddZWIPQ4KYIjsshugDy_Jc4CYDSlg1xgmUU7ouwDKCY_Sp9q1e3G330w_3GA7ZE4-rxH1WTPXhwRIn-BEwOgtp2reNBb9lU5TuZrO0_i9jrwZPfYe8uWed-ePChicDstpryaNhkJnk-pAzHCjJdbAwUZEmZkt_wPcI606So9/s1600/adblock-anti-engelleyici-bildirimi-vanilla-js.png&quot;/&gt;

&lt;div class=&quot;flex wrap g-0.5 i-s&quot;&gt;
  &lt;a class=&quot;btn btn-tertiary&quot; href=&quot;http://web.archive.org/web/20211022192312/https://codepen.io/zkreations/full/bZWyGx&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-star&quot;&gt;&lt;path d=&quot;m12 1.5 3.1 6.3 6.9 1-5 4.8 1.2 6.9-6.2-3.2-6.2 3.2L7 13.6 2 8.8l6.9-1z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Kişiselleştirilmiş örnek
  &lt;/a&gt;
  &lt;a class=&quot;btn&quot; href=&quot;http://web.archive.org/web/20211022192312/https://codepen.io/zkreations/full/aXXNay&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot; class=&quot;i i-layout&quot;&gt;&lt;rect width=&quot;18&quot; height=&quot;18&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;2&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M3 9h18M9 21V9&quot;&gt;&lt;/path&gt;&lt;/svg&gt;Demo Codepan
  &lt;/a&gt;
&lt;/div&gt;

&lt;p&gt;Casi la totalidad de páginas o blogs generan &lt;strong&gt;ingresos mediante publicidad&lt;/strong&gt;, pero existen un sin número de &lt;strong&gt;bloqueadores de anuncios&lt;/strong&gt;, con el fin de hacer la experiencia de quien navega por la red más agradable, pero &lt;strong&gt;causando pérdidas&lt;/strong&gt; a los portales que se mantienen gracias a la publicidad.&lt;/p&gt;&lt;br&gt;
  
&lt;!-- &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;--&gt;

&lt;p&gt;Una solución al problema es pedirle a los usuarios &lt;strong&gt;desactivar AdBlock con un aviso&lt;/strong&gt; y en ello nos vamos a centrar en este articulo.&lt;/p&gt;

&lt;h3&gt;Blockadblock.js&lt;/h3&gt;
&lt;p&gt;Se trata de un &lt;a href=&quot;http://web.archive.org/web/20211022192312/https://github.com/sitexw/FuckAdBlock/blob/master/fuckadblock.js&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;proyecto en github&lt;/a&gt; escrito en &lt;a href=&quot;https://www.zkreations.com/search/label/javascript?max-results=8&quot; target=&quot;_blank&quot;&gt;javascript puro&lt;/a&gt; que puede detectar eficazmente cualquier &lt;strong&gt;extensión anti-anuncios&lt;/strong&gt;, por tanto, basado en la respuesta de &lt;strong&gt;blockadblock.js&lt;/strong&gt; podemos construir un aviso para los usuarios con tengan una extensión que bloquee anuncios.&lt;/p&gt;

&lt;h3&gt;Kurulum&lt;/h3&gt;
&lt;p&gt;Para empezar, este complemento usa las animaciones de &lt;strong&gt;animate.css&lt;/strong&gt;, si ya lo tienes instalado en tu blog, puedes saltar este paso, caso contrario incluye el siguiente código en tu proyecto:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;
&lt;span class=&quot;hljs-tag&quot;&gt;&amp;lt;&lt;span class=&quot;hljs-name&quot;&gt;link&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;rel&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;hljs-string&quot;&gt;&quot;https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css&quot;&lt;/span&gt;/&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Ahora solo queda agregar el código css del aviso, en Blogger puedes hacerlo en la sección &quot;&lt;strong&gt;Agregar CSS&lt;/strong&gt;&quot; del personalizador. En wordpress agrega el código al final del archivo &lt;strong&gt;style.css&lt;/strong&gt;:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
/*!
 * Anti-adblock v2.1.0
 * Copyright 2019 zkreations
 * Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT (github.com/zkreations/plugins/blob/master/LICENSE)
 */
/*! Core (Değişiklik yapmayın) {{*/
body.ab-is-detected{overflow:hidden!important}@font-face{font-family:wgd;src:url(https://cdn.jsdelivr.net/gh/da2l/host@1/dist/fonts/wgd.woff) format(&quot;woff&quot;);font-weight:400;font-style:normal}[class*=&quot; wgd-&quot;]:before,[class^=wgd-]:before{font-family:wgd!important;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wgd-usd:before{content:&quot;\61&quot;}.wgd-eur:before{content:&quot;\62&quot;}.wgd-btc:before{content:&quot;\63&quot;}.wgd-times:before{content:&quot;\64&quot;}@-webkit-keyframes square{0%{-webkit-transform:translateY(0) scale(1.5) rotate(0);transform:translateY(0) scale(1.5) rotate(0);opacity:1}100%{-webkit-transform:translateY(-600px) scale(1) rotate(-200deg);transform:translateY(-600px) scale(1) rotate(-200deg);opacity:0}}@keyframes square{0%{-webkit-transform:translateY(0) scale(1.5) rotate(0);transform:translateY(0) scale(1.5) rotate(0);opacity:1}100%{-webkit-transform:translateY(-600px) scale(1) rotate(-200deg);transform:translateY(-600px) scale(1) rotate(-200deg);opacity:0}}.WgD-particles i{font-size:4em;font-weight:400;position:absolute;bottom:-100px;-webkit-animation:square 10s infinite;animation:square 10s infinite;-webkit-animation-duration:16s;animation-duration:16s}.WgD-particles i:nth-child(11),.WgD-particles i:nth-child(4),.WgD-particles i:nth-child(6),.WgD-particles i:nth-child(8){font-size:3em}.WgD-particles i:nth-child(10),.WgD-particles i:nth-child(2),.WgD-particles i:nth-child(3){font-size:2em}.WgD-particles i:nth-child(1){left:15%}.WgD-particles i:nth-child(2){left:24%;-webkit-animation-duration:8s;animation-duration:8s}.WgD-particles i:nth-child(3){left:50%;-webkit-animation-delay:5s;animation-delay:5s}.WgD-particles i:nth-child(4){left:40%;-webkit-animation-delay:7s;animation-delay:7s;-webkit-animation-duration:15s;animation-duration:15s}.WgD-particles i:nth-child(5){left:36%;-webkit-animation-delay:6s;animation-delay:6s}.WgD-particles i:nth-child(6){left:44%;-webkit-animation-delay:10s;animation-delay:10s;-webkit-animation-duration:20s;animation-duration:20s}.WgD-particles i:nth-child(7){left:58%;-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-duration:18s;animation-duration:18s}.WgD-particles i:nth-child(8){left:45%;-webkit-animation-duration:14s;animation-duration:14s}.WgD-particles i:nth-child(9){left:66%;-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-duration:12s;animation-duration:12s}.WgD-particles i:nth-child(10){left:74%;-webkit-animation-duration:25s;animation-duration:25s}.WgD-particles i:nth-child(11){left:80%;-webkit-animation-delay:4s;animation-delay:4s}#WgD{display:none;position:fixed;top:0;left:0;right:0;bottom:0;font-size:14px;-webkit-animation:wgdfade .3s;animation:wgdfade .3s;z-index:99999}#WgD.is-detected{display:block}@-webkit-keyframes wgdfade{from{opacity:0}to{opacity:1}}@keyframes wgdfade{from{opacity:0}to{opacity:1}}.WgD-position{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:900}.WgD-title{margin:0 0 .5em}.WgD-text{margin:0;font-weight:400}.WgD-reload{text-decoration:none;display:inline-block;margin-top:2em;font-weight:500;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.WgD-reload:hover{-webkit-transform:scale(1.05);transform:scale(1.05)}.WgD-close{position:absolute;top:0;right:0;text-decoration:none;font-size:20px;color:#999;padding:1rem;line-height:1;display:block}.WgD-container img{max-width:100%;margin-bottom:1em;-o-object-fit:cover;object-fit:cover}
/*}} Core sonu {{*/

/*! Kişiselleştirme */
/* Base
-----------------------------------------*/
[id=WgD] {
   font-family: &#39;Roboto&#39;, sans-serif; /* fuente */
   background: #FF416C; /* color de fondo */
   background: linear-gradient(to right, #FF4B2B, #FF416C); /* degradado */
}
.WgD-particles i {
   color: rgba(0, 0, 0, 0.2); /* color de partículas */
}
/* Animasyon
-----------------------------------------*/
.WgD-container {
   -webkit-animation: bounceIn 1s; /* animación */
           animation: bounceIn 1s; /* animación */
}
/* Cuerpo
-----------------------------------------*/
.WgD-container {
   padding: 3.2em; /* relleno */
   max-width: 450px; /* ancho */
   background-color: #fff; /* color de fondo */
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1); /* sombra */
   text-align: center; /* alineación del texto */
   line-height: 1.5; /* interlineado */
   border-radius: 10px; /* bordes redondeados */
   color: #37474F; /* color del texto */
}
.WgD-title {
   font-size: 1.6em; /* tamaño del título */
}
.WgD-text {
   font-size: 1.2em; /* tamaño del texto */
}
/* Boton Recargar
-----------------------------------------*/
.WgD-reload {
   box-shadow: rgba(0, 0, 0, .12) 0 3px 13px 1px; /* sombra */
   color: #fff;
   padding: 1em 1.5em; /* relleno */
   background: #f46b45; /* fondo */
   border-radius: 3px; /* bordes redondeados */
}
.WgD-reload:hover {
    color: #fff;
}
.WgD-close:hover {
    color: #464646;
}
/* Imagen
-----------------------------------------*/
.WgD-container img {
   max-height: 200px; /* altura máxima */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Por último agrega el aviso que se mostrará si tienes la extensión &lt;strong&gt;Adblock&lt;/strong&gt; activa, para ello, en la edición html de tu proyecto, busca &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; y arriba pega el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;
&amp;lt;div id=&quot;WgD&quot;&gt;
  &amp;lt;div class=&#39;WgD-position&#39;&gt;
    &amp;lt;div class=&#39;WgD-container&#39;&gt;
      &amp;lt;h3 class=&#39;WgD-title&#39;&gt;Titulo del aviso&amp;lt;/h3&gt;
      &amp;lt;p class=&#39;WgD-text&#39;&gt;Escribe tu mensaje&amp;lt;/p&gt;
      &amp;lt;a class=&#39;WgD-reload&#39; onclick=&quot;adBlockReload()&quot; href=&quot;#&quot;&gt;Recargar página&amp;lt;/a&gt;
      &amp;lt;a class=&#39;WgD-close&#39; href=&quot;#&quot; onclick=&quot;adBlockClose()&quot;&gt;&amp;lt;i class=&quot;wgd-times&quot;&gt;&amp;lt;/i&gt;&amp;lt;/a&gt;
    &amp;lt;/div&gt;
  &amp;lt;/div&gt;
  &amp;lt;div class=&#39;WgD-particles&#39;&gt;
    &amp;lt;i class=&quot;wgd-usd&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-eur&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-usd&quot;&gt;&amp;lt;/i&gt;
    &amp;lt;i class=&quot;wgd-eur&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-btc&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-usd&quot;&gt;&amp;lt;/i&gt;
    &amp;lt;i class=&quot;wgd-usd&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-eur&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-btc&quot;&gt;&amp;lt;/i&gt;
    &amp;lt;i class=&quot;wgd-usd&quot;&gt;&amp;lt;/i&gt;&amp;lt;i class=&quot;wgd-eur&quot;&gt;&amp;lt;/i&gt;
  &amp;lt;/div&gt;
&amp;lt;/div&gt;
&amp;lt;script&gt;//&amp;lt;![CDATA[
function adBlockReload(){return window.location.reload(),!1}
function adBlockClose(){document.getElementById(&quot;WgD&quot;).classList.remove(&quot;is-detected&quot;),document.body.classList.remove(&quot;ab-is-detected&quot;)}
function adBlockDetected(){document.getElementById(&quot;WgD&quot;).classList.add(&quot;is-detected&quot;),document.body.classList.add(&quot;ab-is-detected&quot;)}
if(&quot;undefined&quot;!=typeof fuckAdBlock||&quot;undefined&quot;!=typeof FuckAdBlock)adBlockDetected();else{var importFAB=document.createElement(&quot;script&quot;);importFAB.onload=function(){fuckAdBlock.onDetected(adBlockDetected),fuckAdBlock.onNotDetected(adBlockNotDetected)},importFAB.onerror=function(){adBlockDetected()},importFAB.integrity=&quot;sha256-xjwKUY/NgkPjZZBOtOxRYtK20GaqTwUCf7WYCJ1z69w=&quot;,importFAB.crossOrigin=&quot;anonymous&quot;,importFAB.src=&quot;https://cdnjs.cloudflare.com/ajax/libs/fuckadblock/3.2.1/fuckadblock.min.js&quot;,document.head.appendChild(importFAB)}
//]]&gt;&amp;lt;/script&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3&gt;Personalizar&lt;/h3&gt;

&lt;h4&gt;Botón cerrar&lt;/h4&gt;
&lt;p&gt;Por defecto el aviso contiene un &lt;strong&gt;botón &quot;cerrar&quot;&lt;/strong&gt; en la esquina superior derecha, si no quieres que el usuario pueda cerrar el aviso, busca el siguiente código y eliminalo:&lt;/p&gt;&lt;br&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;
&amp;lt;a class=&#39;WgD-close&#39; href=&quot;#&quot; onclick=&quot;adBlockClose()&quot;&gt;&amp;lt;i class=&quot;wgd-times&quot;&gt;&amp;lt;/i&gt;&amp;lt;/a&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;Fondo degradado&lt;/h4&gt;
&lt;p&gt;El degradado de fondo lo he generado gracias a &lt;a href=&quot;http://web.archive.org/web/20211022192312/https://uigradients.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;UI Gradients&lt;/a&gt;. Si deseas reemplazar el degradado de fondo por otro simplemente selecciona uno nuevo en &lt;strong&gt;UI Gradients&lt;/strong&gt; y reemplazalo en el siguiente código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
[id=WgD] {
   background: linear-gradient(to right, #FF4B2B, #FF416C); /* gradyan */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h4&gt;Imagen&lt;/h4&gt;
&lt;p&gt;He agregado estilos si existe la posibilidad de que desees &lt;strong&gt;agregar una imagen&lt;/strong&gt; para destacar el aviso, de esta forma podrás darle tu toque personal. Para ello busca este código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;
&amp;lt;div class=&#39;WgD-container&#39;&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Debajo del código anterior agrega una etiqueta imagen de esta forma:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;
&amp;lt;img src=&quot;render.png&quot;/&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Reemplaza &lt;code&gt;render.png&lt;/code&gt; por la imagen que desees. Guarda los cambios y listo.&lt;/p&gt;

&lt;h4&gt;Animate.css&lt;/h4&gt;
&lt;p&gt;Si deseas cambiar la animación ve a la &lt;a href=&quot;http://web.archive.org/web/20211022192312/https://daneden.github.io/animate.css/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;animate.css&lt;/a&gt; y copia el nombre de la animación que quieras utilizar, posteriormente cambialo en el siguiente código y guarda los cambios:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-css&quot;&gt;
/* Animasyon
-----------------------------------------*/
.WgD-container {
   -webkit-animation: bounceIn 1s; /* animasyon */
           animation: bounceIn 1s; /* animasyon */
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3&gt;Conclusión&lt;/h3&gt;
&lt;p&gt;Si te ha servido este aporte &lt;strong&gt;no olvides compartir&lt;/strong&gt;, ayudaras a mas personas y me ayudaria mucho tambien, por supuesto también lo agradecere mucho. Cualquier duda déjala en los &lt;strong&gt;comentarios&lt;/strong&gt;.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3601163781138521180/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2020/04/hafif-ve-ozellestirilebilir-anti-adblock.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3601163781138521180'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3601163781138521180'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2020/04/hafif-ve-ozellestirilebilir-anti-adblock.html' title='Hafif ve özelleştirilebilir anti-adblock'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitaeof9BqYr4E9qypat1Tzf0cwyNdB56GiSSSFWPZI1cc9qy_l2ptVzzwHawNcil7DlP5YehKNW7OyqzZrL7Acqpce4bU4UqDoymsVOARy1sMf8HreNGF2g_oh89_-xS-IXHqhy19HT_iXzTIdKo2XZHSCt6SHkGaEUrbbgax1bvZKKXeLvgfyukfbgNp-/s72-c/adblock-anti-engelleyici-bildirimi-vanilla-js-min.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-3866105078225683370</id><published>2020-04-27T08:46:00.000+03:00</published><updated>2023-10-18T22:46:03.426+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>Kaydırma çubuğunu özelleştirin</title><content type='html'>&lt;img alt=&quot;thumbnail&quot; class=&quot;none meta-thumbnail&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOCxV-aDJxKOxtT49MUwaVBunFO-EI9V_FzYxdb3eeDoyHwuIKs5-th9biDo_9ycpG8c7WJHrlQwKwAhaweoBITZCFNfqmx_1JMBwdKZCrxPMK4-ipewK-8C3VqjJXv-JEvD3zdgLgHEAeLPx1b6UpSxfHipk076E5870b_JyNTWdPMAL2O59PQ/s1600/personalizar-scrollbar-facil-custom-scrollbars-css-sass-chrome-firefox-min.png&quot; width=&quot;340&quot;&gt;
&lt;p class=&quot;none meta-description&quot;&gt;Gezinme çubuğu, herhangi bir uygulamada ortak bir öğedir ve bu makalede, görünümünü değiştirmenize yardımcı olacağım&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;personalizar barra de navegador fácil con css&quot; height=&quot;507&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid5zIo-KZGX8Lb7U5ucYTsJnHCepk0SaTHrpWqQtfwwquU9xJ6mDSYVCZUovvPj62Pf0HTJOSFW1MA6JfMwfc3WTT3_OsEydZLtFEHUs2m_HNJ8tr9Sn_7V6yokEg_AepJQvEPXDGy8J8ncCxK2iNSilq7pr98eeZykCGLHJldIDwfKPNXPidYNw/s1600/personalizar-scrollbar-facil-custom-scrollbars-css-sass-chrome-firefox.png&quot; width=&quot;900&quot;&gt;
&lt;/p&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;div class=&quot;flex flex-wrap g-.5 i-sm&quot;&gt;
&lt;a class=&quot;btn&quot; href=&quot;https://codepen.io/zkreations/pen/bZRgqd&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;svg class=&quot;i i-codepen&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;m12 2 10 6.5v7L12 22 2 15.5v-7zm0 20v-6.5m10-7-10 7-10-7m0 7 10-7 10 7M12 2v6.5&quot;&gt;&lt;/path&gt;&lt;/svg&gt;CodePen&#39;de görüntüle&lt;/a&gt;
&lt;/div&gt;
  
&lt;p&gt;Kaydırma çubuğu, herhangi bir uygulamada ortak bir öğedir ve bu makalede, özellikle bir geliştiriciyseniz ve projeleriniz için &lt;strong&gt;kaydırma çubuğunu nasıl kolayca değiştireceğinizi&lt;/strong&gt; arıyorsanız, görünümünü değiştirmenize yardımcı olacağım.&lt;/p&gt;
&lt;p&gt;Başlamadan önce, bu özelliğin yalnızca webkit tabanlı tarayıcılarda mümkün olduğunu bilmelisiniz; bununla birlikte, aynı şey olmasa da, inşa ettiğiniz her şeye yakın olan Firefox desteğini de içerir.&lt;/p&gt;
&lt;h2 id=&quot;duzenleme&quot;&gt;
  Düzenleme
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#duzenleme&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Aşağıdaki stilleri web sitenize ekleyin, örneğin WordPress kullanıyorsanız bunları &lt;code&gt;style.css&lt;/code&gt; dosyanıza eklemelisiniz, Blogger olması durumunda Şablon Tasarımcısından &lt;strong&gt;CSS Ekle&lt;/strong&gt; seçeneğini kullanın.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;body&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;-webkit-scrollbar&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;body&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;-webkit-scrollbar-track&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;track&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;body&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;-webkit-scrollbar-thumb&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;grey&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;background-image&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id=&quot;kisisellestir&quot;&gt;
  Kişiselleştir
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#kisisellestir&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Bu noktaya kadar çubuğun farklı bir stili olacak ama asıl ilginç olan şimdi onu &lt;strong&gt;değişkenlerle özelleştirebilmeniz&lt;/strong&gt;. İşte oluşturduklarımın tam listesi:&lt;/p&gt;

&lt;div class=&quot;ox-auto&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Değişken&lt;/th&gt;
&lt;th&gt;Varsayılan&lt;/th&gt;
&lt;th&gt;Açıklama&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-size&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10px&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Çubuk boyutu&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;pre&gt;&lt;i class=&quot;brackets&quot;&gt;null&lt;/i&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td&gt;Genel yuvarlak kenar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-track&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;transparent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Parça rengi (arka plan rengi)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-track-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;--scroll-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Yuvarlatılmış yol kenarı&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-thumb&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;none&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Gösterge arka planı (arka plan resmi)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-thumb-color&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;grey&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Gösterge rengi (arka plan rengi)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--scroll-thumb-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;--scroll-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Gösterge yuvarlak kenar&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Con estas variables puedes crear estilos de la barra principal. A continuación te proporciono algunos ejemplos, estos estilos son los mismos que puedes ver en la &lt;a href=&quot;https://codepen.io/zkreations/pen/bZRgqd&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;demostración en CodePen&lt;/a&gt;, solo copia el código que te guste (elige solo uno) y agrégalo a tus estilos:&lt;/p&gt;
&lt;h3 id=&quot;ornek-1&quot;&gt;
  Örnek 1
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-1&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#dfdfdf&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;ornek-2&quot;&gt;
  Örnek 2
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-2&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;ornek-3&quot;&gt;
  Örnek 3
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-3&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#fff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;ornek-4&quot;&gt;
  oÖrnek 4
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-4&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;linear-gradient&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;45&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;deg&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.25&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.25&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.25&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.25&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#f97316&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;ornek-5&quot;&gt;
  Örnek 5
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-5&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;linear-gradient&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;45&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;deg&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#00aeff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#a68eff&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;ornek-6&quot;&gt;
  Örnek 6
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#ornek-6&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;linear-gradient&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;rgba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;0.3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#10b981&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id=&quot;firefox-destegi&quot;&gt;
  Firefox desteği
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#firefox-destegi&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Los navegadores basados en webkit no presentaran ningún problema al leer los estilos, sin embargo &lt;strong&gt;Firefox es la excepción&lt;/strong&gt;. Si deseas incluirlo en la modificación, agrega el siguiente código:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nt&quot;&gt;html&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;body&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;scrollbar-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;grey&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;track&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;n&quot;&gt;scrollbar-width&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;thin&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;De esta manera parte de los estilos del scroll en otros navegadores, también los verás en Firefox, toma en cuenta que solo será el color del indicador y de la pista.&lt;/p&gt;
&lt;h2 id=&quot;mixin-para-sass&quot;&gt;
  Mixin para Sass
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#mixin-para-sass&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Si eres desarrollador y quieres incluir en tu proyecto la posibilidad de editar la barra de desplazamiento, he diseñado el siguiente mixin que puede ayudarte, solo debes incluir el siguiente código a tu proyecto:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-scss&quot; data-lang=&quot;scss&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;k&quot;&gt;@mixin&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt; scroll-style&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$size&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$thumb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;ni&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$thumb-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;no&quot;&gt;grey&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$thumb-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$track-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;ni&quot;&gt;transparent&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;$track-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;c1&quot;&gt;// Respaldo para Firefox
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;c1&quot;&gt;&lt;/span&gt;  &lt;span class=&quot;na&quot;&gt;scrollbar-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$thumb-color&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$track-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;na&quot;&gt;scrollbar-width&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;ni&quot;&gt;thin&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;c1&quot;&gt;// Navegadores basados en webkit
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;c1&quot;&gt;&lt;/span&gt;  &lt;span class=&quot;k&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;::-webkit-scrollbar&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;na&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;na&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;k&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;track&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;na&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$track-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;na&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$track-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;k&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;thumb&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;na&quot;&gt;background-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;na&quot;&gt;background-image&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;na&quot;&gt;border-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$thumb-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id=&quot;argumanlar&quot;&gt;
  Argümanlar
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#argumanlar&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;La siguiente tabla contiene información de los parámetros del mixin que puedes definir, y su valor por defecto en caso de que no lo hagas:&lt;/p&gt;
&lt;div class=&quot;ox-auto&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Argumento&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;Descripción&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$size&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10px&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Tamaño de la barra&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$thumb&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;none&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Fondo del indicador (background-image)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$thumb-color        &lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;grey&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Color del indicador (background-color)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$thumb-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10px&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Borde redondeado del indicador&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$track-color&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;transparent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Color de la pista (background-color)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;$track-radius&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;10px&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Borde redondeado de la pista&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;h3 id=&quot;incluir&quot;&gt;
  Incluir
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#incluir&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;Puedes llamar al mixin y reemplazar el valor de los argumentos por defecto (en caso de que asi lo requieras), por ejemplo si quieres modificar el scroll de todo el documento:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-scss&quot; data-lang=&quot;scss&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nd&quot;&gt;:root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;@include&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt; scroll-style&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$size&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$thumb-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#ccc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Si prefieres crear una utilidad que puedas aplicar fácilmente a cualquier elemento y que esta incluya personalización con variables, quizás te interese realizarlo de esta manera:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-scss&quot; data-lang=&quot;scss&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;nc&quot;&gt;.scroll&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;k&quot;&gt;@include&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt; scroll-style&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$size&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$thumb&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$thumb-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$thumb-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;thumb-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$track-color&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;track-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;      &lt;span class=&quot;nv&quot;&gt;$track-radius&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;ni&quot;&gt;scroll&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;track-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;    &lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Ahora solo debes definir las variables en tu archivo de configuración e incluir la clase de la utilidad a los elementos en donde se requiera:&lt;/p&gt;
&lt;div class=&quot;code&quot;&gt;
    &lt;div class=&quot;codetabs&quot;&gt;&lt;input id=&quot;tab-fedbac&quot; type=&quot;radio&quot; name=&quot;6844c4dcfbb8dccc5ed2fcc51afade84&quot; checked=&quot;checked&quot;&gt;
        &lt;label for=&quot;tab-fedbac&quot;&gt;HTML&lt;/label&gt;
        &lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-html&quot; data-lang=&quot;html&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;scroll&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;input id=&quot;tab-cdefba&quot; type=&quot;radio&quot; name=&quot;6844c4dcfbb8dccc5ed2fcc51afade84&quot;&gt;
        &lt;label for=&quot;tab-cdefba&quot;&gt;CSS&lt;/label&gt;
        &lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot; class=&quot;chroma&quot;&gt;&lt;code class=&quot;language-css&quot; data-lang=&quot;css&quot;&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;root&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-radius&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;px&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-thumb-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;#464646&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;  &lt;span class=&quot;nv&quot;&gt;--scroll-track-color&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;transparent&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;line&quot;&gt;&lt;span class=&quot;cl&quot;&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Elbette önerileriniz, düzeltmeleriniz varsa veya sadece nasıl yaptığınızı paylaşmak istiyorsanız, yorum bırakın. Mesajlarınızı okumaktan memnuniyet duyarım.&lt;/p&gt;
&lt;h2 id=&quot;cozum&quot;&gt;
  Çözüm
  &lt;a class=&quot;anchor&quot; aria-label=&quot;Anchor&quot; href=&quot;#cozum&quot;&gt;
    &lt;svg class=&quot;i i-chain&quot; viewBox=&quot;0 0 24 24&quot;&gt;
      &lt;path d=&quot;M14 7h3a1 1 0 0 1 0 10h-3m-4 0H7A1 1 0 0 1 7 7h3m-2 5h8&quot;&gt;&lt;/path&gt;
    &lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Kişisel olarak bu çubuğu değiştirme taraftarı olmasam da, web sitenize biraz daha kişilik kazandırmak veya bazı öğelerin tasarımını daha iyi entegre etmek çok yararlı olabilir.&lt;/p&gt;
&lt;p&gt;Bu makale sizin için yararlı olduysa, paylaşmayı ve yorum olarak bırakabileceğiniz tüm soruları unutmayın, herkese cevap veriyorum. Okuduğunuz için teşekkürler.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/3866105078225683370/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2022/11/kaydirma-cubugunu-ozellestirin.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3866105078225683370'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/3866105078225683370'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2022/11/kaydirma-cubugunu-ozellestirin.html' title='Kaydırma çubuğunu özelleştirin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkOCxV-aDJxKOxtT49MUwaVBunFO-EI9V_FzYxdb3eeDoyHwuIKs5-th9biDo_9ycpG8c7WJHrlQwKwAhaweoBITZCFNfqmx_1JMBwdKZCrxPMK4-ipewK-8C3VqjJXv-JEvD3zdgLgHEAeLPx1b6UpSxfHipk076E5870b_JyNTWdPMAL2O59PQ/s72-c/personalizar-scrollbar-facil-custom-scrollbars-css-sass-chrome-firefox-min.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-4914543580674706777</id><published>2020-04-21T01:27:00.002+03:00</published><updated>2023-10-20T01:00:31.845+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Blogger meta açıklaması nasıl etkinleştirilir</title><content type='html'>&lt;img alt=&quot;Blogger meta açıklaması nasıl etkinleştirilir&quot; class=&quot;none&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-q8aXRVYtgvA3EUxFajEwgsn2cEcdyLacy5SjwcZc8PJkVsFRh6rdpiOlmeq3sD2gwI4R6i3xau-gTHniIkLPJE7NumAE0ufhY3uLgA7vokj4F12_ucB8_7QH7ULkroTO3CPai72o/s1600/meta-descripcion-blogger-porque-activarla-min.jpg&quot;/&gt;

&lt;img alt=&quot;Meta açıklama etiketini etkinleştir&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS9SBrxMJ_egrUwXR8PuJtW6_-tD-WjlpWUZ9CjhBkC7VaR7pTgqr5TWRkIVyv58c4HAdXwoPwFcqU5hfEEuQuiPbqdWdzrlsFR_6DfFV-ht-Z-UeGIVkNgk0lLA-Th7GhMMdzIsPQ/s1600/meta-descripcion-blogger-porque-activarla.jpg&quot;/&gt;

&lt;p&gt;&lt;strong&gt;Meta açıklama&lt;/strong&gt; etiketi, ziyaret edilen sayfanın içeriği hakkında bilgi sağlar ve esas olarak &lt;strong&gt;arama motorları tarafından arama dizininde görünen metin snippet&#39;ını yazmak için kullanılır&lt;/strong&gt;.&lt;/p&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;

&lt;h2 id=&quot;sozdizimi&quot;&gt;Sözdizimi&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Meta açıklamaları&lt;/strong&gt;, o sayfanın içeriğinin kısa bir açıklamasını sağlayan bir HTML öğesidir. Ziyaretçiler bunu doğrudan göremese de Google gibi arama motorları bunu arama sonuçlarında kullanır. Etiket şu şekilde görünür:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;meta content=&amp;quot;&lt;span class=&quot;brackets&quot;&gt;to_descripcion&lt;/span&gt;&amp;quot; name=&amp;#039;description&amp;#039;/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Blogger, yönetim panelinden her yazı için ayrı bir &lt;strong&gt;meta açıklama&lt;/strong&gt; etiketi yapılandırmamıza izin verir. Varsayılan olarak devre dışıdır, etkinleştirmek için aşağıdaki adımları izleyin.&lt;/p&gt;

&lt;ul&gt;
   &lt;li&gt;&lt;strong&gt;Blogger yönetim panelinize&lt;/strong&gt; gidin &gt; Ayarlar&lt;/li&gt;
   &lt;li&gt;&quot;&lt;strong&gt;Meta etiketler&lt;/strong&gt;&quot; bölümünü bulun&lt;/li&gt;
   &lt;li&gt;Açmak için &quot;&lt;strong&gt;Arama açıklamasını etkinleştir&lt;/strong&gt;&quot; üzerine tıklayın&lt;/li&gt;
   &lt;li&gt;Blogunuzun kısa bir açıklamasını yazın&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bu noktada elimizde şöyle bir şey olacak:&lt;/p&gt;

&lt;img alt=&quot;meta-descripcion&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvTU6N8oN-Hm4pmYup4MP5jrv21ZyqYHws4gRlN13k3I_teJNVvDQjYIqBchLslHnY4jlxKJzChWykBNI_Y9wuoen9PnyFRSBe6Taax-lx_1yX8DMkjjZ3YsolXGkuludCIRCienZy/s1600/habilitar-descripcion-nuevo-escritorio-blogger.png&quot;/&gt;

&lt;p&gt;Artık editörde &quot;&lt;strong&gt;Arama açıklaması&lt;/strong&gt;&quot; seçeneğini bulacaksınız. Ayarlarda eklediğiniz açıklama, blogunuz arama motorlarında sorgulandığında görüntülenecek metin parçacığına karşılık gelir:&lt;/p&gt;

&lt;img border=&quot;google-busqueda-tr25&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW-Zy6oqadvjUW90heOGHm2MgNhBLAy9RFDdURlsejq7s_y77sE7DvBARrVc5z-Hm9a7Y6X_mxRFmqlWx0KMUINIkXftuVZAcbLFjWI-LK7HumhLXWUZSEJdmcRwipxKdMuPVyPufG/s1600/cambiar-meta-descripcion-google-blogger-2020.png&quot;/&gt;

&lt;h2 id=&quot;aciklama-duzeltme&quot;&gt;Açıklama çalışmıyor&lt;/h2&gt;
&lt;p&gt;Eğer bir &lt;strong&gt;zkreations şablonu&lt;/strong&gt; kullanıyorsanız bunu etkinleştirmeniz yeterli olacaktır, eğer kullandığınız şablon başka bir tasarımcıya ait ise etiket xml&#39;de olmayabilir, bunu çözmek için &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; altına aşağıdaki kodu ekleyin:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;!-- Açıklama --&amp;gt;
&amp;lt;meta expr:content=&#39;data:view.description&#39; property=&#39;og:description&#39;/&amp;gt;
&amp;lt;meta expr:content=&#39;data:view.description&#39; name=&#39;description&#39;/&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h2 id=&quot;aciklama-optimize&quot;&gt;Meta açıklamayı optimize edin&lt;/h2&gt;
&lt;p&gt;Bu etiketin önemi, &lt;strong&gt;kullanıcının dikkatini çekmektir&lt;/strong&gt;. Aşağıdaki noktalar iyi bir açıklama yazmanıza yardımcı olabilir::&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;İlgi Çekici &amp;#8211;&lt;/strong&gt; Kullanıcının okumaya devam etmek için tıklama ihtiyacı hissetmesini sağlayın.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Öne çıkın &amp;#8211;&lt;/strong&gt; Girişiniz çok yaygın bir konuyu ele alıyorsa, diğerlerinin arasından sıyrılmaya çalışın.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Anahtar kelimeler kullanın &amp;#8211;&lt;/strong&gt; Bir veya iki anahtar kelime kullanmanızda sakınca yoktur, ancak aşırıya kaçarsanız arama motorları sizi web spam olarak işaretleyebilir.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tekrarlayıcı olmayın &amp;#8211;&lt;/strong&gt; Tüm yayınlarınızda aynı açıklamayı kullanmaya karar verirseniz, arama motorları sizi &lt;strong&gt;yinelenen içerik veya spam&lt;/strong&gt; olarak işaretleyebilir, bunun yerine makalenizden &lt;strong&gt;en alakalı metin parçacığını&lt;/strong&gt; kopyalayabilirsiniz.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hepsi bu kadar, umarım bu yazı yardımcı size olmuştur. Herhangi bir sorunuz varsa yorumlara yazın ve yararlı bulduysanız bu makaleyi sosyal ağlarınızda &lt;strong&gt;paylaşmayı unutmayın&lt;/strong&gt;.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/4914543580674706777/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2023/08/blogger-meta-aciklamasi-nasil-etkinlestirilir.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4914543580674706777'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/4914543580674706777'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2023/08/blogger-meta-aciklamasi-nasil-etkinlestirilir.html' title='Blogger meta açıklaması nasıl etkinleştirilir'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-q8aXRVYtgvA3EUxFajEwgsn2cEcdyLacy5SjwcZc8PJkVsFRh6rdpiOlmeq3sD2gwI4R6i3xau-gTHniIkLPJE7NumAE0ufhY3uLgA7vokj4F12_ucB8_7QH7ULkroTO3CPai72o/s72-c/meta-descripcion-blogger-porque-activarla-min.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3949218548793448390.post-7435749147656928628</id><published>2020-04-18T23:41:00.057+03:00</published><updated>2023-10-21T23:58:13.414+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blogger"/><title type='text'>Bir düğme kullanarak Disqus&#39;u yükleyin</title><content type='html'>&lt;img alt=&quot;disqus yüklemesini optimize edin&quot; class=&quot;none&quot; src=&quot;http://web.archive.org/web/20210126022327im_/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizUkSMqDgkocsbV14FweBAP_MhjoLNB4Bumndfr1g6TCm_CWNIMS1gdML1UyWDRifNUPeh6bqqunxi31tM_vywmYFULwaB_2vzIkQDZT1D-F_3BBQnr5n_6kCeeme83o6ZE5utnSsc/s1600/cargar-disqus-con-un-boton-load-disqus-button-async-optimizar-disqus-min.png&quot;/&gt;

&lt;img alt=&quot;disqus yorumlarını tek bir kolay düğmeyle yükleyin&quot; src=&quot;http://web.archive.org/web/20210126022327im_/https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGvuXNJAUQLZoJIYHtnreAz_6knxxK3m-1CrISDjQIw9HrVZMCx2YdwYnn-Ubcx-u-tsHx8EUei72-HwqA_VEklXSh4WiyDP9EBfNZcAXMzl3_TC08PHhPf4A4H0VJk49vLBqnq0A3/s1600/cargar-disqus-con-un-boton-load-disqus-button-async-optimizar-disqus.png&quot;/&gt;

&lt;p&gt;Disqus es una gran herramienta que nos brinda &lt;strong&gt;mayor control sobre los comentarios&lt;/strong&gt; de nuestro sitio, además de ser independiente del mismo, ya &lt;a href=&quot;http://web.archive.org/web/20210126022327/https://www.zkreations.com/2017/05/disqus-consejos-trucos-blogger.html&quot;&gt;he hablado de disqus&lt;/a&gt; en otra ocasión, pero hoy vamos a aprender a &lt;strong&gt;cargar comentarios mediante un boton&lt;/strong&gt;.&lt;/p&gt;
  
&lt;!--&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;--&gt;

&lt;h3&gt;Modificar Javascript&lt;/h3&gt;

&lt;p&gt;Antes de comenzar, en este tutorial doy por hecho que ya tienes &lt;strong&gt;disqus instalado en tu blog&lt;/strong&gt; o bien estás usando una &lt;a href=&quot;http://web.archive.org/web/20210126022327/https://shop.zkreations.com/&quot; target=&quot;_blank&quot;&gt;plantilla de zkreations&lt;/a&gt;, mis plantillas ya tienen disqus instalado, por lo que buscamos el código javascript de disqus, el cual es similar a este:&lt;/p&gt;

&lt;code class=&quot;code&quot;&gt;
&lt;pre class=&quot;hljs javascript&quot;&gt;
&lt;span class=&quot;hljs-keyword&quot;&gt;var&lt;/span&gt; disqus_shortname = &lt;span class=&quot;hljs-string&quot;&gt;&quot;Shortname&quot;&lt;/span&gt;,
    disqus_config = &lt;span class=&quot;hljs-function&quot;&gt;&lt;span class=&quot;hljs-keyword&quot;&gt;function&lt;/span&gt;(&lt;span class=&quot;hljs-params&quot;&gt;&lt;/span&gt;) &lt;/span&gt;{
        &lt;span class=&quot;hljs-keyword&quot;&gt;this&lt;/span&gt;.page.url = &lt;span class=&quot;hljs-string&quot;&gt;&quot;Page_URL&quot;&lt;/span&gt;;
    };
(&lt;span class=&quot;hljs-function&quot;&gt;&lt;span class=&quot;hljs-keyword&quot;&gt;function&lt;/span&gt;(&lt;span class=&quot;hljs-params&quot;&gt;&lt;/span&gt;) &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot;&gt;var&lt;/span&gt; d = &lt;span class=&quot;hljs-built_in&quot;&gt;document&lt;/span&gt;,
        s = d.createElement(&lt;span class=&quot;hljs-string&quot;&gt;&#39;script&#39;&lt;/span&gt;);
    s.async = &lt;span class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;;
    s.src = &lt;span class=&quot;hljs-string&quot;&gt;&#39;//&#39;&lt;/span&gt; + disqus_shortname + &lt;span class=&quot;hljs-string&quot;&gt;&#39;.disqus.com/embed.js&#39;&lt;/span&gt;;
    s.setAttribute(&lt;span class=&quot;hljs-string&quot;&gt;&#39;data-timestamp&#39;&lt;/span&gt;, +&lt;span class=&quot;hljs-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;hljs-built_in&quot;&gt;Date&lt;/span&gt;());
    (d.head || d.body).appendChild(s);
})();
&lt;/pre&gt;&lt;/code&gt;

&lt;p&gt;El código anterior solo es una referencia, no importa cómo sea el &lt;strong&gt;código de disqus&lt;/strong&gt; que tengas instalado, &lt;strong&gt;selecciónalo todo y reemplázalo&lt;/strong&gt; por lo siguiente:&lt;/p&gt;

&lt;code class=&quot;code&quot;&gt;
&lt;pre class=&quot;hljs javascript&quot;&gt;
&lt;span class=&quot;hljs-keyword&quot;&gt;var&lt;/span&gt; disqus_loaded = &lt;span class=&quot;hljs-literal&quot;&gt;false&lt;/span&gt;,
    disqus_loadBtn = &lt;span class=&quot;hljs-built_in&quot;&gt;document&lt;/span&gt;.getElementById(&lt;span class=&quot;hljs-string&quot;&gt;&quot;disqus_loadBtn&quot;&lt;/span&gt;),
    disqus_shortname = &lt;span class=&quot;hljs-string&quot;&gt;&quot;&lt;/span&gt;&lt;mark&gt;&lt;span class=&quot;hljs-string&quot;&gt;Shortname&lt;/span&gt;&lt;/mark&gt;&lt;span class=&quot;hljs-string&quot;&gt;&quot;&lt;/span&gt;,
    disqus_config = &lt;span class=&quot;hljs-function&quot;&gt;&lt;span class=&quot;hljs-keyword&quot;&gt;function&lt;/span&gt;(&lt;span class=&quot;hljs-params&quot;&gt;&lt;/span&gt;) &lt;/span&gt;{
        &lt;span class=&quot;hljs-keyword&quot;&gt;this&lt;/span&gt;.page.url = &lt;span class=&quot;hljs-string&quot;&gt;&quot;&lt;/span&gt;&lt;mark&gt;&lt;span class=&quot;hljs-string&quot;&gt;Page_URL&lt;/span&gt;&lt;/mark&gt;&lt;span class=&quot;hljs-string&quot;&gt;&quot;&lt;/span&gt;;
    };&lt;span class=&quot;hljs-comment&quot;&gt;//&amp;lt;![CDATA[&lt;/span&gt;
&lt;span class=&quot;hljs-function&quot;&gt;&lt;span class=&quot;hljs-keyword&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;hljs-title&quot;&gt;loadDisqus&lt;/span&gt;(&lt;span class=&quot;hljs-params&quot;&gt;&lt;/span&gt;) &lt;/span&gt;{
    &lt;span class=&quot;hljs-keyword&quot;&gt;if&lt;/span&gt; (!disqus_loaded) {
        disqus_loaded = &lt;span class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;;
        disqus_loadBtn.classList.add(&lt;span class=&quot;hljs-string&quot;&gt;&quot;disqus_loaded&quot;&lt;/span&gt;);
        &lt;span class=&quot;hljs-keyword&quot;&gt;var&lt;/span&gt; d = &lt;span class=&quot;hljs-built_in&quot;&gt;document&lt;/span&gt;,
            s = d.createElement(&lt;span class=&quot;hljs-string&quot;&gt;&#39;script&#39;&lt;/span&gt;);
        s.async = &lt;span class=&quot;hljs-literal&quot;&gt;true&lt;/span&gt;;
        s.src = &lt;span class=&quot;hljs-string&quot;&gt;&#39;//&#39;&lt;/span&gt; + disqus_shortname + &lt;span class=&quot;hljs-string&quot;&gt;&#39;.disqus.com/embed.js&#39;&lt;/span&gt;;
        s.setAttribute(&lt;span class=&quot;hljs-string&quot;&gt;&#39;data-timestamp&#39;&lt;/span&gt;, +&lt;span class=&quot;hljs-keyword&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;hljs-built_in&quot;&gt;Date&lt;/span&gt;());
        (d.head || d.body).appendChild(s);
    }
}
disqus_loadBtn.onclick = &lt;span class=&quot;hljs-function&quot;&gt;&lt;span class=&quot;hljs-keyword&quot;&gt;function&lt;/span&gt;(&lt;span class=&quot;hljs-params&quot;&gt;&lt;/span&gt;) &lt;/span&gt;{
    loadDisqus();
    &lt;span class=&quot;hljs-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;hljs-literal&quot;&gt;false&lt;/span&gt;;
};&lt;span class=&quot;hljs-comment&quot;&gt;//]]&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/code&gt;

&lt;p&gt;Del código reemplazamos &lt;code&gt;Shortname&lt;/code&gt; por tu nombre corto de Disqus. Si usas una &lt;strong&gt;plantilla de zkreations&lt;/strong&gt; cambia &lt;code&gt;Shortname&lt;/code&gt; por &lt;code&gt;&amp;lt;data:skin.vars.config_shortname/&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Por último &lt;code&gt;Page_URL&lt;/code&gt; lo reemplazamos por la &lt;strong&gt;url canónica&lt;/strong&gt; del sitio, si estás usando este codigo en Blogger, escribe &lt;code&gt;&amp;lt;data:view.url.canonical/&amp;gt;&lt;/code&gt; y guarda los cambios.&lt;/p&gt;

&lt;h3&gt;Agregar CSS&lt;/h3&gt;

&lt;p&gt;El &lt;strong&gt;codigo CSS&lt;/strong&gt; le dará estilos al botón, para ello ve a &lt;strong&gt;Temas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Personalizar &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Opciones avanzadas &lt;i class=&quot;fas fa-angle-right&quot;&gt;&lt;/i&gt; Agregar CSS&lt;/strong&gt; y pega lo siguiente:&lt;/p&gt;

&lt;code class=&quot;code&quot;&gt;
&lt;pre class=&quot;css hljs&quot;&gt;
&lt;span class=&quot;hljs-comment&quot;&gt;/*!
 * Disqus click v2.0.0
 * Copyright 2020 zkreations
 * Developed Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT
 */&lt;/span&gt;
&lt;span class=&quot;hljs-comment&quot;&gt;/*! Core (No modificar) {{*/&lt;/span&gt;
&lt;span class=&quot;hljs-selector-class&quot;&gt;.disqus_loadBtn&lt;/span&gt;,
&lt;span class=&quot;hljs-selector-class&quot;&gt;.disqus_loadImg&lt;/span&gt; {
   &lt;span class=&quot;hljs-attribute&quot;&gt;background&lt;/span&gt;: none;
   &lt;span class=&quot;hljs-attribute&quot;&gt;padding&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;0&lt;/span&gt;;
   &lt;span class=&quot;hljs-attribute&quot;&gt;margin&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;0&lt;/span&gt;;
   &lt;span class=&quot;hljs-attribute&quot;&gt;border&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;0&lt;/span&gt;;
   &lt;span class=&quot;hljs-attribute&quot;&gt;outline&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;0&lt;/span&gt;;
   &lt;span class=&quot;hljs-attribute&quot;&gt;box-shadow&lt;/span&gt;: none;
}
&lt;span class=&quot;hljs-comment&quot;&gt;/*}} Fin del core */&lt;/span&gt;

&lt;span class=&quot;hljs-comment&quot;&gt;/*! Personalización */&lt;/span&gt;
&lt;span class=&quot;hljs-selector-class&quot;&gt;.disqus_loadBtn&lt;/span&gt; {
    &lt;span class=&quot;hljs-attribute&quot;&gt;padding&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;1rem&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* relleno */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;display&lt;/span&gt;: block; &lt;span class=&quot;hljs-comment&quot;&gt;/* mostrar como bloque */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;width&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;100%&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* ancho del boton */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;background-color&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;#f1f1f1&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* color del fondo */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;color&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;#464646&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* color del texto */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;font-size&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;14px&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* tamaño de fuente */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;font-weight&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;500&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* densidad del texto */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;border-radius&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;3px&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* bordes redondeados */&lt;/span&gt;
}
&lt;span class=&quot;hljs-selector-class&quot;&gt;.disqus_loadBtn&lt;/span&gt;&lt;span class=&quot;hljs-selector-pseudo&quot;&gt;:hover&lt;/span&gt; {
    &lt;span class=&quot;hljs-attribute&quot;&gt;background-color&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;#eeeeee&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* color del fondo (hover) */&lt;/span&gt;
    &lt;span class=&quot;hljs-attribute&quot;&gt;color&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot;&gt;#212121&lt;/span&gt;; &lt;span class=&quot;hljs-comment&quot;&gt;/* color del texto (hover) */&lt;/span&gt;
}
&lt;/pre&gt;&lt;/code&gt;

&lt;h3 id=&quot;html-button&quot;&gt;Usar botón&lt;/h3&gt;
&lt;p&gt;Disqus yorumlarına ait olan aşağıdaki HTML kodunu arayın:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;div id=&#39;disqus_thread&#39;&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Bu kodun hemen altına aşağıdakileri ekledik:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;button class=&#39;disqus_loadBtn&#39; id=&#39;disqus_loadBtn&#39;&gt;Cargar comentarios&amp;lt;/button&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;h3 id=&quot;html-img&quot;&gt;Usar imagen&lt;/h3&gt;
&lt;p&gt;Si prefieres usar una imagen en lugar de un &lt;strong&gt;botón para cargar los comentarios&lt;/strong&gt;, entonces utiliza este código:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;button class=&#39;disqus_loadImg&#39; id=&#39;disqus_loadBtn&#39;&gt;
   &amp;lt;img src=&#39;url_imagen.jpg&#39;/&gt;
&amp;lt;/button&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Reemplaza &lt;code&gt;&lt;span class=&quot;brackets&quot;&gt;url_imagen.jpg&lt;/span&gt;&lt;/code&gt; por el enlace de la imagen que deseas utilizar. Guarda los cambios y listo.&lt;/p&gt;

&lt;p&gt;Si te ha sido de utilidad no olvides &lt;strong&gt;compartir este articulo&lt;/strong&gt;, siempre lo aprecio mucho. Si tienes dudas déjala en los comentarios, respondo a todos.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://tr25.blogspot.com/feeds/7435749147656928628/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='https://tr25.blogspot.com/2020/04/bir-dugme-kullanarak-disqus-yukleyin.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7435749147656928628'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3949218548793448390/posts/default/7435749147656928628'/><link rel='alternate' type='text/html' href='https://tr25.blogspot.com/2020/04/bir-dugme-kullanarak-disqus-yukleyin.html' title='Bir düğme kullanarak Disqus&#39;u yükleyin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>