Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Erwin Heiser eheiser

View GitHub Profile
@eheiser
eheiser / SassMeister-input-HTML.html
Created Aug 31, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="container">
<div class="one">1</div>
<div class="two">2</div>
<div class="three">3</div>
<div class="four">4</div>
</div>
@eheiser
eheiser / SassMeister-input-HTML.html
Created Aug 31, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="page">
<header>
<a class="logo" href="#"><img src="http://app.reminderbear.com/assets/images/panda-bear-large.png"></a>
<h1 class="company-name">Pandas 'R Us</h1>
<nav>
<ul>
<li class="nav-item"><a href="#">Nav 1</a></li>
<li class="nav-item"><a href="#">Nav 2</a></li>
<li class="nav-item"><a href="#">Nav 3</a></li>
<li class="nav-item"><a href="#">Nav 4</a></li>
@eheiser
eheiser / SassMeister-input-HTML.html
Created Jun 11, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
View nsm_transplant
{exp:nsm_transplant:body} {!-- allows to replace {image-1} with actual image code --}
{exp:channel:entries channel="topics" disable="member_data|pagination" entry_id="{embed:the_id}"}
<div id="info">
<h3 class="png">Info / facts over {title}</h3>
<div>
<div class="def">{topic_intro}</div>
{topic_text}
{!-- looping through the matrix, caching the output --}
View gist:1011433
//show-hide widgets on homepage - this was unusable on hover
$('#utility li > a').click(function() {
target = $(this).next();
if ($(target).css('display') !='none' ) {
$(target).slideUp(500).removeClass('open');
e.preventDefault();
}
else
{
$("ul.sub").not(target).each(function(){
You can’t perform that action at this time.