FreeKB - Pace loading bar
MVC - Pace loading bar

Get the pace.js file.

  1. Go to http://github.hubspot.com/pace/docs/welcome/.
  2. Select pace.js.
  3. Copy the code to create the pace.js file.
  4. Add pace.js to the Scripts folder.

 

Get the CSS.

  1. Go to http://github.hubspot.com/pace/docs/welcome/.
  2. Click Donwload to select your preferred theme.
  3. Copy the code to create the pace.css file.
  4. Add pace.css to the Content folder.

 

Add the following to the /Shared/_Layout.cshtml file.

<head>
  <script src="/Scripts/pace.js"></script>
  <link href="/Content/pace.css" rel="stylesheet" />
</head>

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 32532 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |