scrolling

How can i scroll to an anchor?

First of all, I have bound a datapager control to a listview. I would like to scroll to the first item of the listview control on the DataPager click. I guess by using javascript, but it seems that the datapager does not allow that... So what option do i have? How can i scroll, onto a specific anchor, when clicking on the DataPager? ...

WPF Toolkit DataGrid - Finding only visible/currently viewable rows

I'm using the WPF Toolkit's DataGrid to display a set of search results. As per then scenario in my other question I want to be able to pre-fetch secondary results for each of my viewable (that is, within the visible scroll area) rows in the datagrid. I want to be able to: Query "viewable" rows Raise an event when rows become visible ...

How can I have an html element stay visible on the page within the bounds of another html object?

Hey, I have a list of reports on a page. I currently have 4 large buttons on the right to view, add, edit or delete a button. We've had complaints about people having to scroll back up to click on the buttons once they've selected a report because they have soo many. Is there a way to have an html object like a div, stay visible on the...

How to prevent mouse scrolling outside hovered element ?

I have a div which is set to overflow:scroll;. I get scrollbars which is what I want. However when scrolling the div with the mousewheel it scrolls the rest of the page when it reaches the top or bottom of the div's content. How can I scroll only the div or the entire page based on what's hovered ? ...

Can't get horizontal scroll to work.

Can't get it to scroll horizontally. What am I missing? Here's my code in first-scene.html: <div id="main" class="palm-hasheader"> <div class="palm-header">Header</div> <div id="scrollerId" style="width:500px; height:500px" x-mojo-element="Scroller"> <div> My Text that goes on... and on... and on... horizonta...

How to get fast, smooth scrolling with UIWebView?

UIWebView exhibits jerky behavior when scrolling fast through lots of content. Mobile Safari, on the other hand, scrolls quickly and smoothly. It displays a simple checkerboard pattern while scrolling and then renders the page when scrolling is done. How can we get Mobile Safari's fast, smooth scrolling behavior with a UIWebView? ...

Maintain scroll position on page

Hi there: I'm working on an ASP.NET app I'm using MaintainScrollPositionOnPostback=true property but this doesn't seem to work with chrome. (works on IE), Is there any other way to maintain scrool position without using this property? tks ...

How to display scrollbar for a list view whose contents keep changing?

I have a ListView-like control that displays a list of items of various heights. The contents of the list, and the heights of the items can change – a background thread is populating the list and calculating the layout of each item, possibly even while the user is scrolling the content. Which brings me to my question: How do I display ...

iPhone RPG scrolling text for dialogue

Hello! I have an RPG in development, but I'm still confused about the best way to display dialogue. I want there to be a text box with text that scrolls (like any RPG), but what is the best way to accomplish this using X-Code? Thanks! ...

GridView with horizontal scroll

I currently have a GridView scrolling vertically, and everything works fine. But now that I want to change my layout and have the gridview grow on its width instead of height as it grows bigger I am lost. I have tried to simply change the column width each time an item is added to the gridview. But no vertical scroll appears, even thoug...

Bugs in scroll-follow with Google map (Firefox and Safari)

A scroll follow effect is when a part of the web design is always visible, even when the window is scrolled. There are animated and static versions of this. The animated is ok http://robertomartinez.info/cobra/index.html But I prefer the fixed version, however I have some bugs: http://robertomartinez.info/cobra/index_fixed.html -In F...

Prevent subview from scrolling in a UIScrollView

I have a UIScrollView subclass with a certain subview I'd like to prevent from scrolling (while all the other subviews scroll as normal). The closest example to this I can think of is UITableView's "index strip" on the right side (look in the Contacts app to see an example). I am guessing this is a subview of the table (scrollview) but ...

Making a "scrolling" menu.

I want to make a scrolling menu with my menu on my free hosted site. What I mean by a scrolling menu is like at the bottom of the screen @ CNET.com & ThePheed.net, my site is currently at Trigoblocks.comuf.com. Does anybody know how to do this and could teach me or lead me in the right direction? (: ...

CF - Mobile Managed Gestures

Im looking for a nice demo/sample using Windows Mobile Managed Gestures. I have a main view that contains a single panel. Every item in the panel is another panel containing pictureBox and a label. I would like to implement scrooling (finger flicking) to avoid using thin scroolers. Are the Windows Mobile Managed Gestures the right sol...

How to make a scroller on a micro-processor/-controller?

I would like to write a text scroller on a micro-processor with 4 5x7 displays in ANSI-C. Does anyone know of example source code or anything that can help me get started? Update This is the user manual for the micro-processor board I have. On PDF page 17 is a picture of the board with the displays. The code is written in an IDE call...

Is there a better method for scrolling a page (with jQuery) in Safari for iPhone (scrollTop doesn't work right)

Hi there, I am working on an iPhone version of a website, and I am using jQuery .animate() with the scrollTop attribute to scroll to different sections of the page. Something like so: $('html,body').animate({ scrollTop: distance }, 300); On regular web browsers, the scrolling starts from the current window position to the desir...

How to switch vertical and horizontal mouse scroll?

I have website with horizontal layout and i what to make mouse wheel scroll it relative to axis x (not y, like usual). I use jQuery plugins mousewheel and scrollTo, but I can't achieve soft, natural scroll. You can look at the example on my test site ...

<div> that only scrolls horizontally?

How can I create a element that only scrolls horizontally? If it makes sense, I want the element to act like it is position:fixed when the user scrolls vertically down the page, but act like it's position:static for sideways scrolling. HTML/CSS solutions preferred, but if it isnt' feasible, JavaScript fixes are fine. ...

iPhone UITableView pane moves as a unit vs. scrolls

Hi, I have a UITable/View/Controller and it works peachy. Just one oddity. Case 1) Cell count in table * v-size of one cell > frame of UITableView Works as expected. Case 2) Cell count in table * v-size of one cell <= frame of UITableView If the user attempts to "scroll" the table (accidentally or because the last cell contains the...

Need Java Swing equivalent of "scrollIntoView" from Browser DOM

I have a JPanel with several levels of child components, also with a JScrollPane. I'm placing a focus listener on some of the child components to add some behavior to those components, but I would also like to have that component scroll into the JPanel's viewport when focus is gained. My question is, does anyone have a general purpose ...