With the dynamic attributes feature you now have the freedom to create as many attributes as you want and fetch dynamic content for those, and power your sliders with parallax effects.
watch the Dynamic HTML Attrributes Repeater tutorial
Play Video
Dynamic Attributes.
Adding attributes to our markup can be really handy. As it stands now, the ElementorAttributes Menu inside the Advanced tab doesn’t allow us to add multiple attribute keys. Our feature will add a repeater that will allow you to do two things: first, add as many attributes you desire, and second, fetch data dynamically, for keys or values of your attribute.
Use cases.
Attributes can be used for many things. For example; to target using CSS:
a[scope=woogloo] {background-color: red;}
Another popular use is to create analytics measurements in Google analytics according to an attribute.
Parallax attributes.
Working with Slider Power and want to get even more out of your slider? Parallax effects are where it’s at.
The parallax effect is a visual phenomenon where objects appear to shift their position relative to each other when viewed from different angles, which is usually replicated in web design or motion graphics by applying different amounts of scrolling effects to different elements, to instill a sense of depth and immersion in a digital interface.
Gloo’s Dynamic HTML Attributes Repeater makes accessing that design power extremely easy, it’s as simple as toggling on the Power Slider Parallax option inside your repeater item for the widget or element you want the effect to apply to, provided that the given element is inside a Power Slider slide container, as these effects will kick in as soon as we change the slides on our slider in the frontend once all is set up correctly.
Toggling this on, the UI will change to show Parallax Key options that we can select from a handy drop down menu. The available options are:
Data-swiper-parallax
General parallax effect key.
Data-swiper-parallax-x
Controls horizontal movement. Positive values for right, negative for left.
Data-swiper-parallax-y
Controls vertical movement. Positive values for downwards movement, negative for upwards.
Data-swiper-parallax-scale
Controls scaling of the element. Positive values for scaling up, negative for scaling down.
Data-swiper-parallax-opacity
Change the opacity from 0 to 1 during the parallax effect
Data-swiper-parallax-duration
This attribute adjusts the duration of the parallax effect in milliseconds.
All of the values for these attributes (except the duration) represent the end value of the related attribute at the end of the parallax effect, which duration is determined by the duration attribute.
Using the Dynamic HTML Attributes Repeater, we can add as many of these attributes to a single element as we want.
By using different values on other items in the same general composition (lower values for items that need to appear closer to the observer, usually) We can easily create captivating and mesmerizing parallax effects for our sliders, or even just simple one-attribute animations without needing to resort to Gloo’s GSAP Scrolltrigger.
With Dynamic HTML Attributes, users can add multiple attribute keys and values to their markup, and fetch data dynamically. This can be useful for targeting elements using CSS or creating custom analytics measurements.
Yes, Dynamic Attributes can be used for a variety of purposes, depending on the needs of the user. Some examples include integrating with third-party services, creating custom meta tags, or improving accessibility by adding ARIA attributes.
THIS FEATURE IS PART OF :
Dynamic HTML Attrributes Repeater
Attributes are very useful. and in fact are built in to elementor. so what is the difference you ask ? our dynamic html attributes allow multiple and dynamic attributes to be shown.
First lets selct a simple title widget
Our Title !
Now lets add attributes to it - this is what we should get but its going to fetch the value dynamically
segment="fluid dynamic" and scope="extension"
we will use our "Taxonomy Terms" dynamic tag because it supports return of multiple values with the use of a empty space delimiter - which is the correct syntax for the HTML
You can also decide what kind of charachters will be used :
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.