「© 権利者名 発行年」
著作物を著作もしくは発表した時点で自動的に著作権が発生し、それ以外には何らの方式(又は手続)の履行を要求しない法制(ベルヌ条約・日本、ヨーロッパ)
RewriteCond %{REQUEST_URI} !/sp/ | |
RewriteCond %{HTTP_USER_AGENT} (iPhone|Android.*Mobile|Windows.*Phone) [NC] | |
RewriteRule ^(.*)$ /sp/$1 [R=301,L] |
Satisfy any | |
order allow,deny | |
allow from all |
$(function () { | |
// placeholder 属性が使用可能かを調べる | |
var isSupported = { | |
input : 'placeholder' in document.createElement('input'), | |
textarea : 'placeholder' in document.createElement('textarea') | |
}; | |
// placeholder が使えなければ実行 | |
if (!isSupported['input'] || !isSupported['textarea']) { | |
// placeholder 属性があるエレメント | |
$('[placeholder]').each(function () { |
<!-- TemplateParam name="文字列型の変数名" type="text" value="文字列の初期値" -->
<!-- TemplateParam name="真偽値型の変数名" type="boolean" value="真偽の初期値" -->
<!-- TemplateParam name="URL型の変数名" type="URL" value="URLの初期値" -->
<!-- TemplateParam name="数値型の変数名" type="number" value="数値の初期値" -->
<!-- TemplateParam name="色型の変数名" type="color" value="カラーコードの初期値" -->
/** | |
* スムーズスクロール | |
*/ | |
!(function (window, document, $, undefined) { | |
var isHtmlScroll = (function () { | |
var $html = $('html'), | |
top = $html.scrollTop(), | |
$el = $('<div/>').height(10000).prependTo('body'); | |
$html.scrollTop(10000); |
<FilesMatch "\.(htm|html|css|js)$"> | |
AddDefaultCharset UTF-8 | |
</FilesMatch> |
Options -Indexes |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME}\.html -f | |
RewriteRule ^(.*)$ $1.html |