Monday, August 8th, 2005

Ajaxian Div Expansion in Drupal

Category: Examples

This recent drupal demo shows the example of having a small summary div, and then expanding it via a server-side request to get the full monty.

It also shows backwards compatibiliy via the URLs that are used (i.e. you can hit the nodes URL to get the full page too)

See the demo

Posted by Dion Almaer at 9:57 am

3.4 rating from 9 votes


Comments feed

I’d like to point out that this demo was put together on the day of the conference. Without Adrian (a kickass Drupal dev from S. Africa), Drupal’s clean design, and Dojo’s built in IO and animation code, it wouldn’t have happened at all.

It doesn’t do more since I didn’t have time to figure out how to persist things in Drupal and needed to do a feature I could finish in less than 2 hours, start to demo.

Comment by Alex Russell — August 9, 2005

Nice idea! Though I don’t really get why the animation goes up first. It should just slide down.

One other point is that once you click on the link, you dont see anything happening. The user might click again, since loading the bigger part is not so fast as you would like it to be.

Its always good to show somehow to the user that something is happening. This is not the case now.

Comment by José Jeria — August 10, 2005

Leave a comment

You must be logged in to post a comment.