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> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title></title> | |
<style> | |
.item { | |
width: 100px; | |
height: 100px; | |
background-color: blue; |
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> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title></title> | |
<style> | |
* { | |
box-sizing: border-box; | |
} |
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
body { | |
width: 3000px; | |
} | |
body::-webkit-scrollbar { | |
/*background-color: red;*/ | |
background-color: transparent; | |
} | |
body::-webkit-scrollbar-button { |
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> | |
<html> | |
<head> | |
<style> | |
html, body, svg{ | |
height: 100%; | |
width: 100%; | |
} | |
.element { | |
position: absolute; |
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 localCache = { | |
get: function(key, getMethod, cacheMs) { | |
if(!cacheMs) cacheMs = this._defaultCacheMs; | |
var cache = sessionStorage.getItem(key); | |
if(cache == null) { | |
return this._setAndGet(key, getMethod, cacheMs); | |
} | |
var data = JSON.parse(cache); |
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> | |
<html> | |
<head> | |
<meta charset="utf8"></meta> | |
<style> | |
.modal-base { | |
display: none; | |
position: absolute; | |
opacity: 0; | |
top: 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
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> | |
<meta property="og:title" content="ー" /> | |
<meta property="og:description" content="" /> | |
<meta property="og:url" content="http://***" /> | |
<meta property="og:type" content="website" /> | |
<meta property="og:image" content="***.png" /> | |
<meta property="og:site_name" content="" /> |
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
// jqueryとjquery-easingが必要 | |
$.extend({ | |
splash : function(imageUrl) { | |
var splashBack = $('<div id="splash-extention-back" style="background-color:#000;opacity:0;position:absolute;top:0;left:0;z-index:10000;"/></div>'); | |
splashBack.width($(document).width()); | |
splashBack.height($(document).height()); | |
var splash = $('<div id="splash-extention" style="opacity:0;position:absolute;top:50%;left:50%;z-index:10001; height:' + SplashExtention.ImageHeight +';"/></div>'); | |
var img = $('<img src="' + imageUrl + '" style="height: 100%;" />'); | |
splash.append(img); |
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
$.extend({ | |
modal : function(title, message, okCallback, options) { | |
var modalBack = $('<div style="background-color:#000;opacity:0;position:absolute;top:0;left:0;z-index:10000;"/></div>'); | |
modalBack.width($(document).width()); | |
modalBack.height($(document).height()); | |
modalBack.click(function() { | |
ModalExtention.Hide(modal, modalBack); | |
}); | |
var modalClass = options.modalClass == null ? "" : options.modalClass; |
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
$.extend({ | |
maxHeight: function() { | |
$(".maxheight").height($(document).height()); | |
}, | |
maxWidth: function() { | |
$(".maxwidth").width($(document).width()); | |
}, | |
}); |
OlderNewer