This file contains hidden or 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
/* | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |
This file contains hidden or 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
/* | |
* Defer Function Snipplet | |
* by Riix | |
*/ | |
// http://ajaxian.com/archives/no-more-ie6-background-flicker | |
if (typeof document.body.style.maxHeight == "undefined") { | |
try { | |
document.execCommand('BackgroundImageCache', false, true); | |
} catch(e) { } |
This file contains hidden or 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
// Switch StyleSheets With jQuery | |
$('link[media='screen']').attr('href', 'Alternative.css'); | |
// 동적 생성으로 DOM 객체 추가하기 | |
var $newDiv = $('<div></div>'); | |
$newDiv.attr("id","newDiv").appendTo("body"); | |
// 양 객체 사이에 다른 요소 삽입하기 | |
$("p:not(:last-of-type)").after("<br />"); |
This file contains hidden or 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
$(window).scroll(function() { | |
if ($(window).scrollTop() > 175 ) { | |
$('.sticky').css({'position' : 'fixed', 'top' : 0}); | |
} else { | |
$('.sticky').css({'position' : 'relative', 'top' : 'none'}); | |
} | |
}); |
This file contains hidden or 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
@charset "utf-8"; | |
@import url('../css/guide.css'); | |
/* Normalize ------------------------------------------------ */ | |
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } | |
html, body { margin: 0px; padding: 0px; } | |
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select {-webkit-text-size-adjust: 100%; } | |
header, footer, section, article, aside, nav, hgroup, details, menu, figure, figcaption { display: block; } | |
em, address { font-style: normal; } |
This file contains hidden or 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
@charset "utf-8"; | |
/* ============================================================================= | |
* Filename: base.css | |
* Author: riix, EPASS C&I | |
* Update: 2013-01-01 | |
============================================================================= */ | |
/* ============================================================================= | |
Category : HTML5 Display Definitions | |
============================================================================= */ |
This file contains hidden or 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
/************************************************************************************************* | |
* ui.common.js | |
* @Author : 박순길 | |
* @Version 0.6 | |
* | |
************************************************************************************************/ | |
// Console-polyfill. MIT license. Make it safe to do console.log() always. | |
(function(con){ var method; var dummy = function() {}; var methods = ('assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn,memory').split(','); while (method = methods.pop()) { con[method] = con[method] || dummy; } })(window.console = window.console || {}); |
This file contains hidden or 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
/* All Desktop */ | |
@media only screen and (min-width: 767px) { | |
21body { border: solid 10px #00ffff; } | |
} | |
/* Smaller than standard 960 (devices and browsers) */ | |
@media only screen and (max-width: 959px) { | |
body { border: solid 10px #555555; } | |
} |
This file contains hidden or 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 deferCount = 0; // 중복 실행 방지 | |
$(window).on('load', function(){ | |
if(deferCount < 1) defer(); | |
++deferCount; | |
}); | |
function defer(){ |
This file contains hidden or 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
/************************************************************************************************* | |
* ui.mobile.js | |
* | |
* @Author : 박순길 | |
* @Version 0.5 | |
* | |
* @Searching List | |
* browser : Browser Detect | |
* | |
************************************************************************************************/ |
OlderNewer