AJAX Teaser Module

potential - April 4, 2006 - 03:41

I just started playing with 4.7 and I am very impressed by all the AJAX.

What do you guys think about putting AJAX in the teasers? The teaser could include a "quick read" widget. So when you click "quick read", it loads the node body right within the teaser without reloading the page.

I was told I'd need to create a callback, make an onclick handler, fetch contents, and insert into dom. Unfortunatly, this means little to me. I have started reading the handbook here: http://drupal.org/node/42403 in hopes that I can create my own module to implement this.

Of course I am very new to all this, so any tips or head starts are much appreciated.

Thanks!

I think turning off teaser

bohtho - May 2, 2006 - 15:13

I think turning off teaser cut-off (or changing teaser to include all text in a node) and then making a module that puts a div- or em-tag up in the node text somewhere along whit a call to the standard javascript toggle function, to hide or unhide the rest of the node text, would do the trick. Ajax is not necessary when there's only about 10 full nodes in a page or something.

any progress?

primz - March 1, 2007 - 12:06

has anyone put work into an idea as suggested here?

 
 

Drupal is a registered trademark of Dries Buytaert.