Skip to content

Instantly share code, notes, and snippets.

View hsemix's full-sized avatar

Hamid Semitala hsemix

View GitHub Profile
@hsemix
hsemix / How_to_use.html
Created April 1, 2017 15:26 — forked from jcgregorio/How_to_use.html
HTML Templating using the HTML <template> element and exactly 100 lines of JS. A cleaned up version of this code is now available at https://github.com/jcgregorio/stamp/.
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="templating.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<template id=t>
@hsemix
hsemix / fiddle.css
Created March 13, 2018 11:28 — forked from anonymous/fiddle.css
Nested Datatables 1.10.11 (source: https://jsfiddle.net/karlnicholas/2gc3r7vv/)
td.details-control {
background: url('http://i.imgur.com/SD7Dz.png') no-repeat center center;
cursor: pointer;
}
tr.shown td.details-control {
background: url('http://i.imgur.com/SD7Dz.png') no-repeat center center;
}