![]() The second I think is the more appropriate one and I'm not sure why the "gods of javascript standards" have not made this standard. There are many new events for HTML5 though, and we will discuss them in an upcoming article on using events with HTML5.But if you don't want to have to write these two lines of code every time you stop an audio you could do one of two things. Many of the events are the same as those included with previous versions of HTML. Events include window events, which are triggered for the window object, form events, which are triggered by actions that occur within an HTML form, keyboard and mouse events, and media events. The tag has a lot of attributes which can be used for additional controls, including the event attributes in HTML5. You can see some of the new attributes in action here:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |