Questions tagged [loading]

Loading refers to retrieving necessary information for display or functionality.

Loading refers to retrieving necessary information for display or functionality. It often occurs between a client and a server computer, and can be indicated with different animations. Use this tag when asking questions about how to load information and errors concerning loading.

3827 questions
33
votes
4 answers

Stop the browser "throbber of doom" while loading comet/server push iframe

When using Comet, or Ajax Long Pull techniques - an iframe is usually used. And while that iframe is waiting for the long connection to close, the browser is spinning its throbber (the progress/loading indicator). Some websites, for example…
Evgeny
  • 6,533
  • 5
  • 58
  • 64
32
votes
7 answers

Dynamically loading css file using javascript with callback without jQuery

I am trying to load a css file dynamically using javascript and cannot use any other js library (eg jQuery). The css file loads but I can't seem to get a callback to work for it. Below is the code I am using var callbackFunc = function(){ …
U.Ahmad
  • 618
  • 1
  • 6
  • 8
31
votes
1 answer

What's the difference between : 1. (ajaxStart and ajaxSend) and 2. (ajaxStop and ajaxComplete)?

Basically that's the question (parentheses are important)
CRISHK Corporation
  • 2,948
  • 6
  • 37
  • 52
30
votes
7 answers

Display loading image while post with ajax

I know there are thousands of examples on the internet, but I want for the script I already have to display a loading gif image while the data is retrievedd. My java knowledge are poor, therefore I'm asking how to change the following:
user301017
29
votes
3 answers

Aggregate Root references other aggregate roots

I'm currently working a lot with DDD, and I'm facing a problem when loading/operating on aggregate roots from other aggregate roots. For each aggregate root in my model, I also have a repository. The repository is responsible for handling…
28
votes
2 answers

Are .dll files loaded once for every program or once for all programs?

I have a simple small question which someone who knows will be able to answer easily, I searched google but couldn't find the answer. There are many programs running at once on a computer, and my question is: when a program loads a DLL, does it…
Nilbert
  • 1,112
  • 3
  • 14
  • 26
28
votes
2 answers

Loading image src using a variable containing base64 data in AngularJS

Loading image using variable containing base64 data in AngularJS I am trying to find the right way to load a image source from a variable containing base64 encoded image data (for example pulled from a canvas using toDataURL(); ). At first I just…
Wilt
  • 41,477
  • 12
  • 152
  • 203
27
votes
2 answers

loading NSBundle files on iOS

I'd like to create a project that has a very flexible graphical user interface (skinnable). In order to make this possible, I'd like to load a NSBundle from an external resource, e.g. a website. The bundle should contain nibs that correspond to some…
Wolfgang Schreurs
  • 11,779
  • 7
  • 51
  • 92
26
votes
3 answers

React: Show loading spinner while images load

I have a React app which makes a call in useEffect to my API which returns a list of URLs to use as imy image srcs. I am using react-loader-spinner to show a loading spinner component while my images load. I have a loading variable in useState to…
blueprintchris
  • 1,053
  • 1
  • 16
  • 38
26
votes
4 answers

How to show progress of Axios during get request (not download or upload)

I want is to show a progressbar while Axios is getting my requests. axios package has both onDownloadProgress and onUploadProgress to show a progressbar during download or upload, but no progress bar during get request. I've searched a lot of…
Cédric Bloem
  • 1,447
  • 3
  • 16
  • 34
25
votes
4 answers

Java - Loading dlls by a relative path and hide them inside a jar

PART 1 I am developing a Java application that should be release as a jar. This program depends on C++ external libraries called by JNI. To load them, I use the method System.load with an absolute path and this works fine. However, I really want to…
supertreta
  • 359
  • 1
  • 6
  • 10
24
votes
4 answers

iOS App - Set Timeout for UIWebView loading

I have a simple iOS native app that loads a single UIWebView. I would like the webView to show an error message if the app doesn't COMPLETELY finish loading the initial page in the webView within 20 seconds. I load my URL for the webView within my…
adamdehaven
  • 5,890
  • 10
  • 61
  • 84
23
votes
2 answers

Where can I find a variety of "while you wait" spinning gear cog gif images

I am looking for an image generator for images that: Look like cogs, wheels, progress bars, etc. Spin. Are small, less than 20-30 pixels. 16 might be good, i.e. 'icon size' Are simple, just 2D no need for 3d image. All the examples I found are…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
21
votes
4 answers

accessing UIImage properties without loading in memory the image

As you know the iphone guidelines discourage loading uiimages that are greater than 1024x1024. The size of the images that i would have to load varies, and i would like to check the size of the image i am about to load; however using the .size…
koda
  • 741
  • 1
  • 7
  • 18
21
votes
4 answers

How to load packages in Octave permanently?

I am using Octave on Window vista. I am using 4 package in my code. But every time I restart octave, I have to load manually from command line, 'pkg load ...' Is there a way to load them permanently so that whenever Octave is started it finds them…
TonyParker
  • 2,024
  • 5
  • 18
  • 27