Help Me To Fix This Loading Please
Dear All Users
I really need your help on this, I have a loader in my edge animate that i picked up from http://www.gayadesign.com/diy/queryloader-preload-your-website-in-styl e/
and this is the Only loader that works very well on Edge and Load anything Completely, loader had some bugs so i google it and find fixes for, and now i have this loader without any bug except One bug that loader has with Maxthon, IE, Chrome and Safari browsers, i'm going Crazy right Now and dont know what to do with this Bug, The bug is only at last seconds of loading, after load complete a symbol that created in the loading Script wont remove !!
if you try this on any edge Project you will see after loading is complete you just see a 0% in a black screen but if you zoom out your Browser you will see your project is there...
and the point is this is happen only with Maxthon, IE, Chrome and Safari, and works very well with FireFox ... !!!
i really need this loading, Here is the Final Script and CSS file that Loader Needs :
CSS File Link : http://www.mediafire.com/?kb11s474aipt39w
Script :
var QueryLoader = {
overlay: "",
loadBar: "",
preloader: "",
items: new Array(),
doneStatus: 0,
doneNow: 0,
selectorPreload: "body",
ieLoadFixTime: 2000,
ieTimeout: "",
init: function() {
if (navigator.userAgent.match(/MSIE (\d+(?:\.\d+)+(?:b\d*)?)/) == "MSIE 6.0,6.0") {
//break if IE6
return false;
if (QueryLoader.selectorPreload == "body") {
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
} else {
$(document).ready(function() {
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
//help IE drown if it is trying to die
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
ieLoadFix: function() {
if(jQuery.browser.msie){
if ((100 / QueryLoader.doneStatus) * QueryLoader.doneNow < 100) {
QueryLoader.imgCallback();
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
imgCallback: function() {
QueryLoader.doneNow ++;
QueryLoader.animateLoader();
getImages: function(selector) {
var everything = $(selector).find("*:not(script)").each(function() {
var url = "";
if ($(this).css("background-image") != "none") {
var url = $(this).css("background-image");
} else if (typeof($(this).attr("src")) != "undefined" && $(this).prop("tagName").toLowerCase() == "img") {
var url = $(this).attr("src");
url = url.replace("url(\"", "");
url = url.replace("url(", "");
url = url.replace("\")", "");
url = url.replace(")", "");
if (url.length > 0) {
QueryLoader.items.push(url);
createPreloading: function() {
QueryLoader.preloader = $("<div></div>").appendTo(QueryLoader.selectorPreload);
$(QueryLoader.preloader).css({
height: "0px",
width: "0px",
overflow: "hidden"
var length = QueryLoader.items.length;
QueryLoader.doneStatus = length;
for (var i = 0; i < length; i++) {
var imgLoad = $("<img></img>");
$(imgLoad).attr("src", QueryLoader.items[i]);
$(imgLoad).unbind("load");
$(imgLoad).one('load', function() { //IE Cache Fix
QueryLoader.imgCallback();
}).each(function() {
if(this.complete) $(this).load();
$(imgLoad).appendTo($(QueryLoader.preloader));
spawnLoader: function() {
if (QueryLoader.selectorPreload == "body") {
var height = $(window).height();
var width = $(window).width();
var position = "fixed";
} else {
var height = $(QueryLoader.selectorPreload).outerHeight();
var width = $(QueryLoader.selectorPreload).outerWidth();
var position = "absolute";
var left = $(QueryLoader.selectorPreload).offset()['left'];
var top = $(QueryLoader.selectorPreload).offset()['top'];
QueryLoader.overlay = $("<div></div>").appendTo($(QueryLoader.selectorPreload));
$(QueryLoader.overlay).addClass("QOverlay");
$(QueryLoader.overlay).css({
position: position,
top: top,
left: left,
width: width + "px",
height: height + "px"
QueryLoader.loadBar = $("<div></div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadBar).addClass("QLoader");
$(QueryLoader.loadBar).css({
position: "relative",
top: "50%",
width: "0%"
QueryLoader.loadAmt = $("<div>0%</div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadAmt).addClass("QAmt");
$(QueryLoader.loadAmt).css({
position: "relative",
top: "50%",
left: "50%"
animateLoader: function() {
var perc = (100 / QueryLoader.doneStatus) * QueryLoader.doneNow;
if (perc > 99) {
$(QueryLoader.loadAmt).html("100%");
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() {
QueryLoader.doneLoad();
} else {
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() { });
$(QueryLoader.loadAmt).html(Math.floor(perc)+"%");
doneLoad: function() {
//prevent IE from calling the fix
clearTimeout(QueryLoader.ieTimeout);
//determine the height of the preloader for the effect
if (QueryLoader.selectorPreload == "body") {
var height = $(window).height();
} else {
var height = $(QueryLoader.selectorPreload).outerHeight();
//The end animation, adjust to your likings
$(QueryLoader.loadAmt).hide();
$(QueryLoader.loadBar).animate({
height: height + "px",
top: 0
}, 500, "linear", function() {
$(QueryLoader.overlay).fadeOut(800);
$(QueryLoader.preloader).remove();
yepnope({nope:[
'queryLoader.css',
],complete: initialize});
function initialize (){
QueryLoader.init();
Note : when you are in the Edge and hit ctrl+enter the project loads very well in IE, Chrome, and Safari without any problems !! but when save and run HTML file the problem would appear !!
but if you run that HTML file in Firefox everything works like a charm...
i really don't know what can i do, i used all of my knowledge that i had in java Programming but no luck :'(
Please Help Me...
Note : you have to use this code inside of Preloader > Loading
& place CSS file in the main folder of your Edge Project
Zaxist
Hello Zaxist,
I must say this script is driving me nuts since the beginning.
How hard can it be for a (simple) percentage preloader to use on our (Edge Animate) website?
It was all so easy in Flash. A different story now.
I can see when pasting the code below (or yours) in the Preloader "loading" event, the code gets triggered 3 times.
So it seems it works (in Chrome) but 2 of the 3 loading overlays (+loadbar and text) won't remove like it should.
I don't have a solution for this either, but maybe someone with much more javascript experience can help us out with this one?
The nicest thing would be if the Adobe Edge Animate team provide us something simple we can put in the Preloader "loading" event like:
sym.$("ldr_txt").html(e.loaded+"%");
or maybe the use of (e.bytesloaded) and (e.bytestotal)?
Wouldn't that be great? Maybe they are working on this?
I really hope we finally can get a proper solution for this.
An animated gif (as we have now) is simply not enough.
Kind Regards,
Lester.
The below code is almost the same of yours, without the CSS.
var QueryLoader = {
overlay: "",
loadBar: "",
preloader: "",
items: new Array(),
doneStatus: 0,
doneNow: 0,
selectorPreload: "body",
ieLoadFixTime: 10,
ieTimeout: "",
init: function() {
if (navigator.userAgent.match(/MSIE (\d+(?:\.\d+)+(?:b\d*)?)/) == "MSIE 6.0,6.0") {
//break if IE6
return false;
QueryLoader.spawnLoader();
QueryLoader.getImages(QueryLoader.selectorPreload);
QueryLoader.createPreloading();
//help IE drown if it is trying to die
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
console.log("INIT")
ieLoadFix: function() {
if(jQuery.browser.msie){
if ((100 / QueryLoader.doneStatus) * QueryLoader.doneNow < 100) {
QueryLoader.imgCallback();
QueryLoader.ieTimeout = setTimeout("QueryLoader.ieLoadFix()", QueryLoader.ieLoadFixTime);
imgCallback: function() {
QueryLoader.doneNow ++;
QueryLoader.animateLoader();
getImages: function(selector) {
var everything = $(selector).find("*:not(script)").each(function() {
var url = "";
if ($(this).css("background-image") != "none") {
var url = $(this).css("background-image");
} else if (typeof($(this).attr("src")) != "undefined" && $(this).prop("tagName").toLowerCase() == "img") {
var url = $(this).attr("src");
url = url.replace("url(\"", "");
url = url.replace("url(", "");
url = url.replace("\")", "");
url = url.replace(")", "");
if (url.length > 0) {
QueryLoader.items.push(url);
createPreloading: function() {
QueryLoader.preloader = $("<div></div>").appendTo(QueryLoader.selectorPreload);
$(QueryLoader.preloader).css({
height: "0px",
width: "0px",
overflow: "hidden"
var length = QueryLoader.items.length;
QueryLoader.doneStatus = length;
for (var i = 0; i < length; i++) {
(function(i) {
var imgLoad = $("<img></img>");
$(imgLoad).attr("src", QueryLoader.items[i]);
$(imgLoad).unbind("load");
$(imgLoad).one('load', function() { //IE Cache Fix
QueryLoader.imgCallback();
}).each(function() {
if(this.complete) $(this).load();
$(imgLoad).appendTo($(QueryLoader.preloader));
})(i);
spawnLoader: function() {
var height = $(window).height();
var width = $(window).width();
var position = "fixed";
var left = $(QueryLoader.selectorPreload).offset()['left'];
var top = $(QueryLoader.selectorPreload).offset()['top'];
QueryLoader.overlay = $("<div></div>").appendTo($(QueryLoader.selectorPreload));
$(QueryLoader.overlay).css({
"background-color":"#000",
"z-index":"9999",
position: position,
top: top,
left: left,
width: width + "px",
height: height + "px"
QueryLoader.loadBar = $("<div></div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadBar).css({
"background-color":"#ccc",
height:"6px",
position: "relative",
top: "50%",
left: "0%",
width: "0%"
QueryLoader.loadAmt = $("<div>0%</div>").appendTo($(QueryLoader.overlay));
$(QueryLoader.loadAmt).css({
color:"#666",
"font-family":"'Trebuchet MS',Arial,Helvetica,sans-serif",
"font-size":"24px",
"font-weight":"700",
"line-height":"50px",
height:"50px",
width:"100px",
margin:"-60px 0 0 -50px",
position: "relative",
top: "50%",
left: "52%"
//console.log("SPAWNLOADER")
animateLoader: function() {
var perc = (100 / QueryLoader.doneStatus) * QueryLoader.doneNow;
if (perc > 99) {
$(QueryLoader.loadAmt).html("100%");
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() {
QueryLoader.doneLoad();
} else {
$(QueryLoader.loadBar).stop().animate({
width: perc + "%"
}, 500, "linear", function() { });
$(QueryLoader.loadAmt).html(Math.floor(perc)+"%");
doneLoad: function() {
//prevent IE from calling the fix
clearTimeout(QueryLoader.ieTimeout);
var height = $(window).height();
//The end animation, adjust to your likings
$(QueryLoader.loadAmt).hide();
$(QueryLoader.loadBar).animate({
//height: height + "px",
//top: "0%"
}, 500, "linear", function() {
$(QueryLoader.overlay).fadeOut(800);
$(QueryLoader.preloader).remove();
console.log("LOADED")
QueryLoader.init();
Similar Messages
-
I have problem with account that i can't make update or buy from app store
There is massage appear in my payment page that i must contact with i tunes support to complete this transaction
Please help me to fixe this problem as soon possible
Hany hassan
0096597617317
0096596677186
Thank youYou need to Contact iTunes Support...
Apple Support iTunes Store Contact Us -
I can't forcequit firefox and shutdown my computer, nor can I open up any other programs or applications. Does anyone know how to fix this? please help this poor soul.
You can force quit applications
>Force quit
if that does not work you can force quit a computer shut down by hold the power button for an extended period. -
After upgrading my iPhone 5 to iOS 7 iTunes will not stay open once the app launches...does anyone know how to fix this? Please Help :)
I have exactly the same problem. I too have tried everything that's been suggested, but still not working. Don't really what to do next? I have an iPhone 4S.
-
I accidentally dropped my friend's macbook air that was in a book bag. The keyboard is working because I can see the light but the screen is black and it won't turn off. How should I fix this? Please Help ME!!
I tried to turn it off and it didn't work... and I held on to the shift key too and it still doesn't work..
Please help me..Accidental damage is not covered under Apple warranty. And it seems there is much accidental damage. Only a Genius Bar tech looking at it can tell how much it will cost to repair.
Cost to repair will be high, I suspect (though Genius Bar will confirm/deny.
There is no gentle way to say this sir/ma'am ... someone will need to pay for your friend's MBA repairs. -
I downloaded Itunes to my computer today to update my ipod's ios (4.2.1 yes i know im way behind) but when i click check for updates it tells me my ios is the current one. How can i fix this? please help!
and at the same time....
I guess you can be glad that you at least aren't "way behind"!
Cheers,
GB -
I just bought a iphone 3gs from my friend. when he gave it to me it was in recovery mode. Now everytime i try to Restore it i get the error 1603. is there any way to fix this ? please help !
iOS: Unable to update or restore
Are you sure your friend didn't jailbreak it?
If so, save yourself a lot of time and trouble - throw it in the trash. -
Safari won't work. It flashes an alert. Alert says that a Suspicious Activity Might Have been Detected. Major Security Issue. How do i fix this? Please help. Thanks!
You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
If you have trouble following those instructions, see below.
Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
/Library/LaunchDaemons
In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
com.something.daemon.plist
and
com.something.helper.plist
Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
/Library/LaunchAgents
In this folder, there may be a file named
com.something.agent.plist
where the string something is the same as before.
If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
Open this folder:
/Library/Application Support
If it has a subfolder named just
something
where something is the same string you saw before, drag that subfolder to the Trash and close the window.
Don't delete the "Application Support" folder or anything else inside it.
Finally, in this folder:
/System/Library/Frameworks
there may an item named exactly
v.framework
It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
Don't delete the "Frameworks" folder or anything else inside it.
If you didn't find the files or you're not sure about the identification, post what you found.
If in doubt, or if you have no backups, change nothing at all.
The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates (OS X 10.10 or later)
or
Download updates automatically (OS X 10.9 or earlier)
if it's not already checked. -
good day actually i purchase second hand iphone from Swiss and we i try to open it in Egypt the phone showing it's locked as it was working in Swiss, so no one will help me like Apple it self just i want to know what is the way to fix this issue please?
You need to find out who the carrier was in Switzerland and see if they will unlock the device. The carrier with the lock is the only one that can authorize the unlock. You may need to check with the original owner and see if they can get it unlocked by the carrier if you do not qualify.
-
My macbook air 13inch got shutdown 3 times by itself. I tried installing SMC package as suggested but my computer is telling the update is not required. Could you please help me on fixing this issue. Thanks.
What version of OS X are you using? Exactly which MBA model do you have?
-
My itunes just pinwheels forever and never loads. I have tried force quitting it and retarting my computer. How can I fix this ASAP please?
had similar issues with my macbook(2010 running lion) and after a few restarts it would not restart anymore and is at the service center since saturday. i would suggest you do not use iTunes until this issue is addressed. seems to be macbooks that are having freeze up issues.
-
my ipod touch was interrupted during an update and now my itunes cant recognise the device, and ive tried to restore it but it just keeps coming up with the usb and itunes picture. how do i fix this? Please help
http://support.apple.com/kb/HT1808
-
I have a mac book pro and have already downloaded adobe flash player. However when i go to watch a video it says "Blocked Plug In". But my adobe is already up to date. Can someone help me to fix this so i can watch videos?
If you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 7. Back up all data before making any changes.
Step 1
You might have to log out or reboot before a Flash update takes effect.
Step 2
In the Safari preference window, select
Privacy ▹ Remove All Website Data
Close the window. Then select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Delete All. Close the preference pane.
Step 3
If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
Step 4
If you get a warning of a "blocked" or "outdated" plug-in, then from the menu bar select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Check Now. Quit and relaunch the browser.
If the warning persists, triple-click anywhere in the line below on this page to select it:
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
Right-click or control-click the highlighted text and select
Services ▹ Open
from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
Step 5
Open this folder as in Step 4:
/Library/Internet Plug-Ins
Delete the following item, or anything with a similar name, if present:
Flash Player (failing).plugin
You may be prompted for your login password.
Step 6
Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
Step 7
If you get a "missing plug-in" error, select
Safari ▹ Preferences... ▹ Security
from the Safari menu bar and check the box marked
Allow (or Enable) plug-ins
Then click the button marked
Manage Website Settings...
if present and make sure that the website is not blocked for Flash.
Step 8
Select
Safari ▹ Preferences... ▹ Extensions
from the Safari menu bar. If any extensions are installed, disable them. -
TS1368 how can i fix this error:"please contact itunes support to complete this transaction"
how can i fix this error:"please contact itunes support to complete this transaction"
Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
To contact product and tech support visit online support site.
For iTunes: Apple Support for iTunes - Contact Us -
can't create apple id...account limit reached...i have just bought this iphone second. how can i fix this problem please.
appleid.apple.com
^ There's your website, go there, create apple id, smile
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
There's the link part of it , Bigger smile
Maybe you are looking for
-
Laser keyboard and holographic display
-
To print a Pages Dokument from Ipad Apple support says: "When exporting documents, including PDF, ensure the target computer has access to the fonts used in the document." My Target Computer is a Windows 7 PC. Where do I get access to the fonts of th
-
Column headers using UTL_FILE
Hi All, I created an EXCEL sheet in PL/SQL using utl_file.Now i need to set column names in the EXCEL file. How to do that.
-
Hi, I am seeing some issue with cache - Is it possible to turn off cache for all reports in OBIEE. Or Is it possible to purge cache automatically from RPD and from answer? Thanks, Poojak
-
Configure Time Capsule for remote access
I have a second generation 2TB Time Capsule, operating on Bridge Mode, connected to an Arris Touchstone Telephony Gateway TG862. I want to configure Back to My Mac to be able to access the Time Capsule remotely. I've followed the basic steps and get