tagged [scroll]

Synchronize Scroll Position of two RichTextBoxes?

Synchronize Scroll Position of two RichTextBoxes? In my application's form, I have two `RichTextBox` objects. They will both always have the same number of lines of text. I would like to "synchronize"...

11 Jul at 09:58

Disable Scrolling on Body

Disable Scrolling on Body I would like to disable scrolling on the HTML `body` completely. I have tried the following options: - `overflow: hidden;` (not working, did not disable scrolling, it just hi...

7 Jan at 13:4

How do you make a div follow as you scroll?

How do you make a div follow as you scroll? I have a div on the left hand side which includes the business hours and weather. I would like that div to scroll down and up according to how the user scro...

9 Jul at 16:45

Angular 2 Scroll to bottom (Chat style)

Angular 2 Scroll to bottom (Chat style) I have a set of single cell components within an `ng-for` loop. I have everything in place but I cannot seem to figure out the proper Currently I have But this ...

16 Sep at 17:19

Animate scroll to ID on page load

Animate scroll to ID on page load Im tring to animate the scroll to a particular ID on page load. I have done lots of research and came across this: but this seems to start from the ID and animate to ...

2 Nov at 17:35

Trigger event when user scroll to specific element - with jQuery

Trigger event when user scroll to specific element - with jQuery I have an h1 that is far down a page.. and I want to trigger an alert when the user scrolls to the h1, or has it in it's browser's view...

How to detect scroll direction

How to detect scroll direction I want to run a function when someone scrolls down on an element. Something like this: But those functions don't exist. Is there a solution to this problem? [Awwwards](h...

10 Jun at 20:47

C# ListView mouse wheel scroll without focus

C# ListView mouse wheel scroll without focus I'm making a WinForms app with a ListView set to detail so that several columns can be displayed. I'd like for this list to scroll when the mouse is over t...

8 Jan at 14:58

Smooth scrolling when clicking an anchor link

Smooth scrolling when clicking an anchor link I have a couple of hyperlinks on my page. A FAQ that users will read when they visit my help section. Using Anchor links, I can make the page scroll towar...

How to scroll down in a textbox by code in C#

How to scroll down in a textbox by code in C# I am using winforms, and I update a text box once in a while (showing messages). however, when the text reaches the end of the box it produces scrollbars ...

1 Jul at 14:38

javascript scroll event for iPhone/iPad?

javascript scroll event for iPhone/iPad? I can't seem to capture the scroll event on an iPad. None of these work, what I am doing wrong? They all work even on Safari 3 on Windows. Ironically, EVERY br...

19 May at 07:18

Is it possible to implement smooth scroll in a WPF listview?

Is it possible to implement smooth scroll in a WPF listview? Is it possible to implement smooth scroll in a WPF `listview` like how it works in Firefox? When the Firefox browser contained all `listvie...

4 Aug at 02:26

Prevent BODY from scrolling when a modal is opened

Prevent BODY from scrolling when a modal is opened I want my body to stop scrolling when using the mousewheel while the Modal (from [http://twitter.github.com/bootstrap](http://twitter.github.com/boot...

22 Feb at 14:16

Mouse wheel event to work with hovered control

Mouse wheel event to work with hovered control In my C# 3.5 Windows Forms application, I have a few SplitContainers. There is a list control inside each (dock fill). When the focus is on one of these ...

14 Jun at 13:39

How do I make the DataGridView show the selected row?

How do I make the DataGridView show the selected row? I need to force the `DataGridView` to show the selected `row`. In short, I have a `textbox` that changes the `DGV` selection based on what is type...

Remove scrollbars from textarea

Remove scrollbars from textarea Following up to my previous question ([Add a scrollbar to a ](https://stackoverflow.com/questions/19420923/add-a-scrollbar-to-a-textarea)) on how to always see the scro...

Detecting scroll direction

Detecting scroll direction So I am trying to use the JavaScript `on scroll` to call a function. But I wanted to know if I could detect the direction of the the scroll without using jQuery. If not then...

27 Jun at 18:53

How can I get the scrollbar position with JavaScript?

How can I get the scrollbar position with JavaScript? I'm trying to detect the position of the browser's scrollbar with JavaScript to decide where in the page the current view is. My guess is that I h...

7 May at 20:19

IFRAMEs and the Safari on the iPad, how can the user scroll the content?

IFRAMEs and the Safari on the iPad, how can the user scroll the content? According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it with two fingers. Un...

1 Aug at 18:16

Handling scroll event on listview in c#

Handling scroll event on listview in c# I have a listview that generates thumbnail using a backgroundworker. When the listview is being scrolled i want to pause the backgroundworker and get the curren...

5 Dec at 08:51

WPF Listbox auto scroll while dragging

WPF Listbox auto scroll while dragging I have a WPF app that has a `ListBox`. The drag mechanism is already implemented, but when the list is too long and I want to move an item to a position not visi...

17 May at 15:30

How to scroll an HTML page to a given anchor

How to scroll an HTML page to a given anchor I’d like to make the browser to scroll the page to a given anchor, just by using JavaScript. I have specified a `name` or `id` attribute in my HTML code: o...

28 Jul at 21:8

Programmatically scroll a UIScrollView

Programmatically scroll a UIScrollView I have a `UIScrollView` which has several views. When a user flicks their finger, the view scrolls to the right or left depending on the direction of the finger ...

3 Mar at 07:29

How do I get the height of a div's full content with jQuery?

How do I get the height of a div's full content with jQuery? I am trying to create my own scroll bars. I have tried most of the jquery scrollbar plugins and none of them seem to work for me, so I deci...

16 Mar at 17:14

How to move screen without moving cursor in Vim?

How to move screen without moving cursor in Vim? I recently discovered + and + shortcuts for Vim that respectively move the screen up and down with a one line step, . Do you know any command that leav...

20 Nov at 14:30