WE Javascript

Component ID

1255016

Component name

WE Javascript

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Edit December 2014

The new version of WE Javascript is now called Wjs. Checkout :
Sandbox page
Demo website
Library on GitHub

------

WE Javascript is a core module and suite of javascript oriented tools for Drupal 6.x. They have been created by the need of improved web interfaces using javascript. Some are used to improve development, others are javascripts interfaces or UIs.

All this features can be tested on http://www.wexample.com

WE Register

WE Register is a ressources register. It allow to index prefixed files and save location in cache to simplify access to it. For example, you can scan all modules to detect files prefixed by "class" like class.myjavascript.js and uses the path or the file into your own application. This example is exactly what we_javascript module do with it.

WE Javascript

WE Javascript is an Drupal / AJAX loader. It offer th ability to dynamically load function by javascript only when called into the page instead of load it at page startup.

In case of cascading calls (my function A call my function B who call my function C), WE Javascript can detect it and agregate all javascripts in one AJAX call (it returns A+B+C).

It optionnaly can compress JS files in the same time using the Dean Edwards JavaScript's Packer. You can also load some other data types like CSS or Images.

WE Javascript example

Test page used on development to check if all WE javascript features are ok.

See the demo page : http://www.wexample.com/we_javascript-example

WE Animated PNG

WE Animated PNG is used to fake PNG Animation by using PNG images sprites contaning all images. It can be usefull if you need to create little animation using the power of transparency, or control animation with javascript.

WE Preloader

Provide an API to display loading images with javascript and we_animated_png. This enable a loading image near the mouse pointer during the we_javascript AJAX loadings (asynchronous).

WE Devel

Helper module for developper allowing to display javascript objects in a inspector console in a Krumo like display. Very usefull to inspect complex javascript components. See a demo here : http://www.wexample.com/page/we-devel

WE Gallery

Javascript image gallery viewer integrated as a views plugin. You can cutomize the interface, thumbnails display and animations types. You can also create your own theme by copying and editing defaults themes into your own modules.

In case of non javascripts browsers, it degrades gracefully try to be optimised for search engines.

Tested on major browsers.

See a demo here : http://www.wexample.com/we_gallery-example-view
And a full website using this module : http://www.elitiunine.com

See the demo here :