tag on yout theme's header.php
Read the detailed step-by-step at https://humbertosilva.com/visual-composer-infinite-image-carousel/
*/
// auxiliary code to create triggers for the add and remove class for later use
(function($){
$.each(["addClass","removeClass"],function(i,methodname){
var oldmethod = $.fn[methodname];
$.fn[methodname] = function(){
oldmethod.apply( this, arguments );
this.trigger(methodname+"change");
return this;
}
});
})(jQuery);
// main function for the infinite loop
function vc_custominfiniteloop_init(vc_cil_element_id){
var vc_element = '#' + vc_cil_element_id; // because we're using this more than once let's create a variable for it
window.maxItens = jQuery(vc_element).data('per-view'); // max visible items defined
window.addedItens = 0; // auxiliary counter for added itens to the end
// go to slides and duplicate them to the end to fill space
jQuery(vc_element).find('.vc_carousel-slideline-inner').find('.vc_item').each(function(){
// we only need to duplicate the first visible images
if (window.addedItens < window.maxItens) {
if (window.addedItens == 0 ) {
// the fisrt added slide will need a trigger so we know it ended and make it "restart" without animation
jQuery(this).clone().addClass('vc_custominfiniteloop_restart').removeClass('vc_active').appendTo(jQuery(this).parent());
} else {
jQuery(this).clone().removeClass('vc_active').appendTo(jQuery(this).parent());
}
window.addedItens++;
}
});
// add the trigger so we know when to "restart" the animation without the knowing about it
jQuery('.vc_custominfiniteloop_restart').bind('addClasschange', null, function(){
// navigate to the carousel element , I know, its ugly ...
var vc_carousel = jQuery(this).parent().parent().parent().parent();
// first we temporarily change the animation speed to zero
jQuery(vc_carousel).data('vc.carousel').transition_speed = 0;
// make the slider go to the first slide without animation and because the fist set of images shown
// are the same that are being shown now the slider is now "restarted" without that being visible
jQuery(vc_carousel).data('vc.carousel').to(0);
// allow the carousel to go to the first image and restore the original speed
setTimeout("vc_cil_restore_transition_speed('"+jQuery(vc_carousel).prop('id')+"')",100);
});
}
// restore original speed setting of vc_carousel
function vc_cil_restore_transition_speed(element_id){
// after inspecting the original source code the value of 600 is defined there so we put back the original here
jQuery('#' + element_id).data('vc.carousel').transition_speed = 600;
}
// init
jQuery(document).ready(function(){
// find all vc_carousel with the defined class and turn them into infine loop
jQuery('.vc_custominfiniteloop').find('div[data-ride="vc_carousel"]').each(function(){
// allow time for the slider to be built on the page
// because the slider is "long" we can wait a bit before adding images and events needed
var vc_cil_element = jQuery(this).prop("id");
if (window.innerWidth <= 480) {
// jQuery(vc_element).attr('data-per-view',1);
jQuery('.vc_item').each(function(){
this.style.width = '25%'
this.style.height = 'auto'
})
} else {
setTimeout("vc_custominfiniteloop_init('"+vc_cil_element+"')",2000);
}
});
});
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TZHJ474');
var interval1 = setInterval(function(){
//console.log('ou no interval');
jQuery('.box-news .vc_gitem-zone-a').each(function() {
if((!jQuery(this).css('background-image').includes('vc_gitem_image'))) {
jQuery(this).css('background-image','none')
}
})
jQuery('.box-news .vc_gitem-zone-a a').each(function() {
jQuery(this).attr('data-hover','Leia mais')
})
}, 1000);
setTimeout(function() {
clearInterval(interval1);
},5000);
@font-face {
font-family: "FontAwesome";
src: url("/local/fonts/fa-brands-400.eot"),
url("/local/fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"),
url("/local/fonts/fa-brands-400.woff2") format("woff2"),
url("/local/fonts/fa-brands-400.woff") format("woff"),
url("/local/fonts/fa-brands-400.ttf") format("truetype"),
url("/local/fonts/fa-brands-400.svg#fontawesome") format("svg");
}
@font-face {
font-family: "FontAwesome";
src: url("/local/fonts/fa-solid-900.eot"),
url("/local/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),
url("/local/fonts/fa-solid-900.woff2") format("woff2"),
url("/local/fonts/fa-solid-900.woff") format("woff"),
url("/local/fonts/fa-solid-900.ttf") format("truetype"),
url("/local/fonts/fa-solid-900.svg#fontawesome") format("svg");
}
@font-face {
font-family: "FontAwesome";
src: url("/local/fonts/fa-regular-400.eot"),
url("/local/fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"),
url("/local/fonts/fa-regular-400.woff2") format("woff2"),
url("/local/fonts/fa-regular-400.woff") format("woff"),
url("/local/fonts/fa-regular-400.ttf") format("truetype"),
url("/local/fonts/fa-regular-400.svg#fontawesome") format("svg");
unicode-range: U+F004-F005,U+F007,U+F017,U+F022,U+F024,U+F02E,U+F03E,U+F044,U+F057-F059,U+F06E,U+F070,U+F075,U+F07B-F07C,U+F080,U+F086,U+F089,U+F094,U+F09D,U+F0A0,U+F0A4-F0A7,U+F0C5,U+F0C7-F0C8,U+F0E0,U+F0EB,U+F0F3,U+F0F8,U+F0FE,U+F111,U+F118-F11A,U+F11C,U+F133,U+F144,U+F146,U+F14A,U+F14D-F14E,U+F150-F152,U+F15B-F15C,U+F164-F165,U+F185-F186,U+F191-F192,U+F1AD,U+F1C1-F1C9,U+F1CD,U+F1D8,U+F1E3,U+F1EA,U+F1F6,U+F1F9,U+F20A,U+F247-F249,U+F24D,U+F254-F25B,U+F25D,U+F267,U+F271-F274,U+F279,U+F28B,U+F28D,U+F2B5-F2B6,U+F2B9,U+F2BB,U+F2BD,U+F2C1-F2C2,U+F2D0,U+F2D2,U+F2DC,U+F2ED,U+F328,U+F358-F35B,U+F3A5,U+F3D1,U+F410,U+F4AD;
}
jQuery(document).ready(function(){
jQuery('.single-item').slick({
centerMode: true,
centerPadding: '60px',
slidesToShow: 5,
variableWidth: true,
autoplay: true,
autoplaySpeed: 2000,
responsive: [
{
breakpoint: 768,
settings: {
arrows: false,
centerMode: true,
centerPadding: '40px',
slidesToShow: 3
}
},
{
breakpoint: 520,
settings: {
arrows: false,
centerMode: true,
centerPadding: '40px',
slidesToShow: 1
}
}
]
});
});
.single-item img {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
.single-item img:hover {
-webkit-filter: grayscale(0);
filter: grayscale(0);
}
422n14
Título Life history diversity among six species of canopy lianas in an old-growth forest of the eastern Brazilian Amazon. Autor Jeffrey J Gerwing Ano de publicação 2004 DOI https://doi.org/10.1016/j.foreco.2003.10.006 Gerwing, J. 2004. Life history diversity among six species of canopy lianas in an old-growth forest of the eastern Brazilian Amazon. Forest Ecology and Management, 190(1),
Otimização da Localização da Infra-estrutura de Exploração de Impacto Reduzido na Floresta Amazônica 3j655u
Título Otimização da Localização da Infra-estrutura de Exploração de Impacto Reduzido na Floresta Amazônica Autores Denis Ribeiro do Valle José Vicente Caixeta Filho Edson Vidal James Grogan Local de publicação Anais do 4º Congresso Internacional de Economia e Gestão de Redes Agroalimentares Cidade São Paulo Ano de publicação 2003 Valle, D. R. do, Caixeta
Brazil´s bold initiative in the Amazon: a proposed new system of forest concessions in the Brazilian Amazon would reshape the logging industry there 47j36
Título BRAZIL´S BOLD INITIATIVE IN THE AMAZON: A PROPOSED NEW SYSTEM OF FOREST CONCESSIONS IN THE BRAZILIAN AMAZON WOULD RESHAPE THE LOGGING INDUSTRY THERE. Autores Adalberto Veríssimo Mark A. Cochrane Meio de publicação Tropical Forest Update Ano de publicação 2003 Veríssimo, A., & Cochrane, M. 2003. Brazil´s bold initiative in the Amazon: a proposed
Mapping forest degradation in the eastern Amazon from SPOT 4 through spectral mixture models 6j5m6l
Título Mapping forest degradation in the eastern Amazon from SPOT 4 through spectral mixture models Autores Carlos Souza Jr. Laurel Firestone Luciano Moreira Silva Dar Roberts Ano de publicação 2003 DOI https://doi.org/10.1016/j.rse.2002.08.002 Souza Jr, C., Firestone, L., Silva, L. M., & Roberts, D. 2003. Mapping forest degradation in the Eastern Amazon from SPOT 4 through
Exploração Madeireira na Amazônia: é possível monitorar por satélite? 3w252v
Souza Jr., C., Barreto, P., & Monteiro, A. L. 2003. Exploração Madeireira na Amazônia: é possível monitorar por satélite? Revista Ciência Hoje, 197, 62-65.
Regeneration of big-leaf mahogany in closed and logged forests of southeastern Pará, Brazil. 1f2va
Título Regeneration of Big-Leaf Mahogany in Closed and Logged Forests of Southeastern Pará, Brazil Autores James Grogan (a) Jurandir Galvão (a) Luciana Simões Adalberto VerÍssimo (a) Vinculação dos autores (a) Instituto do Homem e Meio Ambiente da Amazônia (Imazon) – Belém (PA), Brasil Ano de publicação 2003 Meio de publicação Big-Leaf Mahogany: Genetics, Ecology, and
Título A risky forest policy in the Amazon? Autores Frank D. Merry Gregory S. Amacher Eirivelthon Lima Daniel C. Nepstad Ano de publicação 2003 DOI https://doi.org/10.1126/science.299.5614.1843b Veríssimo, A., & Cochrane, M. 2003. A risky forest policy in the Amazon? Science, 299(5614), 1843. Resumo Esse artigo é uma resposta às críticas de Frank Merry e
Detection of logging in Amazonian transition forest using spectral mixture models. 4u6e4j
Título Detection of logging in Amazonian transition forest using spectral mixture models. Autores A.L. Monteiro C.M. Souza Jr. P. Barreto Ano de publicação 2003 DOI https://doi.org/10.1080/01431160305008 Monteiro, A. L., Souza Jr, C., & Barreto, P. 2003. Detection of logging in Amazonian transition forests using spectral mixture models. International Journal of Remote Sensing, 24(1), 151-159. Taylor
Big-leaf mahogany (Swietenia macrophylla) seedling survival and growth across a topographic gradient in southeast Pará, Brazil d2d2y
Título Big-leaf mahogany (Swietenia macrophylla) seedling survival and growth across a topographic gradient in southeast Pará, Brazil Autores James Grogan Mark S Ashton Jurandir Galvão Ano de publicação 2003 DOI https://doi.org/10.1016/S0378-1127(03)00298-6 Grogan, J., Ashton, M., & Galvao, J. 2003. Big-leaf mahogany (Swietenia macrophylla) seedling survival and growth across a topographic gradient in southeast Pará,
Título Fire science for rainforests. Autor Mark A. Cochrane Ano de publicação 2003 DOI https://doi.org/10.1038/nature01437 COCHRANE, M. Fire science for rainforests. Nature, v. 421, n. 6926, p. 913-919, 2003. Abstract Forest firest are growing in size and frequency across the tropics. Continually eroding fragmented forest edges, they are unintended ecological disturbances that transcend deforestation to degrade vast