CMS: Adding and Setting Up a Progress Bar

読了目安: 6分
Add a progress bar to show a visual representation of progress toward achieving a goal. You can use Velo coding or a CMS collection field to represent the progress value. For the target value, you can set a static value that doesn't change, or set a dynamic value with Velo or by connecting a collection field.   
Examples of using progress bars:
  • Show how many tasks are marked as 'done' on a to-do list.
  • Show the percentage of steps completed during an onboarding process. 
  • Show the amount of money raised towards a fundraising goal.
  • Show the number of people who have signed a petition that needs a certain number of votes.
ヒント
You can use Velo to update the progress bar's value without connecting to the CMS. To learn how, see Working with the Progress Bar Element.
始める前に
Add the CMS to your site and create a collection that includes a number field type for your progress value. 

To add and set up a progress bar:

Wixエディター
スタジオエディター
  1. Go to your Editor.
  2. Make sure you have enabled Velo in your Editor: 
    1. Click Dev Mode at the top.
    2. Click Turn on Dev Mode
  3. クリック エレメントの追加  エディターの左側にある
  4. Click Interactive
  5. Click Progress Bar under Indicators
  6. Click and drag the Progress Bar of your choice onto the page. 
  7. Choose whether to set the target value as a dynamic value or a static value: 

これは役に立ったか?

|