Questions tagged [scroll-lock]

Scroll-lock is a key or a feature that avoids content being scrolled in a usually text based window.

The scroll-lock key, that is placed on the top right of the keyboard, toggles scrolling of text within many terminal based applications.

Scroll-lock is also a term for a feature, which allows to stop scrolling of any kind of contents. For instance the Android logcat console in Eclipse has a scroll lock-feature that is toggled by a graphical button.

18 questions
13
votes
13 answers

Is there use for the Scroll Lock button anymore?

The scroll lock button seems to be a reminder of the good old green terminal days. Does anyone still use it? Should the 101 button keyboard become the 100 button keyboard?
fnCzar
  • 3,153
  • 4
  • 26
  • 28
9
votes
2 answers

Check Scroll Lock, Num Lock & Caps Lock in JavaScript on Page Load

Is it possible to check the status of Scroll Lock, Num Lock and Caps Lock on page load of a web page? I've found ways to check after a keypress using JavaScript, but that's not what I'm asking.
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
7
votes
9 answers

Scroll lock bug in Visual Studio 2010

When I'm working in Visual Studio 2010, the IDE seems to switch to "Scroll Lock" mode at random times. Is this a new feature that I'm not aware of (initiated by some designated key/mouse-click) or a bug? I'm guessing this is actually a…
Jess
  • 2,991
  • 3
  • 27
  • 40
7
votes
1 answer

Vim-like movement in any program by using Scroll-Lock with letter keys

I am remapping some keys of my keyboard and want to make J, H, L and K keys behave like arrow keys when Scroll-Lock is activated, so I can use Vim-like scrolling in any program. I am using xmodmap to remap some keys, but I couldn't have the expected…
Seninha
  • 329
  • 1
  • 12
6
votes
2 answers

Toggle Scroll Lock on or off

I am using PowerShell in my script to check the status of various keys like NumLock and CapsLock. powershell.exe -Command [Console]::CapsLock powershell.exe -Command [Console]::NumberLock But I found no way to check the status of ScrollLock through…
4
votes
2 answers

Hijack page scrolling like Google Plus?

1) If you have a Google Plus account, go to your home page. 2) On the right side, there's a list of "Add to Circle" buttons that you can hover over. 3) Notice that when you hover over one of the Add to Circle dropdown (if you have enough circles to…
Danny Anges
  • 237
  • 5
  • 10
4
votes
1 answer

Google Plus & Javascript - Disable scrolling when choosing circles?

I've created a lot of Circles. And so when I hover over the "Add to Circles" google plus button, a small div pops up that allows me to vertically scroll through my circles. The really cool part is that it disable body scrolling. So when I scroll to…
Danny Anges
  • 237
  • 5
  • 10
4
votes
1 answer

Add scroll-lock button to JScrollBar

Background Looking to add a scroll-lock button to the corner of JScrollPane without obscuring the view port contents. The following image shows a JScrollPane wrapped in a SwingNode within a JavaFX application: The lower-right corner shows a button…
Dave Jarvis
  • 30,436
  • 41
  • 178
  • 315
2
votes
1 answer

How to scroll lock a Jface tableviewer?

I have a table viewer which is updated very quickly and I want to scroll lock my table viewer as in the eclipse console view. I tried to plug-in spy the console view in eclipse but I didn't find what I was looking for Any tips to do that?
guillaumegoui
  • 451
  • 1
  • 4
  • 14
1
vote
0 answers

Page Scroll Effects - VelocityJS - (Page Anchors with Data-hijacking enabled)

I'm stuck with my page scroll effects. This is what I've got so far - https://codepen.io/DCRSLG/pen/jzYJeY $(document).ready(function($) { //variables var hijacking = $('body').data('hijacking'), animationType = $('body').data('animation'), …
DCR97
  • 27
  • 7
1
vote
6 answers

Is it possible to get Scroll Lock status in javascript?

Is it possible to tell if scroll lock mode is currently on through javascript without capturing scroll lock key press event (key was pressed outside of the browser)?
serg
  • 109,619
  • 77
  • 317
  • 330
0
votes
1 answer

How to scroll lock a Django HTML Web Page

I am currently using a page that has a list of in-line forms However when the user enters submits each form (line) they are sent back to the top of the page. This becomes really tedious as the users need to enter data quickly and can't when they…
KyleStranger
  • 233
  • 3
  • 20
0
votes
1 answer

How to create a ref to child component, store it in context and pass it to a sibling in React with Material UI

I have a component that looks like this: import React from 'react'; import { Dialog, DialogContent, DialogTitle, Typography } from '@material-ui/core'; const FormDialog = ({ formId, onClose, onSubmit }: Props) => (
user7247147
  • 1,045
  • 1
  • 10
  • 24
0
votes
2 answers

Performance enhancement of this one line of Javascript code

el.style.top = document.body.scrollTop + 'px'; I'm using this to lock the scrolling of some TH elements vertically. This line of code seems to have exponential runtime complexity. It works nicely when I am locking 10 elements. 30 elements, it's…
user3758745
  • 777
  • 1
  • 6
  • 19
0
votes
1 answer

Scroll doesnt locks with overflow: hidden

I want to lock scroll when modal is open. I add to body overflow: hidden, but that doesn't help. I also install js lib scroll-lock that do almost same thing. Here is a shot of that magic https://i.stack.imgur.com/Hg4SW.jpg How to lock scroll?
1
2