Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

include


Pyte

Pyte - JavaScript

What is pyte

JavaScript provide some OOP characteristics.
Pyte brings several enhancements, such as namespace support, the loading of remote script files and embedding of style sheets files.

Features

  • Tested against IE 6.0+, FF 2+, Safari 3.0+, Opera 9.0+, Chrome
  • Provide namespace support
  • Synchronous remote JavaScript file loading
  • On the fly embedding of style sheets (css) files
  • On the fly dependencies
  • Application pattern
  • Light and easy class includes

How to use pyte

Define the base path for JavaScript and style sheets

The base path is the directory which contains the JavaScript files.
As the default is defined the "/javascripts/" path.
The path can be changed as follows.

jQuery Plugins - dynamic self loading plugins and includes

Thanks to all for provided the grown work.

Features:

- dynamically load a script or stylesheet
- check if a script or stylesheet as been previously loaded
- preconfigure plugins with multiple files and preloaders
- preconfigure selectors to load plugins
- preconfigure jQuery extensions to dynamically load plugins

Functions

$.included(file) - checks if the file has been already included
$.include(file,force|callback) - includes the file into the header. if force is specified then its include in the body
$.plugin(options) -
id: plugin id
js: script(s) to be included
css: stylesheet(s) to be include
sel: jQuery selector(s) to preload plugin
ext: jQuery function extender(s)
fn: jQuery element function extender(s)
$.plugins({path,plugins}|plugins) - preconfigure multiple plugins. You can also provide a base path to simplify their definition
$.requires(id,callback) - load a plugin

Example