![]() In the remaining parts of the chapter ( 13.1 Attribute Classes Defined by This Module) before discussing specifically the elements provided for the encoding of component The chapter begins by discussing attributes common to many of the elements discussed Main intended applications for this module are in biographical, historical, or geographicalĭata systems such as gazetteers and biographical databases, where these are to be A similar range is provided for names of places and organizations. The core module allows one simply to represent that a given piece of text is a name, this module allows one further to represent a personal name, to represent the person being named, and to represent the canonical name being used. Represent the name itself, independently of its application. Person, place, or organization to which a given name is understood to refer and to This module also provides elements for the representation of information about the The elements provided by the present module allow the encoder to supplyĪ detailed sub-structure for such referring strings, and to distinguish explicitlyīetween names of persons, places, and organizations. That a given text segment is a proper noun, or a referring string, and to specify the kind of object named or referred to only by supplying a valueįor the type attribute. In section 3.6 Names, Numbers, Dates, Abbreviations, and Addresses it was noted that the elements provided in the core module allow an encoder to specify Than that possible using the elements already provided for these purposes in the Core Phrases descriptive of persons, places, or organizations, in a manner more detailed This chapter describes a module which may be used for the encoding of names and other » 14 Tables, Formulæ, Graphics, and Notated Music.13.3 Biographical and Prosopographical Data.13.1 Attribute Classes Defined by This Module.$(this)) because the plain JavaScript attribute is much easier in this case. This would be my implementation using jQuery, notice that I didn't bother getting the jQuery object for this (ie. Since we care about all elements with a certain class we can immediately dismiss the others like getElementsByTagName and querySelectorAll and opt for the function that was built for finding elements of a particular class. ![]() It is pretty important to choose the ideal selector if you care about performance. ![]() Var items = document.getElementsB圜lassName('class') Īlso note that I used getElementsB圜lassName. I've left the jQuery click event in as it looks like you already have a dependency on jQuery so no point changing the way you're hooking up your events. You can easily see why this is the case by checking out the jQuery development source, since the jQuery 'selector function' is so general it needs to do a lot of checks to see what the input is before it can act upon it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |