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(window, doc, undefined) { | |
var awesomeGridBookmarkletElement = doc.getElementById('awesomeGridBookmarkletElement'); | |
if ( awesomeGridBookmarkletElement !== null) { | |
awesomeGridBookmarkletElement.parentNode.removeChild(awesomeGridBookmarkletElement); | |
return; | |
} | |
var grid = doc.createElement('div'); | |
grid.id = 'awesomeGridBookmarkletElement'; | |
grid.style.backgroundImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AgUFTcrYHXFEgAAAAxpVFh0Q29tbWVudAAAAAAAvK6ymQAAABlJREFUGNNjZGBg+M9AJCBKIROxpo0qxAsADuYCECT/rwcAAAAASUVORK5CYII=)'; | |
grid.style.position = 'fixed'; |
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
document.addEventListener('mousewheel', function(e) { | |
handleWheel(e); | |
}, false); | |
document.addEventListener('DOMMouseScroll', function(e) { | |
.handleWheel(e); | |
}, false); | |
var handleWheel = function(e) { |
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 ($) { | |
$.fn.html5Uploader = function (options) { | |
var crlf = '\r\n'; | |
var boundary = "iloveigloo"; | |
var dashes = "--"; | |
var settings = { | |
"name": "uploadedFile", |
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> | |
<head> | |
<meta charset=utf-8> | |
<title>Bookmarkable Tabs Demo</title> | |
<style> |
NewerOlder