In over a hundred pages, we covered everything you need to know about the HTML5 Data Bindings extensions. The article features useful tutorials and videos on how to refresh your HTML5 Data source, How to use nested repeat regions, how to show preloader and many many more. If you still have any questions regarding the extension do not hesitate to contact our Tech support.
HTML5 Data Bindings Manual
Learn how to connect your data
Advanced: Showing a Preloader when Feed Data is Being Loaded
In this tutorial we will show you how to show a preloader when your HTML5 Data Bindings feed data is being loaded.
*You can also check out the video.
How to do it
- We created a repeat region on our page, where we load hundreds of photos from Picasa User Album. We also created a Div container with a preloader image inside, which we want to display to our users until the feed is fully loaded.
- Our preloader Div container has an id #loader (1). Select the feed (2) and click the edit data source button (3).
- In the HTML5 Data Bindings window, click the behaviors
button.
- In the Behavior connector window, select before the call for data is executed (1), select change property (2) and add the selected behavior (3).
- In the change property window, select the preloader
div (1), choose the display item (2) and enter block in the value field (3). When you're done, click OK.
- Back in the Behavior connector, select when data is successfully loaded (1), choose change property (2) and add the selected behavior (3).
- In the change property window, select the preloader div (1), choose the display item (2) and enter none in the value field (3). When you're done, click OK.
- Now you can save your work and preview the results in your browser. That's how you can show a preloader when your HTML5 Data Bindings feed data is being loaded
Lubov Cholakova
Lubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.
Comments
public rss feeds
Data Binding
You must me logged in to write a comment.