Skip to content Skip to sidebar Skip to footer
Showing posts with the label Scroll

Javascript Mousewheel Event & Video Volume - Prevent Page Scroll

I'm trying to control a video volume using the MouseWheel, I want to completely disable the pag… Read more Javascript Mousewheel Event & Video Volume - Prevent Page Scroll

How To Prevent Body Scrolling On Ios 12 When Modal Opened?

Scenario : On iOS 12 none of solutions for iOS 11 doesn't work. Tried CSS: body.modal-open { … Read more How To Prevent Body Scrolling On Ios 12 When Modal Opened?

Jquery Scrolltop() Not Working On 'body' Element In Firefox

I do not understand why the scrollTop() jquery function is not working on the 'body' elemen… Read more Jquery Scrolltop() Not Working On 'body' Element In Firefox

Scroll To A Particular Div Using Id In Reactjs Without Using Any Other Library

Scroll to a particular div using id in react without using any other library, I found a few solutio… Read more Scroll To A Particular Div Using Id In Reactjs Without Using Any Other Library

Capture First Visible Div Id While Scrolling (viewport)

I have this page: I want to capture on which div I am while I'm scrolling. I know If I use: if… Read more Capture First Visible Div Id While Scrolling (viewport)

Jquery Class Change Based On Scroll Ignoring Last Section

I'm using jQuery to guide my pages scrolling and change the color of a nav item to correspond … Read more Jquery Class Change Based On Scroll Ignoring Last Section

Rotate Element On Scroll Within A Div Container

Ok so here's a challenge: I'm looking to rotate a fixed element when you scroll up and down… Read more Rotate Element On Scroll Within A Div Container

Next/prev Buttons Onclick Scroll To Next And Previous 's

I'm still learning JavaScript and need some help. I am making next and previous buttons that ca… Read more Next/prev Buttons Onclick Scroll To Next And Previous 's

Javascript And Dragging In Firefox

I am writing a script to scroll a div container with javascript. Unfortunately it is not working th… Read more Javascript And Dragging In Firefox

Css Parallax Header And Sticky Navigation Mutually Exclusive?

I'm working on a new HTML5 CSS3 template which features a parallax scrolling header, as well as… Read more Css Parallax Header And Sticky Navigation Mutually Exclusive?

How To Slow Down Scrolling Speed With Javascript?

When I scroll some litlle div with many elements, my mouse scrolling is too fast so I can't see… Read more How To Slow Down Scrolling Speed With Javascript?

Javascript/jquery Add Class When Element Comes Into Viewport?

Is there a way to add a class when the element that I want to apply the class to comes into the vie… Read more Javascript/jquery Add Class When Element Comes Into Viewport?

Can I Update A Js Variable's Property Dynamically From Another Variable?

I'm trying to update a property of a jS variable using the scroll velocity which I'm storin… Read more Can I Update A Js Variable's Property Dynamically From Another Variable?

Move() Element On Window.resize() Function Not Working On Android

This is the move() function function move(){ /*calculate*/ var size = { x: $(window).width… Read more Move() Element On Window.resize() Function Not Working On Android

Continuous Scrolling Page Using Javascript

I am trying to repeat an animation where a page automatically scrolls to the bottom. When it reach… Read more Continuous Scrolling Page Using Javascript

How To Sync The Scroll Of Two Divs By Id

I have two divs each taking up half the screen vertically. on one of them there is a scroll bar. On… Read more How To Sync The Scroll Of Two Divs By Id

How To Scroll Within An Overflow Hidden Div To A Certain Currently Invisible Element?

I have a list of elements within a overflow hidden div. So not all elements are visible. Now, if an… Read more How To Scroll Within An Overflow Hidden Div To A Certain Currently Invisible Element?

How To Automatically Scroll Down A Html Page?

I'm trying to start each page after the homepage about 500px down, similar to this website: htt… Read more How To Automatically Scroll Down A Html Page?

Scrolling Progress Bar

What I'm trying to do is implement a progress bar to indicate how close one is to the end of th… Read more Scrolling Progress Bar

Is There Way To Scroll To Anchor Rather Than Jump With Javascript (something Like Smooth Scroll)

I have a large document with numbered anchor tags as shown below. And a textbox to punch the number… Read more Is There Way To Scroll To Anchor Rather Than Jump With Javascript (something Like Smooth Scroll)