Skip to content

Instantly share code, notes, and snippets.

Avatar
🛰️
Make satellite data accessible for everyone.

Niklas Jordan NiklasJordan

🛰️
Make satellite data accessible for everyone.
View GitHub Profile
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.

@NiklasJordan
NiklasJordan / Typoscript
Created Jun 7, 2011
More-Link Text ändern
View Typoscript
plugin.tt_news._LOCAL_LANG.de{
more = Weiterlesen
}
@NiklasJordan
NiklasJordan / gist:1012411
Created Jun 7, 2011
Div richtig zentrieren
View gist:1012411
#test {
height: 100%;
margin: 0 auto;
position: relative;
width: 910px;
}
@NiklasJordan
NiklasJordan / gist:1012400
Created Jun 7, 2011
CSS Lifted corner Drop Shadow
View gist:1012400
<!DOCTYPE html>
<html>
<head>
<style>
.box{
width:200px;
height:100px;
@NiklasJordan
NiklasJordan / gist:1012404
Created Jun 7, 2011
Tags zu Artikel ausgeben - Wordpress
View gist:1012404
<?php the_tags('<h4>Tags:</h4> ',', ',''); ?>
View Typoscript
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 Jun 7, 2011
Breadcrumb-Navigation
View gist:1012418
<?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 Jun 7, 2011
Seiten dynamisch generieren
View gist:1012421
<?php include("datei.php"); ?>
@NiklasJordan
NiklasJordan / Gistson.php
Created Jun 17, 2011 — forked from phatduckk/Gistson.php
Embed a Gist in Wordpress
View Gistson.php
<?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
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'): ?>