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
.overlay { | |
background: black; | |
opacity: 0.3; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
} |
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() { | |
var __customevents = {}, __protocol = {}, __connector = {}, __timer = {}, __options = {}, __reloader = {}, __livereload = {}, __less = {}, __startup = {}; | |
// customevents | |
var CustomEvents; | |
CustomEvents = { | |
bind: function(element, eventName, handler) { | |
if (element.addEventListener) { | |
return element.addEventListener(eventName, handler, false); | |
} else if (element.attachEvent) { |
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
@font-face { | |
font-family: 'font-name'; | |
src: url('.eot'); | |
src: url('.eot?#iefix') format('embedded-opentype'), | |
url('.woff') format('woff'), | |
url('.ttf') format('truetype'), | |
url('.svg#open_sanslight') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
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 myPowerConstructor(x) { | |
var that = otherMaker(x); | |
var secret = f(x); | |
that.priv = function() { | |
... secret x that .... | |
}; | |
return that; | |
} |
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 disableclick(event) | |
{ | |
if(event.button==2) | |
{ | |
return false; | |
} | |
} | |
document.onmousedown=disableclick; |
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
<style> | |
div.fileinputs { | |
position: relative; | |
} | |
div.fakefile { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
z-index: 1; |
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
element { | |
display:-moz-inline-stack; | |
display:inline-block; | |
zoom:1; | |
*display:inline; | |
} |
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
^(?:[0-9]+[a-z]|[a-z]+[0-9])[a-z0-9]*$ |
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 checkBirthDate = function(month, year, minAge){ | |
var currentDate = new Date(); | |
var bDate = new Date(parseInt(year)+parseInt(minAge), month); | |
var cDate = new Date(parseInt(currentDate.getFullYear()), parseInt(currentDate.getMonth())+1); | |
if(bDate.getTime() < cDate.getTime()) { | |
return true; } | |
else { | |
return false; } | |
} |
OlderNewer