Looking to create a vertical scroll that hides the up button when at the top and hides the down button when at the bottom? Jquery can help with this, but sometimes it's tricky to get it just right. Take a look at an example here.
Below is the code snippet:
HTML:
<div class="twobytwostandard">
<div id="up">
up</div>
<div class="twobytwostandardmiddle">
<ul>
<li>
<div class="w6392597">
...
CSS:
.twobytwostandardmiddle
{
height: 278px;
...
}
...
.w6392597
{
...
}
JQuery:
$(document).ready(function () {
$(document).on("click", "#down", function () {
var scrollval = $('.w6392597').height();
...
});
$(document).on("click", "#up", function () {
var scrollval = $('.w6392597').height();
...
});
});
Hope this helps!