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.onload = function() { | |
| var sliders = document.getElementsByClassName('slider'); | |
| for (var i = 0; i < sliders.length; i++) { | |
| var slider = sliders[i]; | |
| var options = { | |
| range: { | |
| min: [0, 10], | |
| max: [100] | |
| }, |
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 (global) { | |
| var TimeConvert = (function () { | |
| function TimeConvert() {} | |
| TimeConvert.prototype.sec2min = function (time) { | |
| var min = Math.floor(time / 60); | |
| var sec = time % 60; | |
| return { | |
| min: min, |
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
| <ul class="menu"> | |
| <li v-for="title in titles"> | |
| <a v-bind:href="'#'+title.href">{{ title.title }}</a> | |
| </li> | |
| </ul> | |
| <article> | |
| <header> | |
| <h1 id="first" class="add-to-list">First article</h1> | |
| </header> | |
| <section> |
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
| <?php | |
| // ページ付き URL に強制転送 | |
| if (! array_key_exists('page', $args)) { | |
| header('Location: /page/1'); | |
| exit; | |
| } | |
| // View に送るデータ | |
| $values = []; |
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
| /** | |
| * スプレッドシートから選択項目一覧を取得する | |
| * | |
| * @param {string} ssId スプレッドシートの ID | |
| * @param {string} sheetName リストを記述してあるシート名 | |
| * | |
| * @return {Object} 選択項目名のリスト | |
| **/ | |
| var getMultichoiceItemList = function(ssId, sheetName) { | |
| var ss = SpreadsheetApp.openById(ssId); |
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
| <!-- OGP --> | |
| <meta property="og:url" content="{ url }" /> | |
| <meta property="og:type" content="{ website || article || blog || and more url(https://ogp.me/#types) }" /> | |
| <meta property="og:title" content="{ page_title } - { site_title }" /> | |
| <meta property="og:description" content="{ description }" /> | |
| <meta property="og:site_name" content="{ site_name }" /> | |
| <meta property="og:image" content="{ image_url }" /><!-- size 1200 * 630 --> | |
| <!-- 確認ツール https://developers.facebook.com/tools/debug/?locale=ja_JP --> | |
| <!-- Twitter Card --> |
OlderNewer