Commit 505a5fdf by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

Feature theme

See merge request manzarH/dic-global-dev!719
parents b0e457bb c87d661d
...@@ -405,6 +405,36 @@ ...@@ -405,6 +405,36 @@
}); });
} }
if ($(".history-year__global-blue").length) {
$(".history-year__global-blue").slick({
dots: false,
infinite: true,
autoplay:true,
autoplaySpeed: 2000,
speed: 3000,
slidesToShow: 6,
slidesToScroll: 6,
arrows:false,
responsive: [{
breakpoint: 991,
settings: {
arrows: true,
slidesToShow: 3,
slidesToScroll: 3,
},
},
{
breakpoint: 767,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
},
},
],
});
}
if ($(".history-year__india").length) { if ($(".history-year__india").length) {
$(".history-year__india").slick({ $(".history-year__india").slick({
dots: false, dots: false,
...@@ -537,6 +567,7 @@ ...@@ -537,6 +567,7 @@
}); });
//when the slick slide initializes we want to set all of our slides to the same height //when the slick slide initializes we want to set all of our slides to the same height
$(".b_slider_m_c_box").on("setPosition", function() { $(".b_slider_m_c_box").on("setPosition", function() {
jbResizeSlider(); jbResizeSlider();
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
<div class="col-12"> <div class="col-12">
<div class="h_s_c_o_w"> <div class="h_s_c_o_w">
<div class="hs_i_wrapper"> <div class="hs_i_wrapper">
<div class="hs_wrap_c historyscrollerPane"> <div class="hs_wrap_c">
<ul class="count_li_item "> <ul class="count_li_item history-year__global">
{% for row in rows %} {% for row in rows %}
{% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Corporation History' %} {% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Corporation History' %}
<li> <li>
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
<span></span> <span></span>
</div> </div>
</div> </div>
<div class="hs_wrap_c" > <div class="hs_wrap_c historyscrollerPane" >
<ul class="count_li_item"> <ul class="count_li_item history-year__global-blue">
{% for row in rows %} {% for row in rows %}
{% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Product History' %} {% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Product History' %}
<li class="blue"> <li class="blue">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment