Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes plugin will not load resources #123

Open
julkue opened this issue Feb 22, 2015 · 5 comments
Open

Sometimes plugin will not load resources #123

julkue opened this issue Feb 22, 2015 · 5 comments

Comments

@julkue
Copy link

julkue commented Feb 22, 2015

Hi,

I often get the following result when I try to view my webapplication via the "file:///" protocol (windows):
0percentage
I don't know if it is a problem of the protocol, but however I need to fix this.
I call the plugin like:

(function(global) {
    var VRSFramework  = function(){

        /**
         * Inits the component
         */
        function init(){

        }

        // Preload resources and call init function
        $(function () {
            $("body").queryLoader2({
                barColor : "#efefef",
                backgroundColor : "#111",
                percentage : true,
                barHeight : 1,
                minimumTime : 200,
                fadeOutTime : 500,
                onComplete: function(){
                    init();
                }
            });
        });

        return this;
    };
    var tmpVRSFramework = new VRSFramework();
})(this);

I already tried to remove all CSS (background-images also), but that will not solve the problem. What can I do to debug this issue? Or what could be the problem?

@Gaya
Copy link
Owner

Gaya commented Feb 23, 2015

I will look into this. It's a new one. Is there a reason not to use http and a local webserver?

@julkue
Copy link
Author

julkue commented Feb 23, 2015

Yes to test fallback solutions for offline web apps (e.g. a webapp that the user can download and run offline - this is common used in the technical documentation sector)

@Gaya
Copy link
Owner

Gaya commented Feb 23, 2015

Alright! Will look into it.

@julkue
Copy link
Author

julkue commented Mar 25, 2015

4 weeks have passed. Some news?

@Gaya
Copy link
Owner

Gaya commented Mar 25, 2015

Sorry man, I have had very little time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants