このページのトップへ
アンカー 1
説明例
In this example we use two buttons in order to show and hide an image.
どのように構築したか
ページ要素
In our site we added the following page elements:
An image
Two buttons, one with the ID "showButton" and one with the ID “hideButton”.
コード
In the onReady() function we added two event handlers, one for each button.
When clicking the hide button the image is hidden and when clicking the show button the image is shown again.
関連例
これは役に立ったか?
|
ご意見ありがとう!
エレメントの非表示と表示
ユーザーのインタラクションに応じて要素を隠したり表示したりする。
中級
崩壊要素
要素グループの折りたたみと展開。
初心者
Image and Text Animation
Use wix-animations API to animate images and text.
中級
アンカー2
ページ下