Description
Menu opens (for less than ~100ms) and closes immediately again.
Reproduce
Click on the upper left menu icon, scroll a bit down (~10px), click menu icon again. Try to open the menu.
@function BEMBEMBEM($property, $value) { | |
$props: (); | |
$props: append($props, #{$property}, comma); | |
$props: append($props, #{$property}--#{$value}, comma); | |
$props: append($props, #{$property}__#{$value}, comma); | |
@return $props; | |
} |
/*! | |
* Geolocation HTML5 API Polyfill/Shim | |
* | |
* This polyfill fixes geolocation for miscellaneous web browsers. | |
* It is tested and supports IE 7+, Chrome 11+ and Firefox 3.6+ | |
* | |
* @Deps: http://geoplugin.net/json.gp | |
* | |
* @author: Yannick Albert | |
* @url: http://www.yckart.com/ |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Yannick Albert <http://yckart.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Yannick Albert <http://yckart.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Yannick Albert <http://yckart.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Yannick Albert <http://yckart.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<style> | |
ul { | |
float:left; | |
margin: 5px 0 0 5px; |
jQuery.konami = function(fn, code) { | |
// ↑ ↑ ↓ ↓ ← → ← → B A | |
code = code || [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]; | |
var i = 0; | |
$(document).keydown(function(e) { | |
var char = typeof code === 'string' ? String.fromCharCode(e.which).toLowerCase() : e.which; | |
i = char === code[i] ? i + 1 : 0; | |
if (i === code.length) { | |
fn(); |
var getPrefix = (function(browser) { // Closure for putting result in cache | |
var prefixes = {firefox:'moz', applewebkit:'webkit', webkit:'webkit', opera:'o', msie:'ms'}; | |
for (var p in prefixes) | |
if (browser.indexOf(p) !== -1) return prefixes[p]; | |
return false; | |
})(navigator.userAgent.toLowerCase()); | |
// console.log(getPrefix); |