Blogging What Needs To Be Seen & Heard

Artist


0) { // var flag = 0; // $(‘#BindArtistDetailsList’).html(”); // //var markup=””; // //markup = markup + “jssor_1_slider_init();”+ “”; // var markup = “”; // markup = markup + ” “; // for (i = 0; i < data.Data.length; i++) { // var link = "/artist/" + data.Data[i].ArtistName + "/" + data.Data[i].ArtistId; // //markup = markup + " “; // markup = markup + ” “; // markup = markup + ““; // //markup = markup + ” #“; // markup = markup + “”; // markup = markup + ““; // //markup = markup + ““; // markup = markup + “]]>“; // //markup = markup + ” “; // //markup = markup + ”  + data.Data[i].ArtistId +  + data.Data[i].ArtistId + “; // //markup = markup + ” “; // } // markup = markup + “”; // markup = markup + “”; // markup = markup + ” “; // markup = markup + “”; // markup = markup + “”; // markup = markup + ” “; // markup = markup + ” “; // markup = markup + “”; // markup = markup + “”; // markup = markup + “”; // markup = markup + “”; // markup = markup + “”; // markup = markup + ” “; // markup = markup + “”; // $(‘#BindArtistDetailsList’).html(markup); var jssor_Gallery_options = { $AutoPlay: false, $ArrowNavigatorOptions: { $Class: $JssorArrowNavigator$ }, $ThumbnailNavigatorOptions: { $Class: $JssorThumbnailNavigator$, $Cols: 6, $SpacingX: 0, $SpacingY: 0, $Align: 75 } }; var jssor_Gallery_slider = new $JssorSlider$(“jssor_1”, jssor_Gallery_options); function OnSlidePark(slideIndex, fromIndex) { // alert(slideIndex); // jssor_slider1.$GoTo(slideIndex + 1); var totalslider = ($(“#slidercontainer > div”).length)-1// (“#slidercontainer”). // alert(totalslider); if (totalslider == (slideIndex+1)) { // alert(totalslider); // BindMoreArtists(totalslider) // var jssor_Gallery_slider = new $JssorSlider$(“jssor_1″, jssor_Gallery_options); // jssor_Gallery_slider_init(); // createSlide(); } } jssor_Gallery_slider.$On($JssorSlider$.$EVT_PARK, OnSlidePark); function createSlide() { $div = $(”); $div.append($(‘‘)) .append($(‘‘)); $(‘#slidercontainer’).append($div); var newr = ‘ � ‘; } /*responsive code begin*/ /*remove responsive code if you don’t want the slider scales while window resizing*/ function ScaleSlider() { var refSize = jssor_Gallery_slider.$Elmt.parentNode.clientWidth; if (refSize) { refSize = Math.min(refSize, 900); jssor_Gallery_slider.$ScaleWidth(refSize); } else { window.setTimeout(ScaleSlider, 30); } } ScaleSlider(); $Jssor$.$AddEvent(window, “load”, ScaleSlider); $Jssor$.$AddEvent(window, “resize”, ScaleSlider); $Jssor$.$AddEvent(window, “orientationchange”, ScaleSlider); /*responsive code end*/ jssor_Gallery_slider_init = function () { var jssor_Gallery_options = { $AutoPlay: false, $ArrowNavigatorOptions: { $Class: $JssorArrowNavigator$ }, $ThumbnailNavigatorOptions: { $Class: $JssorThumbnailNavigator$, $Cols: 6, $SpacingX: 0, $SpacingY: 0, $Align: 75 } }; var jssor_Gallery_slider = new $JssorSlider$(“jssor_1”, jssor_Gallery_options); /*responsive code begin*/ /*remove responsive code if you don’t want the slider scales while window resizing*/ function ScaleSlider() { var refSize = jssor_Gallery_slider.$Elmt.parentNode.clientWidth; if (refSize) { refSize = Math.min(refSize, 900); jssor_Gallery_slider.$ScaleWidth(refSize); } else { window.setTimeout(ScaleSlider, 30); } } ScaleSlider(); $Jssor$.$AddEvent(window, “load”, ScaleSlider); $Jssor$.$AddEvent(window, “resize”, ScaleSlider); $Jssor$.$AddEvent(window, “orientationchange”, ScaleSlider); /*responsive code end*/ }; // } // } // else { // } // }, // error: function (xhr, textStatus, errorThrown) { // }, //}); function BindMoreArtists(SkipArtistsCount) { $.ajax({ url: “/Artists/getArtistlist”, type: “GET”, async:false , data: { id: 0, SkipRecord: SkipArtistsCount }, contentType: “application/json; charset=utf-8”, datatype: “json”, success: function (data) { if (data != null) { if (data.Data.length > 0) { var flag = 0; $(‘#BindArtistDetailsList’).empty(); var markup = “”; if (SkipArtistsCount == 0) { markup = “”; markup = markup + ” “; markup = markup + “”; markup = markup + ” “; markup = markup + “”; markup = markup + “”; markup = markup + ” “; markup = markup + ” “; markup = markup + “”; markup = markup + “”; markup = markup + “”; markup = markup + “”; markup = markup + “”; markup = markup + ” “; markup = markup + “”; $(‘#BindArtistDetailsList’).html(markup); } } } }); } });



Source

Leave a Reply

Menu
%d bloggers like this: