question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trying to get basic example working on website load and nothing happens

See original GitHub issue

I have this in the head of my pages:

<script src="<?php bloginfo('template_directory'); ?>/loadgo-master/loadgo.min.js" type="text/javascript"></script>
<script>
$(window).load(function () {
    $("#loaderlogo").load(function() {
      $('#loaderlogo').loadgo();
    }).each(function() {
      if(this.complete) $(this).load();
    });
});
</script>

With the loaderlogo image (inside a div) as the first html element after the body. Running jquery 2.2.3 (always updated to latest versions) - all I see is a logo at the top of the page, not centered, no overlay on page, and never begins loading. Is it a jquery version issue? Not getting any errors. Testing in Firefox.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
forwardtrendscommented, Apr 29, 2016

No problem I’ll share if and when I get it all sorted out - thanks again!

0reactions
franveronacommented, May 8, 2016

I’m unable to reproduce your error. I did a fresh installation of Wordpress (v4.5.1), then LoadGo and all seems to work fine.

What version of Wordpress and PHP are you using?

PS: can you open the issue in the repository, please? https://github.com/franverona/LoadGo-for-WP

EDIT: plugin is now officially released https://wordpress.org/plugins/loadgo-for-wp/

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Do When a Website Won't Load | PCMag
If you already have a VPN, fire it up and see if the site loads properly. (Alternatively, if your VPN was already on...
Read more >
Websites don't load - troubleshoot and fix error messages
First, let's figure out where the problem is · Open a new tab and check to see if you can load another website...
Read more >
Why Can't I Open Any Web Pages When Connected to the ...
If you can connect to the Internet, but web pages do not open, the problem is somewhere in the send and receive process....
Read more >
10 Reasons for Slow Website Loading (With Solutions)
Understand these 10 core reasons for slow website loading and learn how to resolve these issues & your traffic, revenue, and credibility.
Read more >
Top 10 Reasons for Slow Loading Websites (And How to Fix It)
Top 10 Reasons Your Site is Loading Slow (And steps you can take to fix it!) · 1. Unoptimized Images · 2. JavaScript...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found