Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) E:\thcsltv.edu.vn\httpdocs\libraries\js\menu\ drwxrwxrwx | |
| Viewing file: Select action/file-type: $(document).ready(function() {
$('.noi-dung').slideUp(); /*ẩn nội dung*/
$('.khoi h3').on('click', function(event) {
// ngăn chặn mặc định
event.preventDefault();
// đóng/ mở
// $('.noi-dung').slideUp(); /*ẩn nội dung*/
$(this).next().slideToggle();
// $(this).offset().top lấy vị trí của phần tử this
$('html, body').animate({scrollTop:$(this).offset().top},400);
});
// quay về đầu trang
$('#btn-top').click(function(event) {
/* Act on the event */
console.log('click');
$('html, body').animate({scrollTop:0},400);
});
}); |
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.598 ]-- |