Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
loading bar
#1
This user has been denied support. This user has been denied support.
How to add loading bar like youtube?

[Image: tumblr_mjju8y0CXW1qea4hso1_1280.jpg]
Reply
#2
This user has been denied support. This user has been denied support.
Bump.
Reply
#3
there are few jquery based plugins to achieve that... 

NProgress is one such plugin.. you can grab it from: https://github.com/rstacruz/nprogress...

the git page has details about uploading and installing it...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#4
This user has been denied support. This user has been denied support.
This seems a bit to complicated for me :/
Reply
#5
all you need to do is to upload the nprogress.js and nprogress.css to your forum (probably inside jscripts folder) using a FTP and then add following codes to headerinclude template...

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/nprogress.js"></script>
<link type="text/css" rel="stylesheet" href="{$mybb->asset_url}/jscripts /nprogress.css">
<script>
NProgress.configure({ showSpinner: false }); //remove this to show a spinner
$(document).ready(function() {
NProgress.start();
NProgress.done();
});
</script>
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)