question on custom attributes (solved)

Jaap Borra's picture
Jaap Borra
Tue, 11/03/2015 - 16:30
#1
question on custom attributes (solved)

What are custom attributes used for?

I cannot find anything about it in the documentation. Can you give an example?

Thanks,

Jaap

cindy's picture
cindy
Tue, 11/03/2015 - 23:33

You can take a look at http://www.w3schools.com/html/html_attributes.asp to understand more about html attribute. Attributes is one of the way to store data to combine with js. For ex, in MD Make, to create animation effect, we add 2 attribute data-animation and data-animation-delay 

http://demo.megadrupal.com/d7/md-make/animations

Image title

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.