Skip to content

Instantly share code, notes, and snippets.

View NiklasJordan's full-sized avatar
🛰️
Make satellite data accessible for everyone.

Niklas Jordan NiklasJordan

🛰️
Make satellite data accessible for everyone.
View GitHub Profile

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.

@NiklasJordan
NiklasJordan / artikelliste.html
Created November 21, 2013 16:19
Fluid: TypoScript direkt ins HTML einbinden
<f:cObject typoscriptObjectPath="lib.content" />
<?php snippet('header') ?>
<?php foreach($page->children()->flip() as $article): ?>
<?php if($article->template() == 'link'): ?>
<!-- link html -->
<?php elseif($article->template() == 'article'): ?>
@NiklasJordan
NiklasJordan / gist:6210300
Created August 12, 2013 12:08
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...
setTimeout('_gaq.push([\'_trackEvent\', \'NoBounce\', \'Over 5 seconds\'])',5000);
<?php
// get a page
$editpage = $pages->get("/editme/");
$ignorefields = array("isOld","language_published");
$form = $modules->get("InputfieldForm");
$form->method = 'post';
$form->action = './';
<!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");
.zweispaltig {
column-count: 2;
column-gap: 20px;
}
@NiklasJordan
NiklasJordan / verlinkung.html
Created February 9, 2012 12:59
Martin Portfolio
<div class="grid_4">
<div id="port_bild">
<a href="thomas_sankara.html" name="seite2">
<img src="img/portfolio/thomas_sankara/thomas_sankara_thumb.jpg" style="border:1px solid #666;">
<span><p>Thomas Sankara Portrait<br>- Artwork</p></span>
</a>
</div>
</div>
@NiklasJordan
NiklasJordan / kirby_loop.php
Created February 7, 2012 22:29 — forked from bastianallgeier/kirby_loop.php
Loop (getkirby.com)
<?php snippet('header') ?>
<?php foreach($page->children()->flip() as $article): ?>
<?php if($article->template() == 'link'): ?>
<!-- link html -->
<?php elseif($article->template() == 'article'): ?>
@NiklasJordan
NiklasJordan / Gistson.php
Created June 17, 2011 17:10 — forked from phatduckk/Gistson.php
Embed a Gist in Wordpress
<?php
/*
Plugin Name: Gistson - Embedded Gist WP Plugin
Plugin URI: http://arin.me/blog/tag/gistson
Description: Use a shortcode [gist id="12345"] to embed A Gist from http://gist.github.com into your blog
Version: 0.1
Author: Arin Sarkissian
Author URI: http://arin.me
Copyright 2009 Arin Sarkissian