Mình mới học về asp.net.Mình muốn hỏi:Mình có 1 gridview chứa data trên website...Mình muốn cứ mỗi 2s thì gridview scroll xuống 1 tý...khi hết scroll thì quay về vị trí đầu....(Giống như chạy chữ )
Help me..thanks
Trước hết tạo scroll bar cho nó. http://gridviewscroll.aspcity.idv.tw/
http://www.codeproject.com/Articles/29634/Scroll-Gridview-while-Maintaining-Scroll-Position
Tạo xong dùng jquery tác động.
jQuery(document).ready(function ($) {
setInterval(function () {
makeScroll(value to scroll);
}, 3000);
Tốt nhất tính xem grid có bao nhiêu dòng trên trang. scroll đủ bấy nhiêu dòng set nó trở về dòng thứ 1.