473,503 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Temporarily disable the scrollbar with JavaScript

2 New Member
Hi there! I need a script to disable the vertical scrollbar for (eg) one minute, then the page should get back to be normal.

I'm using this to block the page, but I can't then restore the page.

<body style="overflow: hidden">

Thank you so much.
Dec 18 '11 #1
2 1480
acoder
16,027 Recognized Expert Moderator MVP
How are you attempting to enable it again? Post your code.
Dec 19 '11 #2
Nick Black
2 New Member
I'm just temporarily using "<body style="overflow: hidden">" to hide the scrollbar.

What I need to do is creating a script which can do exactly what the above code does, but that automatically (for eg after 1 minute) reactivates the scrollbar.
Dec 19 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
3371
by: Jonathan Ellis | last post by:
I have some code that looks like this: var options = document.sform.files.options for (var i = 0; i < options.length; i++) { options.selected = true } As it loops you can see the options...
6
10457
by: Tuong Do | last post by:
Hi, I am going to insert a large amount (200,000 records) of data into a table Is there a way that I can temporarily disable the log? so that the insertion run faster Thanks in advance
2
3176
by: mccoyn | last post by:
I would like to be able to change a property of a control without calling the event handler I have registered for it. For example, I would like a function like the following void...
2
1692
by: G.Ashok | last post by:
Hi, Is there a way to suspend the background compilation of VB.NET in VS.NET IDE? I want to define a macro key to temporarily suspend and resume the background compilation. Regards,...
1
3943
by: Net Virtual Mailing Lists | last post by:
Hello, I have a table with a rule that goes something like this: CREATE OR REPLACE RULE sometable_delete ON DELETE DO delete FROM cache WHERE tablename='sometable'; CREATE OR REPLACE RULE...
4
6622
by: Jon Slaughter | last post by:
Is there any method to temporarily disable focus changing?(I assume only method is tab or mouse?) This problem has been tieing me up for a while and nothing seems to work. The only thing that I...
37
4989
by: Vince C. | last post by:
Hi all. I've installed Bloodshed Dev-C++ on a Windows 2000 SP4 machine. I'm using MinGW 3.4.2. I'd like to temporarily disable standard functions to write to stderr, i.e. for instance...
3
5051
hsriat
by: hsriat | last post by:
How can I temporarily disable vertical scrollbar? I have replaced confirmation boxes and alert boxes with inlay popup DIVs. But while they are on the screen, I need to disable scrollbar of the...
1
1587
by: alan75 | last post by:
I'm working on my first apps for WM6 on my samsung i8000 Omnia2. is there a way to no show the scroll bar when the form height is taller than the screen?
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.