home > jquery > plugins

jYUI

jYUI is a plugin built for jQuery that provides a quick and simple solution to getting access to both the YUI library as well as the YUI3 modules from within your jQuery code. If you are a YUI developer you may also be interested in my YUI3 YQuery module that allows you to use jQuery from within YUI.

Features

  • Tiny footprint ( by tiny I mean 2.1kb )
  • Loading YUI2 components and YUI3 modules are a breeze
  • Auto detection for including the latest YUI library
  • Run multiple versions of YUI on the same page without collision
  • Quickly shift between the development, debug, and production YUI codesets
  • Chain jYUI with other jQuery running on your page

Documentation

Getting Started

This is all you need to get YUI running inside your jQuery code


This example loads the latest version of YUI and several of the YUI Gallery modules



This example loads YUI 2 and several more components



Configuration Attributes
  • Name
  • version
  • autodetect
  • modules
  • components
  • type
  • timeout
  • Default
  • '3.0.0'
  • true
  • empty
  • empty
  • 'production'
  • 10000
  • Description
  • version of YUI to load
  • whether the page should autodetect to load YUI
  • modules to load for YUI3; if loading < YUI3 this does nothing
  • components to load for YUI2; if loading > YUI2 this does nothing
  • codeset to use
  • timeout settings for the ajax call

Browser Support

Browsers tested with the latest release

  • Firefox
  • Safari
  • Internet Explorer
  • Chrome
  • Camino
  • Opera