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'; | |
/* ---------- | |
Typography | |
*/ | |
.underline { | |
text-decoration: underline; | |
} |
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
<select name="都道府県"> | |
<option value="">都道府県をお選びください。</option> | |
<optgroup label="北海道・東北"> | |
<option value="北海道">北海道</option> | |
<option value="青森県">青森県</option> | |
<option value="秋田県">秋田県</option> | |
<option value="岩手県">岩手県</option> | |
<option value="山形県">山形県</option> | |
<option value="宮城県">宮城県</option> | |
<option value="福島県">福島県</option> |
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
;(function (window, $, undefined) { | |
$.fn.cssCalc = function (prop, val, callback) { | |
var $window = $(window), | |
$html = $('html'); | |
if (typeof callback !== 'function') { | |
callback = function (elm) { | |
$.noop(); |
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
.mincho { | |
font-family: | |
"游明朝体", YuMincho, | |
"游明朝", "Yu Mincho", | |
"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", | |
"ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", | |
"MS P明朝", "MS PMincho", | |
serif; | |
} |
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
;(function (window, document, $) { | |
$.fn.devideList = function (options) { | |
options = $.extend({}, { | |
capacity: 5, // 1つのリスト内のアイテムの数 | |
listClass: 'divided-list', | |
itemClass: 'divided-item', | |
/** | |
* リストアイテムがひとつ配置される度に実行する。 | |
* @param i {number} アイテムのインデックス | |
* @param $item {jQuery Object} 配置されたアイテム |
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
;(function (window, document, $) { | |
$.fn.cancelSubmit = function() { | |
return this.each(function () { | |
$(this) | |
.find(':text').on('keypress', function (e) { | |
if (e.keyCode === 13) { | |
e.preventDefault(); | |
} | |
}); | |
}); |
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
!(function ($, window, document, undefined) { | |
var pluginName = ''; | |
var defaults = { | |
name: 'value' | |
}; | |
function Plugin (elment, options) { | |
this.elment = element; | |
this.settings = $.extend({}, defaults, options); |
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
<!-- # 指定のバージョン --> | |
<!--[if IE 6.0]> | |
<![endif]--> | |
<!--[if IE 7.0]> | |
<![endif]--> | |
<!--[if IE 8.0]> | |
<![endif]--> | |
<!--[if IE 9.0]> | |
<![endif]--> |
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
function isArray (arg) { | |
if(arg instanceof Array){ | |
return true; | |
} else { | |
return false; | |
} | |
} |
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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script> | |
(window.jQuery || document.write('<script src="/js/jquery.js"><\/script>')); | |
</script> |