Login | Register
Login by FaceBook

 

Модули drupal (Javascript, JQuery, AJAX, Ajax Load, DHTML)

Октябрь 26, 2009
funnyp 0  

Кратко о фене без перезагрузки страницы

Javascript интерпретируемый язык программирования, являющийся одной из реализаций языка ECMAScript и основанный на концепции прототипов, пришедшей из языка Self.

Язык Javascript не требует компиляции, а сразу интерпретируется средством просмотра.

Обратите внимание на то, что данные языки дают нам возможность выдавать пользователю различную информацию не перезагружая страницу, а единожды загрузив её или подкачивать по мере необходимости.

Меню без перезагрузки в drupal

Есть два известных мне модуля, позволяющих открывать подразделы меню, не перезагружая страницу.

В принципе разница между ними одна: DHTML Menu раскрывает дочернии пункты при клике на родительский пункт, а JQuery menu создает небольшой плюсик, рядом с родительским разделом.

Комменты без перезагрузки в drupal

Есть такой хороший модуль, написанный украинцем. Позволяет отправлять комментарии не перезагружая страницу.

Модули для использования java в drupal

  • jQuery UI: A wrapper module around the jQuery UI effects library that lets module developers add swooshy, swishy effects to their code.
  • Javascript Tools: Javascript Tools provides both an integrated set of Javascript and AJAX modules and a common set of methods extending those available in Drupal core (drupal.js) for Javascript and AJAX module development in Drupal.
  • jQuery Update: This module facilitates the upgrade jQuery in Drupal 5. jQuery 1.0.4 is included with Drupal 5, however it is not very well supported in the jQuery community. In order to use most current and advanced jQuery functionality you will want to build off a newer version of jQuery. This module includes John Resig's compat-1.0.js plugin that provides backwards compatiblity for newer versions of jQuery to work with the JS code in Drupal 5.
  • Ajax Load: When loading new content via AJAX, there is the potential need to load CSS and Javascript files and data not already available on the page. Ajax Load is a helper module designed to handle this task.
  • jQuery Interface: Interface is a collection of rich interface components which utilizes the lightweight JavaScript library jQuery. With these components you can build rich client web applications and interfaces with the same simplicity as writing JavaScript with jQuery. This module simply places Interface in a central location with one command that can be called by any module that wants to use the library.
  • jQuery Interface Sortable: The Interface Sortable module makes it easy for developers to add JavaScript drag-and-drop form elements to forms and drag-and-drop widgets to non-form pages. It depends on the jQuery Interface module which in turn relies on the jQuery Update module.
  • S/P Ajax: this module introduces effects using the increasingly popular Scriptaculous library, built on Prototype. S/P Ajax includes numerous effects, including draggable page elements, pulsing message, and even expanding menus (through the helper module S/P Magic Menus).
  • AHAH Forms Framework: Ahah forms is a utility module, for adding Ajax/javascript driven incremental page reloading, without needing to write any Javascript.
  • Spry Framework: Adobe JavaScript library for web designers that provides functionality that allows designers to build pages that provide a richer experience for their users. It is designed to bring Ajax to the web design community who can benefit from Ajax, but are not well served by other frameworks.
  • onBeforeUnload API: This module is aimed to avoid incompatibilities between modules that need to bind a handler to the beforeunload event of the window.