Using SVGs for sprites results in much worse performance in browsers. Try changing between PNG and SVG in the box above and watch the framerate drop.
A Pen by Adrian Osmond on CodePen.
Using SVGs for sprites results in much worse performance in browsers. Try changing between PNG and SVG in the box above and watch the framerate drop.
A Pen by Adrian Osmond on CodePen.
/* | |
* Author: David Bamber <dbamber@gmail.com> | |
* http://bmbr.co | |
* | |
* Usage: node test.js -u <googleuser> -p <googlepass> | |
* node test.js -u <googleuser> -p <googlepass> -regex -url /feeds/default/private/full | |
* | |
* Optional Fags: | |
* -url [url]: requests a different uri from docs api, defaults to /feeds/default/private/full/-/table | |
* -regex: applies a regex to try and sanitize output |
@media only screen and (your-widths) { | |
.row .class-1 { | |
position: relative; | |
width: 8.33333%; } | |
.row .class-2 { | |
position: relative; | |
width: 16.66667%; } | |
.row .class-3 { |
The below configuration will pause the tour after tooltip 2 has appeared (index of 1). In the postStepCallback
we check to see if the tour has been paused and fire some code.
<script>
$(window).load(function() {
$('#joyRideTipContent').joyride({
pauseAfter : [1],
postStepCallback : function (index, tip) {
if ($(this).joyride('paused')) {
console.log('Hey there, you\'ve paused the tour.');
/* The API controller | |
Exports 3 methods: | |
* post - Creates a new thread | |
* list - Returns a list of threads | |
* show - Displays a thread and its posts | |
*/ | |
var Thread = require('../models/thread.js'); | |
var Post = require('../models/post.js'); |