管理ページ等で良く見る「+」がついた伸縮可能なfieldsetは どうすれば追加できますか?
伸縮するfieldsetブロックを追加したい
OTHER FAQ
カテゴリ | Core Ver. | 関連モジュール | タイトル |
---|---|---|---|
権限 | 7.50 | Cron | Basic認証時のCron(wget)実行方法 |
テーマ | 8.7.x | Bartikのtwigについて | |
Apache2.4 | 7.50 | Apache2.4のアクセス制限 | |
リバースプロキシ | 8.9.x | mod_proxy mod_proxy_http mod_ssl | Apache2.4 から httpsサーバーへリバースプロキシする方法 |
アップデート | 7.16 | Core | 7.15→7.16アップデート |
SESSION | 8.9.x | api | $_SESION操作のAPI |
コンテンツの作成 | 7.15 | Form API Validation | フォームの入力内容を細かくチェックしたい |
コメント
node本文やblock内に以下のように記述します。
パーマリンク Submitted by actbrain on 2013/11/12 13:49.
node本文やblock内に以下のように記述します。
~
<fieldset class="collapsible form-wrapper fieldset titled">
<legend>
<span class="fieldset-title fieldset-legend">
<span class="icon"></span>タイトル
</span>
</legend>
<div class="fieldset-content fieldset-wrapper clearfix">
本文
</div>
</fieldset>
~
(Formを含まない)ページでは
パーマリンク Submitted by actbrain on 2014/12/15 14:36.
(Formを含まない)ページでは、下記コードの追加が必要です。
〜
function {your module name}_init() {
〜
// for Collapsible.
if (対象ページ) {
drupal_add_js('misc/form.js');
drupal_add_js('misc/collapse.js');
}
}
〜
ページ