Questions tagged [loaded]

138 questions
4
votes
1 answer

when use junit4 + powermock to execute all test suites , I got an error : swt-win32-3650.dll already loaded in another classloader

when use junit4 + powermock to execute all test suites , I got an error : swt-win32-3650.dll already loaded in another classloader alltest.java: @RunWith( Suite.class ) @SuiteClasses( {test1.class, test2.class} ) public class…
红杰 武
  • 41
  • 3
4
votes
3 answers

Check if an image is loaded in jQuery (or plain JavaScript)

I know there's a load() event in jQuery which is triggered when the image has finished loading. But what if the event handler is attached after the image has finished loading? Is there a property like $('#myimage').isLoaded() to check if the image…
laurent
  • 79,308
  • 64
  • 256
  • 389
3
votes
4 answers

How can I run my code after Activity is made visible?

I have an Activity with 3 spinners. These spinners get their data from a web-service by a method that takes about 1 minute to be completed. I want to load the Activity first and after it is made visible, call that web-service method and load data. I…
Bobs
  • 21,870
  • 33
  • 134
  • 221
3
votes
3 answers

How to know if window has finished loading?

I am building an app using WPF and I have 2 animations I want to have delay between them. but when I try to that in the MainWindow_Loaded(object sender, RoutedEventArgs e) event, it just delays while loading and I miss the 1st animation. any help?
eric.itzhak
  • 14,702
  • 26
  • 83
  • 137
3
votes
2 answers

Rails - Rake error: Library not loaded

I have read just about every post regarding rails errors looking for the solution to my issues and while I have resolved some, I come up with more. I upgraded to Snow Leopard and installed RVM and Rails according to the Agile Development with Rails…
David M
  • 31
  • 2
3
votes
1 answer

Pause Nivo Slider

I'd like to pause the Nivo slider for 5 seconds before it runs but show the first image. So I'll need to add some code in the property afterLoad I believe. I've tried setTimout before running the slider code be it doesn't give the result I'd…
PapaSmurf
  • 1,015
  • 2
  • 14
  • 26
3
votes
2 answers

jQuery check if image is loaded

I need help with the following code which doesn't work: var timeoutID=0; var currentImage=0;//first image is position 0 in arrImages array var arrImages=[bla bla bla array of image URLs]; function slideShow() { if($('#myImg').complete)// …
Francisc
  • 66,160
  • 57
  • 172
  • 264
3
votes
2 answers

Problems with spring-loaded on a spring-boot application

I use spring-boot version 1.3.5.RELEASE together with springloaded 1.2.5.RELEASE. I followed the instructions at http://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html and…
thama
  • 31
  • 4
3
votes
1 answer

What's wrong with my $firebase $loaded promise in a service?

I am learning AngularJS and Firebase and using AngularFire 0.8.2 (Old I know). I want a function (getAccount) to return an array identical to initAccount from firebase. The firebase URL works but I don't know how to make the function return the…
P0lska
  • 421
  • 5
  • 16
3
votes
1 answer

Error with smartGWT

With smart gwt 4 when I run the application I get the following error Core SmartClient JavaScript libraries appear not to be loaded. If inheriting the NoScript SmartGWT modules, verify that the HTML file includes tags to load the SmartClient module…
Duest
  • 31
  • 1
  • 2
3
votes
0 answers

Call WPF Webbrowser invokescript() when application just loaded

I've been trying to call an invokescript on WPF when the application just loaded. I passed in the parameter that I get from the database to invokescript after the WPF has been loaded. However, I keep getting Unknown name. (Exception from HRESULT:…
violato
  • 49
  • 6
2
votes
1 answer

Triggering a Theme Change Which Raises FrameworkElement.Loaded/Unloaded

According to MSDN, the FrameworkElement events Loaded and Unloaded can be triggered by user-initiated system theme changes. I've experimented with changing various theme, color and sound settings on Windows 7 without seeing either of those WPF…
Ben Gribaudo
  • 4,842
  • 1
  • 34
  • 72
2
votes
1 answer

Validate a form loaded from ajax

so here's my problem. i have a html page with a simple form and some javascript (jquery) code to validate it, ok then. this page would looks like this: test.html