Webによる、Webのための次世代エディタ Brackets自身がHTML・CSS・Javascriptで出来ており、まさに「Webによる、Webのためのエディタ」と言えます。
https://code.visualstudio.com/ から最新版をインストールする
インストールしたVS Codeを起動して以下を実行
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<?php | |
/** | |
* 管理画面に独自JSを読み込む = コンパイルしたwp-admin.coffeeを管理画面に読ませる | |
*/ | |
function dashboard_custom_files(){ | |
// js読み込み - 依存ファイルにjQueryを指定 | |
// wp_enqueue_script( 'handle', ファイル, 依存関係, バージョン, trueでフッタで読み込み) |
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
<{* | |
# カラーミーの商品一覧で現在表示しているカテゴリーの親の子カテゴリーのみのリンクを出力する | |
*}> | |
<{assign var="parentID" value=$smarty.get.cbid}> | |
<!-- parentID : <{parentID} --> | |
<{assign var="childID" value=$smarty.get.csid}> |
以下な感じのselectとかを出力させとく。
仮に/mt-select.html
に設置するものとする。
(外部mtから書きだしてもいいし、あらかじめ準備しておいても)
<select>
<option>[select]</option>
<option>A</option>
<option>B</option>
<option>C</option>
NewerOlder