Skip to content

Instantly share code, notes, and snippets.

Avatar
🌋
Works on tools that help humans in crisis situations.

Niklas Jordan NiklasJordan

🌋
Works on tools that help humans in crisis situations.
View GitHub Profile
View dabblet.css
.zweispaltig {
column-count: 2;
column-gap: 20px;
}
View nav_buf_jquery.html
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#nav li#sub ul").css({"display":"none"});
$("#nav li#sub").mouseover(function() {
$("#nav li#sub ul").stop(true, true).fadeIn("300");
View from.php
<?php
// get a page
$editpage = $pages->get("/editme/");
$ignorefields = array("isOld","language_published");
$form = $modules->get("InputfieldForm");
$form->method = 'post';
$form->action = './';
@NiklasJordan
NiklasJordan / gist:6210300
Created Aug 12, 2013
Analytics-Codes zur besseren Analyse der Bounce-Rate erweitern. In die Absprungrate zählen dann nur noch User die weniger als 5 Sekunden auf der Seite bleiben. Installation: Die Zeile einfach unter den letzten _gaq.push-Eintrag einfügen. Thats it...
View gist:6210300
setTimeout('_gaq.push([\'_trackEvent\', \'NoBounce\', \'Over 5 seconds\'])',5000);
View kirby_loop.php
<?php snippet('header') ?>
<?php foreach($page->children()->flip() as $article): ?>
<?php if($article->template() == 'link'): ?>
<!-- link html -->
<?php elseif($article->template() == 'article'): ?>
@NiklasJordan
NiklasJordan / artikelliste.html
Created Nov 21, 2013
Fluid: TypoScript direkt ins HTML einbinden
View artikelliste.html
<f:cObject typoscriptObjectPath="lib.content" />
View Menu for Personal Website.markdown

Menu for Personal Website

Many folks use these, and their merits can be argued, but for practical purposes, the "Hamburger" icon has familiarity going for it, at the very least. These animations add a little more transparency to what it means from a UI perspective by transforming it into another recognizable icon - the closing "x". Full walkthrough here: http://designcouch.com/home/why/2014/06/23/playing-with-hamburger-icon-animations/

Forked from Jesse Couch's Pen Menu "Hamburger" Icon Animations.

Forked from Jesse Couch's Pen Menu "Hamburger" Icon Animations.

Forked from Jesse Couch's Pen Menu "Hamburger" Icon Animations.

View framerjs_pager.js
# Set background
bg = new BackgroundLayer
backgroundColor: "#e67e22"
#####################
### Create Layers ###
#####################
layerA = new Layer
width: 130
View kirby.php
<?php if($page->isHomepage()): ?>
Foo
<?php else: ?>
Bar
<?php endif ?>
View keybase.md

Keybase proof

I hereby claim:

  • I am niklasjordan on github.
  • I am niklasjordan (https://keybase.io/niklasjordan) on keybase.
  • I have a public key ASAKrKT6eL8j61lOvI-CUVAik0ahCiNbfUGYlzGHBTpO6Qo

To claim this, I am signing this object: