Instantly share code, notes, and snippets.

View bridge.js
/*
- JS History Router
- books.js loader
- next / prev page -> Buttons + swipe + x-scroll
- Links überschreiben
- GA
- Cache aktivieren
- Parallax Header
- Video-Youtube-Weiche
View config.php
<?php
/*
Append to your config.php
*/
c::set('routes', array(
// SYNCVIEW Route for JSON POST request calls helper to check target url for last modification
array(
'pattern' => 'syncview',
'action' => function() {
// check if a request happend
View baylys-kiteboarding-child
# Baylys Kiteboarding Child
Just a simple start for a WordPress child theme for keyboarding based on baylys.
This file should give the gist a meaningfull title, only ;-)
View Localizable.strings
// Shelf Navigation Title at the top of the main Issues List
"SHELF_NAVIGATION_TITLE" = "Baker Kiosk";
// Products alert
"PRODUCTS_REQUEST_FAILED_TITLE" = "Fehler beim Verbinden mit dem App Store";
"PRODUCTS_REQUEST_FAILED_CLOSE" = "Schließen";
// Info button
"INFO_BUTTON_TEXT" = "Info";
View animation-iteration-event.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta id="viewport" name="viewport" content ="width=device-width, initial-scale = 1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Cover Parallax Test</title>
<style>
View parallax-header.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta id="viewport" name="viewport" content ="width=device-width, initial-scale = 1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Parallax Header</title>
<style>
View stripteaser_engine.js
(function($) {
// GLOBALS
$.STSR_FOCUS_TARGET;
$.STSR_ENGINE;
$.STSR_ENGINE_SPEED;
$.STSR_ENGINE_PROCESSES = [];
$.STSR_ID = 0;
$.ENGINE = {// initialize values