There is current work around loading full node views in place from clicks on teasers.
All dynamic loading to date is block-specific. Either we attach to blocks or we load blocks.
For nodes, we probably need to follow what's done in e.g. activeedit. There, we have a separate module .inc file for each module's implementations.
We already have a hook_dynamicload() to work off, invoked in dynamicload_footer(). So, presumably, we should put node loading into a file /modules/node.inc in the dynamicload directory, to be loaded with a call to jstools_modules_includes('dynamicload').
node.inc would look something like this:
/**
* @file
* Enable AJAX-based loading of node elements.
*/
/**
* Implementation of hook_dynamicload().
*/
function node_dynamicload() {
$items = array();
$items[] =
'selector' => 'a.node_read_more',
[further data here]
);
return $items;
}
We would also need some way to specify where/when this behaviour should attach, as it's not likely site admins will want it on every node list.