This commit is contained in:
SBD
2023-12-10 13:15:29 +03:00
parent c63f554d93
commit 6b61c24895
2 changed files with 31 additions and 19 deletions

View File

@@ -939,9 +939,14 @@ body.n_scroll{
color: #000000; color: #000000;
} }
.list_characters_widget_how_dev{
padding-left: 15px;
}
.list_characters_widget_how_dev > li{ .list_characters_widget_how_dev > li{
color: #000000; color: #000000;
text-transform: unset; text-transform: unset;
list-style: '- ';
} }
/*block present technology*/ /*block present technology*/
@@ -1271,7 +1276,12 @@ body.n_scroll{
font-size: 12px; font-size: 12px;
} }
.error_input_html ul,li{ .error_input_html > ul{
padding: 0;
margin: 0;
list-style: none;
}
.error_input_html > li{
padding: 0; padding: 0;
margin: 0; margin: 0;
list-style: none; list-style: none;

View File

@@ -205,25 +205,27 @@ function change_slide (index_this_slide,type,list_lenght,new_slide_inf){
function autoPlaySlider () { function autoPlaySlider () {
let next_slide = null let next_slide = null
let new_slide = null let new_slide = null
if (!autoplayInterval){ if (document.querySelector(".functions_btns_slider")){
autoplayInterval = setInterval(function (){ if (!autoplayInterval){
let datainf_cont autoplayInterval = setInterval(function (){
let dataset = null let datainf_cont
if (!new_slide){ let dataset = null
datainf_cont = document.querySelector(".functions_btns_slider") if (!new_slide){
datainf_cont = document.querySelector(".functions_btns_slider")
} else { } else {
datainf_cont = new_slide.querySelector(".functions_btns_slider") datainf_cont = new_slide.querySelector(".functions_btns_slider")
} }
dataset = datainf_cont.dataset dataset = datainf_cont.dataset
if (dataset){ if (dataset){
let index_this_slide = dataset['indexSlide'] let index_this_slide = dataset['indexSlide']
let list_lenght = dataset['lenghtSlides'] let list_lenght = dataset['lenghtSlides']
new_slide = change_slide(index_this_slide,'next',list_lenght,'new_slide_inf') new_slide = change_slide(index_this_slide,'next',list_lenght,'new_slide_inf')
} }
},2000) },2000)
} else { } else {
// autoPlaySlider() // autoPlaySlider()
}
} }
} }