GithubHelp home page GithubHelp logo

imclab / jquery-genealogy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sophiebits/jquery-genealogy

0.0 1.0 0.0 114 KB

A fun plugin so your elements can have their proper family reunions.

Home Page: https://github.com/spicyj/jquery-genealogy

License: MIT License

JavaScript 77.72% HTML 22.28%

jquery-genealogy's Introduction

jQuery Genealogy

A fun jQuery plugin for your (or for your element's) extended relatives.

Supported Methods

  • el.grandchildren()

    All of the element's children's children.

  • el.greatGrandchildren()

    All of the element's grandchildren's children.

  • el.grandparent()

    The element's parent's parent.

  • el.greatGrandparent()

    The element's grandparent's parent.

  • el.aunts(), el.uncles()

    All of the element's parent's siblings.

  • el.prevAunt(), el.prevUncle()

    The element directly before the element's parent.

  • el.prevAunts(), el.prevUncles()

    All of the element's parent's siblings that come before the element in the document, returned in reverse document order (closest to the original element first).

  • el.nextAunt(), el.nextUncle()

    The element directly after the element's parent.

  • el.nextAunts(), el.nextUncles()

    All of the element's parent's siblings that come after the element in the document, returned in document order (closest to the original element first).

  • el.cousins()

    All of the element's aunts and uncles's children.

  • el.prevCousins()

    All of the element's aunts and uncles's children that come before the element in the document, returned in reverse document order (closest to the original element first).

  • el.nextCousins()

    All of the element's aunts and uncles's children that come after the element in the document, returned in document order (closest to the original element first).

  • el.nieces(), el.nephews()

    All of the element's siblings' children.

  • el.prevNieces(), el.prevNephews()

    All of the element's siblings' children that come before the element in the document, returned in reverse document order (closest to the original element first).

  • el.nextNieces(), el.nextNephews()

    All of the element's siblings' children that come after the element in the document, returned in document order (closest to the original element first).

Less-Useful Methods Provided for Consistency

  • el.brothers(), el.sisters()

    All of the element's siblings.

  • el.father(), el.mother()

    The element's parent.

About

Inspired by one of John Resig's offhand remarks.

Please submit bug reports on GitHub issues or send me a note at [email protected] if you have any questions or feature suggestions.

jquery-genealogy's People

Contributors

danjordan avatar sophiebits avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.