javascript - Slider for video (ASP.NET) -


i have ajax call - end displaying videos

<script> $('#display').click(function () {     var vacancyid = $("#vacancy").val();     var model = {         vacancyid: vacancyid };      $.ajax({ url: '@url.action("links", "questions")', contenttype: 'application/json; charset=utf-8', data: json.stringify(model), type: 'post', datatype: 'json', processdata: false, success: function (data) {     var question2 = data;     (var = 0; <= question2.length - 1; i++) {         var videohtml = '<video width="320" height="240" style="margin-left: 130px;margin-top: 20px;" controls>';         videohtml += '<source src="' + document.location.origin + "/uploads/" + question2[i].linkes + ".webm" + '" type="video/webm">';         videohtml += '</video>';         $(".videolist").append(videohtml);     } } }); 

});

now display via list in div

`<div class="videolist" style="width:50%;overflow-y: scroll;float:right;background:white;height:100%">         </div>` 

i need display via slider

enter image description here

how can this?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -