How to scroll in HorizontallistView programmatically?

How can I temporarily disable and gray out the page scroll-bars in IE without making them disappear?

  • I have a page with enough HTML content to make vertical scroll-bars necessary. I have a case on this page where a pop-up div that is displayed via Javascript shows up. When this happens I want to disable the scroll-bars to prevent scrolling, but I do not want to hide them. Then after something is clicked in this div, the div will hide and the scroll-bars should be re-enabled as normal. I've tried setting style="overflow: hidden;" on my body tag, but this completely removes the scroll bars rather than just disabling them. I know normally in IE when there isn't enough page content to need the horizontal scroll bar, it will still show only be disabled, so I would think since using overflow hidden clips the excess content this would be the case, but unfortunately that is not what is occuring by default. (Note that I am only concerned with making this work on Internet Explorer.) Help on this is appreciated, thanks.

  • Answer:

    Have you tried inline CSS? "style="scrolling:no;" That should get rid of the scrollbars in IE.

timberwo... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.