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
/* ----------- ガイドラインを表示・非表示 ----------- */ | |
(function ($, window, document){ | |
$(function(){ | |
// ガイドラインを操作するボタンを追加 | |
$('body').append('<div class="guide-button-wrap"><div class="guide-button -on">GuideLine</div><div class="hide-button">Hide</div></div>'); | |
// ガイドラインを追加 | |
$('body').append('<div class="gl-center"><div class="gl-left"></div><div class="gl-right"></div></div>'); | |
$('.guide-button-wrap').css({ // 表示切替ボタンの位置調整 | |
position: 'fixed', |
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
/* | |
* コーディングサポート機能の追加 | |
*/ | |
(function ($, window, document){ | |
$(function(){ | |
/* ----------- ↓諸々の設定↓ ----------- */ | |
// false or true 「画像被せ機能」を使うなら「true」に。使わないなら「false」にする | |
var img_cover = true; |