scrolling

audioPlayerDidFinishPlaying not being called during scrolling UITableView

One of my views is a UITableView which acts as the delegate for an AVAudioPlayer and this table essentially plays sounds when you select a certain row with options to repeat the sound after its finished playing. However, I noticed that if I select a cell with repeat ON for a certain sound and then scroll through the UITableView to sel...

EditText items in a scrolling list lose their changes when scrolled off the screen

I have a long scrolling list of EditText items created by a SimpleCursorAdapter and prepopulated with values from an SQLite database. I make this by: cursor = db.rawQuery("SELECT _id, criterion, localweight, globalweight FROM " + dbTableName + " ORDER BY criterion", null); startManagingCursor(cursor); mAdapter = new SimpleCursorAdapt...

Silverlight DataGrid vertical scrollbar issue

I have a DataGrid in my silverlight application and I'm wondering how to get the same behavior for the vertical scrolling as the horizontal scrolling. When I resize the browser horizontally, The app will bunch up all the controls and the horizontal scrollbar will appear, however when I resize it vertially, the controls at the bottom of ...

Sync scrolling of two frames (browser-agnostic, please!)

I have a web page made of three frames, something like this: +----------------+ | 0 | +-------+--------+ | | | | 1 | 2 | | | | +-------+--------+ Frames 1 and 2 are for comparing some similar data. I'd like to sync the vertical scrollbars on these frames (setting the scroll bar value on...

Textarea background image scrolls when text exceeds the height.

Hi all! I am trying to resolve an issue in IE7. My text area has a background image behind it which then scrolls with the text when the text exceeds the height of the text area and begins to scroll with the text. Anyone know why this is happening and what the solution this would be? Thanks, James ...

Opera Browser: prevent mousewheel scrolling?

I just build a website that works good on any browser even ipad but in Oper ai noticed a weird thing: the website is built with a div layer on top zindez:999, body is overflow:hidden, and you cant scroll, but underneath the div there is a long text that goes way underneath the viewport... the strage thing is that even if any browser i ...

How can i lock the main document's scrollbar and force a certain div's scrollbar to be used instead?

i would like to be able to lock the scrollbar and have a different one used instead. this is because i have an overlay div .overlay { opacity: .8; filter: alpha(opacity=80); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 600; display: none; background: #000; } and a po...

how to do a smooth scrolling + fade in live feed with jquery?

i've found a lot of news ticker plugins that kinda do what i need, but not exactly. i want to do exactly what twitter.com does on their home page with the "Top Tweets". facebook also does this on their feed. basically whenever i have a new item i want all the LIs to scroll down, make room for the new LI on top, and fade it in. the ne...

Android: Scrolling an Imageview

I have an ImageView that is twice the height of a normale screen ( 960 dip). I would like to scroll it nicely up and down on the screen. The bottom of the screen should contain a bottom. I have tried various combinations of ScrollView and Imageviews without any success. I have also thinkered with the :isScrollContainer attribute without ...

javascript text overlay

Im pretty unknowledgeable about javascript being desktop application rather a web programmer but I'm trying to add an element to a friends website. Google has failed all my attempts to find a script I can adapt. What I want is a small text box in the bottom right hand corner of the browser window that sits above the html/css, that will d...

Trying to create scrolling horizontal thumbnail navigation that hides on left side when not in use

Hi, I am trying recreate the following type of scrolling thumbnail navigation as described in the following tutorial: http://tympanus.net/codrops/2010/05/10/scrollable-thumbs-menu/ I require my thumbs to slide out horizontally from the left. I have amended the code to the best of my abilities, but I can't get it to work. (Think the pr...

Javascript funtion to determine if element is in view.

Hello, I need a function similar to the one provided in the "jQuery - Check if element is visible after scroling" question, by "romaintaz". But one that will traverse the element's ancestry and determine if the element can be seen by the user. The problem is that the element in question may be within multiple scrolling divs. Thanks, ...

Making a vertically scrolling parent div which does not cause overflow of children

I have something as follows: <div style="float: left; height: 20px; overflow-y: scroll"> <div>hello this is a test</div> <div>hello this is another test</div> <div>t1</div> <div>t2</div> <div>t3</div> </div> The parent div grows to the appropriate width to fit the largest child (which is what I want). However, the vertical ...

How to check if webpage page is scrolled?

Is there any way in javascript to check if web page has been vertically scrolled? specially for Internet Explorer? I need to get the mouse position in IE but using jQuery event e.pageY it gives correct value when page is not scrolled but when page is scrolled down then it gives wrong position. ...

how to do scrolling text automatically ,navigationview controller will do this?

i want to scroll text automatically when my view gets loaded and that should be bottom of my table view.. any suggestions appreciated.. ...

iPhone: Scroll images infinitely

In my iPhone app I'm looking for a solution where I have some images scrolling horizontally, automatically and infinitely around and around. So if I have four images: first image 1 is shown, then it automatically scrolls out, image 2 is shown, then it scrolls out, ... image 4 is shown, then it scrolls out, and then image 1 is shown again...

iPhone addSubview - subView doesn't scroll with UITableView

I am using the following code to add a "Spinner" on top of my UITableView: spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; [spinner setCenter:CGPointMake(120,162)]; [self.view addSubview:spinner]; spinner.backgroundColor = [UIColor lightGrayColor]; spinner.hidesWhenStopped = ...

jQuery Simple Modal used with Scrolling

I just started getting into jQuery and I'm trying to use the SimpleModal library along with some scrolling features. I have a navigation list and each link opens it's own modal window with a set height and width. However, for link2, after you click it I want it to open a modal window and the user has the ability to scroll up or down dep...

Scrolling Navigation gets stuck in IE?

I have a navigation in the top right corner that will scroll down a page with a user. I am using this jQuery code: var $scrollingDiv = $("#scrollingDiv"); $(window).scroll(function(){ $scrollingDiv .stop() .animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "fast" ); }); ...

WebView - User has scrolled

I cannot figure out how to have a WebView in Objective-c detect when a scroll has been made. I have looked at the WebFrameLoadDelegate and found didChangeLocationWithinPageForFrame method, but that did seem to work. ...