このページのトップへ
崩壊要素

崩壊要素

要素グループの折りたたみと展開。

中級.png

初心者

70K

出版された:

2020年1月1日

酒を楽しむ少女

によって

アンカー 1
開発者を雇う

説明例

This examples demonstrates collapse and expand of groups of elements.

コード例

タブ1

.

タブ2

.

タブ3

.

このコードによる解決は複雑になる可能性がある。

どのように構築したか

This example demonstrates how to integrate collapsable sections into your pages.

 

The elements on the page collapse and expand menu sections when a user clicks on one of the arrows.


The collapsing layout works by placing the elements of each menu item in a box element. Each section that can be collapsed is also placed in a box element.

 

When a box is expanded, the boxes below it shift down the page to make room for it. When it is collapsed, the elements below it shift back up to take its space. Note that expanding or collapsing a box affects all the elements inside the box, so we don’t have to expand or collapse each one individually.


次のステップ


  1. この例をエディターで開き、テンプレートを操作してください。

  2. サイトを公開する。

  3. どのように Veloでの例題の扱い方.

使用したAPI

コード以外の例。

コード以外の例。

関連記事

開発者を雇う

Veloソリューションは強力なツールですが、自力で構築するのは困難です。経験豊富なVelo開発会社に構築をお任せください。

関連例

これは役に立ったか?

はい

|

いいえ

ご意見ありがとう!

エレメントの非表示と表示

エレメントの非表示と表示

ユーザーのインタラクションに応じて要素を隠したり表示したりする。

中級.png

中級

Hide and Show an Image

Hide and Show an Image

Show and hide an image according to the clicked button.

中級.png

初心者

Sticky Header

Sticky Header

Keep the site header visible when a visitor scrolls the page.

中級.png

初心者

レイアウト変更

レイアウト変更

スライドショーを使ってレイアウトを変更する。

中級.png

初心者

アンカー2
ページ下