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 / Typoscript
Created June 7, 2011 14:55
More-Link Text ändern
plugin.tt_news._LOCAL_LANG.de{
more = Weiterlesen
}
@NiklasJordan
NiklasJordan / gist:1012411
Created June 7, 2011 14:56
Div richtig zentrieren
#test {
height: 100%;
margin: 0 auto;
position: relative;
width: 910px;
}
@NiklasJordan
NiklasJordan / gist:1012400
Created June 7, 2011 14:51
CSS Lifted corner Drop Shadow
<!DOCTYPE html>
<html>
<head>
<style>
.box{
width:200px;
height:100px;
@NiklasJordan
NiklasJordan / gist:1012404
Created June 7, 2011 14:52
Tags zu Artikel ausgeben - Wordpress
<?php the_tags('<h4>Tags:</h4> ',', ',''); ?>
@NiklasJordan
NiklasJordan / Typoscript
Created June 7, 2011 14:54
More-Link wrappen
plugin.tt_news.displayLatest {
subheader_stdWrap {
stripHtml = 1
crop = 150 | ... | 1
ifEmpty.field = bodytext
# the "more" link is directly appended to the subheader
append = TEXT
append.data = register:newsMoreLink
append.wrap = <p class="news-latest-morelink">|</p>
@NiklasJordan
NiklasJordan / gist:1012418
Created June 7, 2011 14:58
Breadcrumb-Navigation
<?php
$an="Sie befinden sind hier: ";
$home="http://www.drweb.de/"; // Hier Ihre Domain
$pie=explode("/","$_SERVER[PHP_SELF]");
$tr=" > "; // Alternativ: ':', '/'
$b=count($pie);
echo $an."<a href=\"".$home."\">Startseite</a>";
// Alternativ: 'Home', 'Start'
for($a=1;$a<$b-1;$a ){
$ta=$ta.$pie[$a]."/";
@NiklasJordan
NiklasJordan / gist:1012421
Created June 7, 2011 14:59
Seiten dynamisch generieren
<?php include("datei.php"); ?>
@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
@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'): ?>