This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.list { | |
overflow:hidden; | |
height:100%; | |
} | |
.control { | |
position:absolute; | |
display:block; | |
width:35px; | |
height:35px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
$('a').hover(function () { | |
if ($(this).attr('href') != '') { | |
$('a[href="' + $(this).attr('href') + '"]').addClass('hover') | |
} | |
}, function () { | |
$('a').removeClass('hover') | |
}); | |
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.example1 { | |
background-color: #efefef; | |
background-image: | |
-webkit-linear-gradient(0, rgba(222,213,108,.07) 50%, transparent 50%), | |
-webkit-linear-gradient(0, rgba(201,184,88,.13) 50%, transparent 50%), | |
-webkit-linear-gradient(0, transparent 50%, rgba(168,137,73,.17) 50%), | |
-webkit-linear-gradient(0, transparent 50%, rgba(99,78,60,.19) 50%); | |
background-image: | |
-moz-linear-gradient(0, rgba(222,213,108,.07) 50%, transparent 50%), | |
-moz-linear-gradient(0, transparent 50%, rgba(201,184,88,.13) 50%), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dateRE = /(\d{4})?[\/\-]?([0-1](?=[0-2])\d|\d)[\/\-]?(\d{1,2})?/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Indeterminate Checkboxes</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script src="script.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>404 Not Found</title></head> <body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><p>お探しのURLはこのサーバーでは見つかりませんでした。</p><p>L'URL que vous avez sollicitée n'a pas été trouvée sur ce serveur.</p><p>Die URL, die Sie angefordert haben, wurde nicht auf diesem Server gefunden.</p></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Vertical align</title> | |
<style type="text/css"> | |
.wrap, .h, .f { | |
display: inline-block; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Fixed To Browser Viewport ~ One Sidebar</title> | |
<style type="text/css"> | |
* {margin:0; padding:0;} | |
body { | |
background:#CCF; | |
font:100% arial,"trebuchet ms",tahoma; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Queue(q) {"use strict"; | |
// (C) WebReflection - Mit Style License | |
var | |
next = function next() { | |
return (callback = q.shift()) ? !!callback(q) || !0 : !1; | |
}, | |
callback | |
; | |
(q.wait = function wait(condition, delay) { | |
condition || callback && q.unshift(callback); |
OlderNewer