scrolling

Why does scrolling position change after refocusing the Form?

Why does scrolling position change after refocusing the Form? Situation: Design mode and application just started Remark the scroll panel position. Scrolling manually the panel to left with mouse Changing the focus to other application and refocusing back our application(click/click) You can see that when the application loses...

Find the upper left coordinate of a panel when scrolling

How to find the upper left coordinate of a panel when scrolling? (.net 2) Let's say an example in VB.NET that maintains a textBox in the left border of the custom the panel (myPanel.vb): Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) MyBase.OnPaint(e) TextBox1.Location = New Point(AutoScrollPo...

Using the mouse wheel to scroll a browser window horizontally

I have a very wide website, intentionally designed to have no vertical scrolling but a lot of horizontal. Scrolling horizontally is usually a pain to users so was wondering if there was some way of using the middle mouse or other scrolling habits (eg. page up/down, up/down arrows, middle mouse click/drag) to scroll horizontally instead ...

Another take on the "keyboard obscures UITextField" problem

Hi All, I know that this is a common problem and the UITableViewController fixed this is iPhone SDK 3.0, but the UITableViewController is not working as I expect, probably due to how I am using it. Here's my problem: I'm working on a form, which is in a grouped table, which contains some text fields. Those on the lower part of the form...

Using CGLayer to Cache Cells in a UITableView

I am trying to improve the performance of scrolling in our app. I have followed all of the generally accepted advice (draw it yourself with CG, the cell is opaque, no subviews, etc.) but it still stutters sometimes when we have background CPU and network activity. One solution stated here: http://www.fieryrobot.com/blog/2008/10/08/mor...

Get a UITableView to scroll up from the bottom / snap to the bottom, not the top

I have a table view which is many cases will only have one or two cells that don't fill the screen. In this case, I would like the cells to sit at the bottom, rather than the top. In other words they should "snap" to the bottom of the tableview. I can force the table view to scroll them to the bottom like this: CGPoint bottomOffset =...

What are your thoughts on page scrolling in a business application?

Let's say you are designing a web application for internal business use. Should a page be designed to not scroll, and either use paging or have scrollable sub-sections (tables, grids, etc) or is it better to allow the page to simple scroll. What happens when you have a long page that requires a Save/Cancel button or other such buttons. ...

Pseudo-Continuous Scrolling

I would like to display a large number of results without multiple "pages" to load results "0-99" on page 1, "100-199" on page 2, "200-299" on page 3 etc. Thus my idea is to create a sort of pseudo-continuous scrollable data list. So essentially, data would be loaded as necessary but only if scrolled to. The box of data would then woul...

js or Jquery - obtaining viewable area of scrollable div

Hello, I currently have a a scrollable div that is populated dynamically. I have a function that captures UpArrow and DownArrow keyPresses and changes the classes within the parent div to have one child selected at a time (basically this mimics a select input) Here is what I want to do: I need the div's viewable area to change (go down...

UITableView Scrolling Crash

I am currently developing an iPhone application which loads data from an RSS feed and displays it in a Tab Bar Application in 2 UITableViews, which we we call TableViewA and TableViewB. In the AppDelegate we have the following method: - (void)getDataWithContext:(NSManagedObjectContext *)context { NSAutoreleasePool *pool = [[NSAutore...

CSS: Unable to set tbody height in % for scroll.

Hi, I'm trying the CSS solution to scrolling table contents while keeping the header fixed. CSS Code 1: <style type='text/css'> * { padding:0; margin:0; border:0; } #ListData { display:block; width:100%; height:100%; float:left; background:#ffffff; } #ListData...

Is there a Jquery plugin to fix content when scrolling?

Hi, I have a simple 3 column site - left, center and right. The center column is where the main text content goes and is generally much longer than the left or right content. before I write one, is there a JQuery plugin to keep my left and right column content in view when the user scrolls the window? i.e. they stick to 10px below th...

Long page of divs: Use Effect.toggle to expand a div at bottom: Page scrolls back to top

I have a page of things that looks like this (and yes, I have included the scriptaculous javascripts, because the toggle actually does work): <html> <div id="container"> <div id="thing1" class="thing" > <p>Some visible stuff 1</p><a href="#" onclick="Effect.toggle('extra1');">More1</a> <div id="extra1" style="display:...

jQuery scrollIntent, similar to hoverIntent

I am looking for a function similar to hoverIntent, but for scrolling. I have a function that moves the sidebar to stay put while scrolling. They thing is, the moving/calculations take place really close together, causing the "always visible" box to flicker while scrolling. I am looking an invent that fires only when it is very likely th...

jQuery scroll to target from current position not top

I'm looking for away to scroll the window to a specified position from the window's current position, NOT from the top of the window. From the bit of playing around I've done I can't find a way to do this. I've also tried messing around with the scrollTo plugin and it exhibits the same behavior. They all reset the window's position to t...

Continue scrolling effect for images?

I want to scroll my 10 images in continue scrolling mode just like demonstrated in this flash file: Demo Flash But I want to do this using CSS, and jQuery or JavaScript without using flash. I want to scroll images continuously and when I mouse over on it the scroller will stop and when out it will again start scrolling. I Googled a lo...

CSS: background image does not fill when scrolling

Hi, working on a very small site which loads in one go, so there is a div which holds all the background images, and on top of that (i.e. higher z-index) there is a content div which holds everything. I can switch backgrounds easily based on what content is selected. Unfortunately, I noticed if you launch in a small window so that scro...

Jquery scroll hits twice on IE

have this code that calls an ajax whenever the scroll of a div hits the end. It's suppose to be an auto-dynamic scroll. This ajax gets the next X itens of the list. $("#gvContacts").scroll(function(){ var scrolltop=$('#gvContacts').attr('scrollTop'); var scrollheight=$('#gvContacts').attr('scrollHeight'); var windowh...

JQuery toggle/slider flicker in Firefox

Hmmm... I have read about this issue on various other threads here on stackoverflow but am still experiencing the problem on my work in progress (without quite as much exciting jQuery involved) www.thebeverley.com Simple toggle that expands fine but flickers on collapse - you will need to scroll down to use the same button to collapse...

Weird Scrolling Issue Using UITableView

I am a working UINavigationController pushing two different UITableViews on and off the stack. All of my functionality is working correctly except scrolling. When either table is scrolled above the top row, or below the bottom row, it stays there exposing the margin above/below the table. I am looking for the table to "bounce" back so...