How-to articles, tricks, and solutions about SCROLL

How to Add the Marquee Effect without Using the Marquee Tag (with CSS, JavaScript and jQuery)

Learn the alternative ways of having continually scrolling text without using the obsolete <marquee> tag. See examples with CSS animations, JavaScript and jQuery.

How to Change the Background Image on Scroll Using CSS

Create an attractive effect for your website learning how to change the background images on scroll. Also, see nice examples!

How to Create a Fixed Navbar with CSS

Fixed navbars have conquered the internet! Know how to build a sticky navbar for your website with the simplest technique found in the tutorial.

How to Create a Parallax Scrolling Effect

Before creating a website choose an impressive design to attract your visitors and increase user engagement. One of the trendy effects is Parallax effect. Also, find beautiful examples!

How to Create a Scroll Indicator with JavaScript

Know how to create a scrollbar indicator element on your webpage which indicates how far the user has scrolled down the page. Use a little JavaScript code to animate your webpage bar.

How to Create a Table with a Fixed Header and Scrollable Body

In this tutorial, find some methods of creating an HTML table with a fixed header and scrollable body. Here, we suggest using some methods. See examples.

How to Create an Overlay Using CSS

Read the tutorial to solve some of the most common design problems that are presented in design principles. Create overlay in different ways and find examples!

How to Get the Browser Viewport Dimensions

Read this JavaScript tutorial and learn information about two sets of properties that are used to obtain the height and width of the viewport dimension.

How to Hide Scrollbars with CSS

Do you know that a bright example of hiding the scroll bar is Facebook chat window? Learn how to hide scrollbars and find solutions! Snippet/CSS

How to Make a Div Stick to the Top of Screen when Scrolling with CSS and Javascript

This snippet will help you to make a <div> stick to the top of the screen when you scroll the page. Find out how to this using HTML, CSS, and Javascript.

How to Make a Div Vertically Scrollable

Scrolls are a common part of websites. Learn How to Make a Div Vertically Scrollable with W3docs online tutorial. Try examples. Fast solution!

How to Make Scrollbar Visible Only when Necessary

On this page, you’ll find some examples of making the scrollbar on <div> visible only when necessary using the overflow, overflow-y, and overflow-x properties.

How to Scroll to the Top of the Page Using JavaScript

Read this tutorial and find useful information about the simplest native JavaScript method and its parameters to make the page jump on the top instantly.

Lazy load images with JavaScript

Read this tutorial and learn detailed information about some simple and fast techniques that are used to decrease image loading time using JavaScript.

Page scroll up or down in Selenium WebDriver (Selenium 2) using java

To scroll up or down in a web page using Selenium WebDriver in Java, you can use the JavascriptExecutor interface and the scrollBy method.