loading

Jquery: Set a timeout of a page for loading

Hi to all, i would like make a script that detect if the page is full loading in 30 or else refresh the page with method (CTRL + F5) of Firefox that clear the cache of that page and refresh.. Is possibile to make? P.S: If is not possibile to make in Jquery i can use normal javascript. Thanks in advance. Kind Regards. Luca. ...

Open Browser in Background - loading web page in background

Hi i'am trying to load an url in background using the default browser. So the user can switch to the browser whenever he finished reading the current activity and the page is already loaded. Is there a way to fire an Intent (Browser) but stay in the original Activity? I'am aware of the FrameLayout approach with setting the visibilty b...

Getting buffering progress value in HTML5 video player

In Firefox when I see simple video element in this example (http://bit.ly/ki7hm), it has default browser controls. Right after page is loaded video starting to load, and I see how buffering (loading) line is moving to the right side of the default browser controls. I wish to ask how to get this value of a buffer?! Because I have tried ...

Loading External Swfs in Adobe Air

Hey, Can anybody help me on how to load external swf's in adobe air. Every time i try i get a security sandbox violation message. Can anybody help me with this ...

GIF loading stops when I show it

Look this code: $('#loader').show(); $.post( '/action.php', function( data ) { // do anything with data $('#loader').hide(); } ); The loader DIV has a GIF image simulating loading state, This code works well but the GIF stops when is waiting the data (post called) ... I want the gif moves ever independently of the other codes in ...

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

Basically that's the question (parentheses are important) ...

How to execute function after image is loaded into a div with jquery?

I'm fairly new to jquery and still finding my way in it. I'm trying to execute a function, once an image is loaded into a specific div. Here is the code I have. $('#advanced-slideshow img').load(function() { var idx = $('#mycarousel li a.activeSlide').data('index') - 2; carousel.scroll(idx); ...

Loading screen won't appear on device - Cocoa OS

Hey all, I've created a loading/splash screen that loads at the beginning of my app, just simply showing the company name. It works great on the simulator, but for some reason I just get a black screen when I load the game on my itouch. Any Ideas? I use the sleep(5); method of creating a loading screen. ...

How to tell if an image has loaded correctly

Is there a way to tell, after the fact, whether an image (placed with the <img> tag, not via JS) has loaded correctly into a page? I have a gallery of head shots, and occasionally the third-party image server ends up serving up a 404. I can change the server-side code to use an onerror="showGenericHeadshot()", but I really want to avoid ...

Prevent displaying unstyled page when doing a page-refresh.

How could I prevent my page displaying an unstyled view while the page is loading ? I think its probably because of the order of loading different JavaScript-files. Is there a best-practice, for example loading plugins before my own code ? Should every jQuery/.js-function called after document.ready or windows.load ? link to page Than...

Funky SWF loading problem in Flash CS5 with AS3

I've looked for the solution to my problem on SO, Google and Bing, but to no avail. NB This is regarding AS3/CS5 on Windows 7 Pro x64. I have a SWF that loads another SWF in AS3. Yesterday morning it was working fine. Then I made a bunch of changes to another SWF, completely separate, and to some XML content files and the next time...

Pros and cons of using embedded images instead of dynamic loading

Hi everyone! I was just wondering what are the pros and cons of using embedded images instead of dynamic loading? Because when making games on pure AS3 (without Flash IDE), its a pain to manually embed all the assets needed... That makes your code sloppy, besides you don't have control to automatically change the hud, for example, by on...

Show loading GIF in jQuery without AJAX?

I know how to do this with $(gif).show(); $.post( action, data, function(result) { $(gif).hide(); } ); // using ajaxStart and ajaxStop is a better way too But, I don't know how to do it without using post, I tryed $(gif).show(); doAction(); // No post... $(gif).hide(); The problem is, while doAction function is running the $(...

WPF loading animation on a separate UI thread? (C#)

Okay, I have a loading animation that runs while a large DataTable is populated to let the user know that the program has not frozen. I have the animation working fine, but it freezes while the DataTable is updatingv as well. Is there some way to have multiple UI threads, so that the animation will continue to run while the DataTable is ...

Hook into the moment when the Collection is filled and removing then the Loading Adorner?

Hello, I am grouping data in a WPF DataGrid. that takes very long so I want to show a Loading bar/adorner. I am using MVVM. How would you remove/fade out the loading bar/adorner when the datagrid has finished the grouping. How do I get the moment when the Data is grouped 100% ? Can this somehow be set in xaml or retrieved etc... ? ...

Loading an ico image switches red channel with the blue one

Hello, This is what I do: I have a favicon.ico in my resources (for example http://google.com/favicon.ico) Then I have a UIImageView which loads that image. self.imgTestIcon.image = [UIImage imageNamed:@"favicon.ico"]; The image showed in the simulator or the in iPhone is the same but with the red color switched with the blue one. C...

asp.net javascript loading order

Is there a way to run my own javascript after all JS files have loaded and ASP.NET javascript has finished initialized and loaded. I am currently using jQuery to run javascript after page load and that does not guarantee it will load after ASP.NET javascript. Thanks ...

Importing assemblies into IronPython from another assembly

I have an IronPython 2.6/2.7 script I am writing which imports a lot of assemblies. In other words, at the top of the script it does this... clr.AddReference( "System.Xml" ) import System.Xml Except it doesn't do this for 1 assembly, but for 10 assemblies. Some of the modules are built-in .NET assembllies and some are assemblies I ...

How to Prevent SWF File from Loading Again After Button Click

Hi. I'm programing in ActionScript 3, and loading a swf file. I want to know how to prevent an already loaded swf file from loading again after clicking on a button. (ie. I click on the About button, which loads the swf file called "about". I click on the About button again, and the About swf file doesn't load, because its already loaded...

2 UIScrollView detect current page and loading correct ppage

Hi, First part of the question: Detecting current images being displayed in scrollview A and B i want to place two UIScrollViews in my main view. Very simply done. So ive placed UIScrollView A above UIScrollView B. so it looks like this: Graphical representation ________ | A | ScrollViewA is above ScrollViewB |______| | B |...