Author Archives: matt

Bootstrap 4 Tooltips with Aurelia CLI

This post shows how to use Bootstrap 4 Tooltips in an Aurelia project, using the Aurelia CLI. Create a new project using the Aurelia CLI. Choose the default options. Install Bootstrap 4, jQuery, and Tether. The commands above download the … Continue reading

Posted in Uncategorized | 2 Comments

Statistics Page with Aurelia and Bootstrap 4

I really like how the New York Times displays interesting statistics about their business on their corporate website, www.nytco.com. The statistics are overlaid on photographs. They change when the page is refreshed. In this post we’ll use Aurelia and Bootstrap … Continue reading

Posted in Uncategorized | Leave a comment

SVG Background Image with PNG Fallback using Modernizr

In this example Modernizr is used to detect SVG support. CSS is then used to display the image of a bike (PNG or SVG) as the background for a DIV. SVG is a scalable vector graphic, it will always be … Continue reading

Posted in Uncategorized | Leave a comment

Load AngularJS after Office Initialized

This JavaScript code snippet shows how to load an AngularJS application after Office has been initialized (or some other event has occurred). The key point here is that you need to do a manual bootstrap because the DOMContentLoaded event will … Continue reading

Posted in Uncategorized | 2 Comments