javascript

The Problem with Popups

I love the functionallity of stacking popups in the the Popups API 2.x alphas, but there are a couple of problems with my current approach, which keeps the entire stack in the DOM.

  • JavaScript is being executed on the entire DOM. I check, and only execute new js files, but, unlike CSS files, there is no way to unload the js after it has been added to the DOM. I haven’t run into an actual problem from this yet, but it seems inevitable.

Popups: Add and Reference

I have released a new module, "Popups: Add and Reference":http://drupal.org/project/popups_reference, which solves a problem that has been bugging me for years: creating a reference to a node that does not yet exist. The module adds a link to CCK's Node Reference widget that makes it easy to add a new node without having to leave the edit page. It is built on top of my "Popups module":http://drupal.org/project/popups.

Getting Modal Dialogs in Drupal 7

I have put up a wiki with the current status of my work towards getting popup modal dialogs into Drupal 7 over at http://groups.drupal.org/node/9185

Syndicate content