javascript

Events happening in the community are now at Drupal community events on www.drupal.org.
alex_b's picture

Anybody working on a $,tabs integration for drupal?

We're about to use the $.tabs plug in from stilbuero on a site. I ll write a wrapper module for it - anybody up to the same task?

This is a cooking recepie on how to use $.tabs for blocks:

http://drupal.org/node/89338

Read more
yelvington's picture

Module proposal: Javascript widget generator

I had a brief conversation about this with Ken today and he suggested I post it here. This is just the seed of a module definition; comments and refinements are invited.

We all need to make little chunks of content -- generally headlines and links -- available to other sites. RSS is one way to do that, but Javascript "widgets" are another way, and potentially a better solution in some cases.

Read more
alex_b's picture

Asynchronous node loading

In the last couple of weeks we were working with Avi Mehta on a module that allows for asynchronously loading nodes. The module provides an interface to views as well as themable functions for the ones among us who love to tinker. An asynchronous pager like on http://www.searchmash.com/search/drupal is also in the works. There is a concept for asynchronously loading blocks.

Read more
ChrisKennedy's picture

Advanced Poll November Update

It's been five weeks since the last update and a ton of progress has been made on Advanced Poll:

  • Ported to Drupal 5.0 - all new development is occuring on the 5.0 branch
  • Dynamically add or remove poll choices
  • PostgreSQL support (additional testing needed)
  • Start dates for polls
  • Submit votes using Ajax
  • List polls at /polls
  • Cache voting results
  • Add/remove individual users from Electoral List and a button to clear it entirely
  • Allow votes to be reset
  • Numerous bug fixes

Demo available at http://advpoll.ck37.com and additional discussion can go in the Advanced Poll working group. Please submit all bug reports and feature requests to the issue queue.

Read more
sime's picture

New docs in the Handbook

I've done a couple of handbook pages regarding Drupal/jQuery etc. I've been doing some stuff with jQuery and thought it was useful to document it. If you see any major issues or mistakes, which I expect will be there, please add your comments to the pages.

Read more
kkaefer's picture

behaviors.module: docking JavaScript behaviors into Drupal

Now that we have jQuery in Core, there are new JavaScript enhancements for Drupal popping up everywhere. Most of these enhancements are pretty small. To add them to a page, it usually requires a module. But those modules don't do much more than just adding the JavaScript file with drupal_add_js - the whole module system with all of its callbacks and so on is just overkill for that problem.

On #drupal we have discussed the need for a module that gathers all those JavaScript enhancements in just one module. In the rest of the proposal, I will use the word "behavior" for a JavaScript enhancement file.

Read more
Anonymous's picture

seeking maintainer for the chatroom module

hi all,

due to developments in my personal and work life, i've decided to step away from drupal development (chatroom and otherwise), for the foreseeable future.

i won't have the time take the chatroom module to the next level, so i'm seeking a maintainer to take over the module.

if anyone is interested, please contact me off list.

cheers
justin

Read more
kkaefer's picture

Fast toggling!

I just implemented the fast toggling thingie. It can be found in the CVS repository.

Locations where this feature can be tested are administer ➔ content management ➔ posts and administer ➔ user management ➔ users. Note that it degrades gracefully with JavaScript disabled.

Read more
kkaefer's picture

Idea: General structure of the new drupal.js

Some of my ideas for the future drupal.js:

Note: This is demo/fake code, not actual, working code.

var Drupal = {
  jsEnabled: false,
  basePath: 'http://example.com/drupal',
  locales: {},
  settings: {},
  
  addLocales: function(translations) { ... },
  t: function(str, args) { ... },
  watchdog: function(type, message, severity, link) { ... },
  parseJson: function(data) { ... }
};

jQuery.dimensions = function() { ... };
jQuery.absolutePosition = function() { ... };
jQuery.freezeHeight = function() { ... };
jQuery.redirectFormButton = function() { ... };
Read more
mfredrickson's picture

JavaScript vs. PHP

I think Drupal is well positioned to be a very useful analysis tool as it serves pages and tracks those serves directly. In effect, Drupal can log everything that an Apache log can hold.

Additionally, I would like to see Drupal capture information about users that cannot be determined from the HTTP request information. Some examples include user connection speed, screen resolution, plugins, etc. I believe this will have to be done in JavaScript.

I am starting this thread to collect ideas on what can be found in and tracked in PHP and what should be tracked via JavaScript.

Read more
Subscribe with RSS Syndicate content