preload images off screen - Android browser

Is there a way to preload ~3 images that are currently off screen in the android browser.

Currently I'm using an iframe to allow for horizontal scrolling of a banner of images, but when the user scrolls to fast you get a half cut of image until it stops scrolling and loads the image.

I was hoping to pre-render more then about 300px (what it does now).


You maybe want to look in to lazy loading images with Javascript or JQuery. Basicallt the idea is to load image once the DOM has been loaded, this way all images are loaded in full and without hinderence to the page speed.

Take a look at this article.

Need Your Help

Groovy singleton thread safe

groovy thread-safety singleton

Does @Singleton annotation in Groovy make a singleton thread-safe?

ELKI implementation of OPTICS clustering algorithm detects only one cluster

cluster-analysis data-mining dbscan elki optics-algorithm

I'm having issue with using OPTICS implementation in ELKI environment. I have used the same data for DBSCAN implementation and it worked like a charm. Probably I'm missing something with parameters...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.