Math.max(1, 100) === Math.max.apply(null, [1, 100])
albumLabel
"Image %1 of %2"
The text displayed below the caption when viewing an image set. The default text shows the current image number and the total number of images in the set.
Что я не так делаю?Не понимаете, что setInterval принимает в качестве аргументов.
$("#scrollUp").removeClass("show");
$("#scrollUp").click(function(event) {
event.preventDefault();
$("html, body").animate({
scrollTop: 0
}, 1500);
});
$(window).scroll(function() {
$("#scrollUp").toggleClass("show", ($(this).scrollTop() > 500));
});
$(selector).mCustomScrollbar("destroy");
$obj = [
'a' => function(){ return 1; },
'b' => [
'ba' => function(){ return 2; },
'bb' => [
'bba' => function(){ return 3; }
]
]
];
$obj['a']();
$obj['b']['ba']();
$obj['b']['bb']['bba']();