Questions tagged [preloading]

Use preloading for questions related to programmatically requesting files or data using a heurestic or presumptive algorithm.

Preloading can be used to optimize the user experience based on events, hints, metadata, or user behavior analysis.

References

273 questions
0
votes
1 answer

Pros/Cons for accelerating load times of CSS background images using an -Tag

I make vast use of CSS sprites and background images in general - all via CSS. Now, using Firebug's network panel I see that the loading of these CSS background images starts only after these steps: 1) loading and parsing of the HTML document 2)…
Eddie
  • 109
  • 1
  • 11
0
votes
1 answer

jquery image preloading at the bottom of the page

I have a jQuery image preloading script like this: The problem is that the images are dynamically generated according to the…
user2643870
  • 965
  • 1
  • 10
  • 19
0
votes
1 answer

Preloader does not work online

I've made a project that uses a preloader in the scene 1 and the content continues in the scene 2. The preloader have the follow code: stop(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS,…
bio
  • 283
  • 1
  • 3
  • 19
0
votes
4 answers

Javascript : Preload loading image

I'm having trouble when displaying my loader in Javascript. Indeed, I have a lot of heavy videos in my assets folders, and when I load my page in Javascript, my image loader is showing only after a few seconds, whereas i would like it to be loaded…
Dorian
  • 21
  • 3
0
votes
1 answer

Trouble with preloading spritekit textures

I have this code inside of my initial view controller, in the function viewWillLayoutSubviews: SKTextureAtlas *obstacleAtlas = [SKTextureAtlas atlasNamed:@"gonImages"]; obstacleAtlas = [SKTextureAtlas atlasNamed:@"gonImages"]; SKTexture…
Max Hudson
  • 9,961
  • 14
  • 57
  • 107
0
votes
3 answers

iFrame .load event not waiting for preloading images to finish

I have built a portfolio site which contains an iFrame to display artworks. To display each artwork an html page containing a large image is loaded into the iFrame. The iFrame is hidden whilst empty (display:none) and is supposed to fade up only…
0
votes
1 answer

jquery plugin preloading images

I made a jquery plugin for displaying images on: http://jsfiddle.net/wfARj/ One of his feature is preloading images: function preload(){ for (var i = firstIndex; i <= lastIndex; i++) { images[i] = new Image(); …
Vlatko
  • 1,385
  • 1
  • 18
  • 35
0
votes
1 answer

How to preload html links from a menu and hide / show the content with javascript?

I have an html menu with links to other pages which have this menu included too. Very basic:
0
votes
1 answer

Relative path in preloading images

This may be a dumb question, but I've a real confusion and want to get an opinion from somebody who knows this in-out. Preloading images can be done either via JavaScript or CSS (to name two which I'm considering). I read the tutorials that if the…
Mahendra Liya
  • 12,912
  • 14
  • 88
  • 114
0
votes
3 answers

Preloading images with jQuery: error-handler always called

I'm building a gallery-slider-script and try to preload the images all in advance before appending them to the gallery. My design should do the following: Load the images and append them to the DOM into an invisible preloadContainer. If loading is…
Sven S
  • 103
  • 1
  • 1
  • 7
0
votes
1 answer

Preload Animations in Cocos2D iOS

Im facing a problem with a game Im developing. Ive got several animations and my problem is , they work properly but the first time they are loaded, there is a delay, just for the first time. I dont know how to solve it up. Ive read all the…
AlfuryDB
  • 289
  • 1
  • 4
0
votes
2 answers

Preload Images in iPhone application?

I have a sequence of images needed to display in a short time (PNG sequence). There are totally 31 PNGs in total, each with file size about 45KB. I have already loaded them with the following codes: imgArray = [[NSMutableArray alloc] init]; for(int…
Raptor
  • 53,206
  • 45
  • 230
  • 366
0
votes
1 answer

Multiple Pano2VR canvas tags

I'm building a web app that has multiple panoramas built with Pano2VR, which is basically a software that can spit out a textured WebGL cubic panoramas in a canvas tag. I want to put about 11 of these on a single page so that when the user requests…
wessoo
  • 31
  • 6
0
votes
1 answer

Error When Using Application Initialization in IIS 8

We are migrating our existing web applications from Server 2008 with IIS 7 to Server 2012 with IIS 8. When I set "Preload Enabled" to true the app pool serving the process immediately crashes with the below error. Log Name: Application Source:…
0
votes
0 answers

Server requesting image every time

i´m getting some strange behaviour when i deployed my web app on windows server with Microsoft IIS. creating an image object img = new Image() ; img.src = 'someimg.png' ; img.addEventListener('load', incrementImageCount ) ; I´m doing image…
Paranoid42
  • 118
  • 7