Example: JavaScript in Examples for Developers 7
Same name and namespace in other branches
- 8 js_example/js_example.module \js_example
- 3.x modules/js_example/js_example.module \js_example
Examples using Drupal 7's built-in JavaScript.
Parent topics
File
- js_example/
js_example.module, line 8 - Examples showing how to use some of the new JavaScript features in Drupal 7.
Functions
Name | Location | Description |
---|---|---|
js_example_accordion |
js_example/ |
Demonstrate accordion effect. |
js_example_js_weights |
js_example/ |
Weights demonstration. |
js_example_menu |
js_example/ |
Implements hook_menu(). |
js_example_theme |
js_example/ |
Implements hook_theme(). |
Classes
Name | Location | Description |
---|---|---|
JsExampleTestCase |
js_example/ |
Default test case for the js_example module. |