Midori Javascript Framework
Encyclopedia
midori is a lightweight JavaScript library
that aims to make JavaScript web development easier. It was created by Aycan Gulez.
midori allows the use of standard CSS syntax to access DOM elements, and supports most CSS2 and CSS3 selectors. There are three ways to work on returned DOM elements.
JavaScript library
A JavaScript library is a library of pre-written JavaScript which allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies....
that aims to make JavaScript web development easier. It was created by Aycan Gulez.
Features
- DOMDocument Object ModelThe Document Object Model is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents. Aspects of the DOM may be addressed and manipulated within the syntax of the programming language in use...
element selection using CSSCascading Style SheetsCascading Style Sheets is a style sheet language used to describe the presentation semantics of a document written in a markup language...
selectors - TabsTab (GUI)In the area of graphical user interfaces , a tabbed document interface is one that allows multiple documents to be contained within a single window, using tabs as a navigational widget for switching between sets of documents...
- Drag and Drop
- Effects
- Pop-up menus
- AjaxAjax (programming)Ajax is a group of interrelated web development methods used on the client-side to create asynchronous web applications...
with history support - AutocompleteAutocompleteAutocomplete is a feature provided by many web browsers, e-mail programs, search engine interfaces, source code editors, database query tools, word processors, and command line interpreters. Autocomplete involves the program predicting a word or phrase that the user wants to type in without the...
- Inline Edit
- Table row selection
- DOM, cookieHTTP cookieA cookie, also known as an HTTP cookie, web cookie, or browser cookie, is used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site...
, formForm (web)A webform on a web page allows a user to enter data that is sent to a server for processing. Webforms resemble paper or database forms because internet users fill out the forms using checkboxes, radio buttons, or text fields...
, string and array utility methods
Use
midori consists of 10 modules and is available as a single JavaScript file. It can be included within any web page by using the following markup:midori allows the use of standard CSS syntax to access DOM elements, and supports most CSS2 and CSS3 selectors. There are three ways to work on returned DOM elements.
- Passing JavaScript code to modify a single property, using the built-in
apply
method:
- Passing a function that takes a single parameter for more complex operations, again using the
apply
method:
- Directly accessing array entries returned by
midori.get
is also possible.