Auto Scroll Down with Javascript -
i me make javascript code autoscroll down in 1 particular div in 1 page, , while scrolls down want make 1 procedure.
im new in javascript know these things out
<div class="uiscrollableareawrap scrollable" data-reactid=".c6.0">
this div of box scrollable.
could give me example of how can make javascript code take class , scroll down until end of wrap??
update one.
http://screencast.com/t/8wnifzb8ryg
check out photo see divs of box want scroll down.
just case:
this scroll down bottom of div
var objdiv = document.queryselector("._5tee .uiscrollableareawrap"); objdiv.scrolltop = objdiv.scrollheight;
update:
based on screenshot, assuming want scroll ul
list bottom.
var ullist= document.queryselector("._5tee .uiscrollableareawrap"); ullist.scrolltop = ullist.scrollheight;
in case want other div, use pattern
.uiscrollableareawrap.scrollable yourdivselector
Comments
Post a Comment