scroll

Scrolling Overflowed DIVs with JavaScript

I've got a div that uses overflow:auto to keep the contents inside the div as it is resized and dragged around the page. I'm using some ajax to retrieve lines of text from the server, then append them to the end of the div, so the content is growing downwards. Every time this happens, I'd like to use JS to scroll the div to the bottom so...

What's a good bit of JS or JQuery for horizontally scrolling news ticker

Hi, I am looking for a little bit of JQuery or JS that allows me to produce a horizontally scrolling "news ticker" list. The produced HTML needs to be standards compliant as well. I have tried liScroll but this has a habit of breaking (some content ends up on a second line at the start of the scroll), especially with longer lists. I ...

Add horizontal scroll to asp.net listbox control

How can I add horizontal scroll capabilities to the asp.net listbox control? ...

How do I get an auto-scrolling text display on .NET forms - e.g. for credits

Need to show a credits screen where I want to acknowledge the many contributors to my application. Want it to be an automatically scrolling box, much like the credits roll at the end of the film. ...

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 the control and the user uses the mouse scroll wheel. Right now, scrolling only happens when the ListView has focus. How can I make the ListView scroll even when it doesn't have focus...

Loading content as the user scrolls down.

I am building a blog type page, and I want to load items into the page as the user scrolls down, much like Google Reader, or Soup.io. How would you go about achieving this effect? I've seen some examples which read the height of the page, and have an onScroll even attached to the window so that as the user scrolls down we can test to see...

Nested Scroll Areas

I creating a control for WPF, and I have a question for you WPF gurus out there. I want my control to be able to expand to fit a resizable window. In my control, I have a list box that I want to expand with the window. I also have other controls around the list box (buttons, text, etc). I want to be able to set a minimum size on my c...

In a WPF ListView how can I prevent auto scrolling?

I have a WPF ListView which currently scrolls everytime I click on an item which is only partially visible. How can I keep the control from scrolling that item into view (instead simply selecting the partially visible one)? This behavior is very annoying when doing a drag from this control. Thanks. Added: I am looking for a solut...

Setting HTML page vertical position with JavaScript

I have an HTML page that scrolls up and down (not a lot, but it does scroll). I'd like to set the scroll position in the page after executing some JavaScript. Can I do that? I'm using jQuery to inject some additional HTML at the bottom of the page and I'd like to programmatically scroll to the position of that new content after it's ad...

"Endless scrolling" effect in a HTML table

I am displaying a scrolled data table in a web page. This table has several thousands of dynamic rows, so it is loaded from the server (via AJAX). The user can scroll up and down, so what I need is to detect when the user reaches the end of the scrollbar (that is, the last row at the bottom of the table) in order to request and show mo...

Scrolling Text Block/Area/Div in Loose XAML

Hi Is there any way to display scrollabletext in loose xaml? The equivalent in HTML would be <div style="overflow:scroll">some long bit of text here</div> Can you do this in loose xaml? From my experiments so far it seems that in loose xaml a) you cannot use TextBox it must be TextBlock b) TextBlock doesn't seem to have any stylin...

Scroll to a postion in a Web Browser using Wpf

I cannot seem to programmatcally scroll in WPF in a normal Windows Form I would use the code below but that property does not exist in WPF. HtmlDocument doc = this.webBrowser1.Document; doc.Body.ScrollTop = 800; return; Is there an alternative to doing this? ...

How to set an initial size of a QScrollArea?

I know that this is a very specific C++ and Qt related question, but maybe someone can help me, anyway ... See the code below: I want to display an image within a scroll area. The view port of the scroll area shall have a defined initial size. That means, if the image's size is bigger than the initial size of the view port, scroll bars ...

What is the best way of scrolling the browser window for expanding elements?

What I want to do is scroll down the window when I expand elements in my page. The effect I am trying to achieve is like the Stack Overflow comments. If it expands beyond the page, it scrolls down to fit all the comments in the window. What is the best way of doing this? Edit: I am using JQuery. ...

asp.net IFrame scroll bar push to top . . .

Heres a tricky one . . I have a webpage (called PageA) that has a header and then simply includes an iframe. Lets call the page within the iframe PageB. PageB simply has a bunch of thumbnails but there are a lot so you have to scroll down on PageA to view them all. When i scroll down to the bottom of the pageB and click on a thumbna...

Safari Frames Invisible Scrollbar

I'm working on a website that uses not just frames, but frames within frames (ew, I know, but I don't get to choose). It actually works ok most of the time, but I'm running to a problem with some of the frames within frames on Safari (only). Some of the two-deep frames render in Safari with a small space on the right-hand side of the f...

Flex redrawing background when Scrolling, degrafa: How ?.

Hi Everyone, I am using a canvas which has a degrafa background, so far so good. However when scrolling apears the background (degrafa grid) does not get redrawn. In the code the bg strokes are linked to the container height. The thing is container.height does not change even when scrolling. How do i get the heigh of the whole area so ...

How to reset the scroll position of a UITableView?

I would like to completely reset the scroll position of a UITableView, so that every time I open it, it is displaying the top-most items. In other words, I would like to scroll the table view to the top every time it is opened. I tried using the following piece of code, but it looks like I misunderstood the documentation: - (void)viewW...

Silverlight 2.0 - scroll vertically, wrap horizontally

In silverlight 2.0. I have some content that i want to scroll vertically and wrap horizontally. In the controls I have a dock panel. The DockPanel's last child, which fills it, is a ScrollViewer <UserControl x:Class="MyProject.MyControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.m...

View position in DBGrid when scrolling in Delphi.

I have a DBGrid on a form. The DBGrid has many columns, so an horizontal scroller is displayed. I scroll the DBGrid view to the right to see more columns. If I select a row, the DBGrid view is automatically reset to view the first column (As if I scroll back to the left most position). Is there a way to prevent that? ...