beezee/djax — Issue #5: Make loaded page result available
Author: GaryJones
Created: 2012-03-06 15:56:12+00:00
State: open

As well as the URL and title from the loaded page, is it possible to make the whole result available to djaxLoad too?

For the WordPress theme I'm using (Genesis child theme), the layout between, say, content-sidebar and sidebar-content is done purely via the body class, so while djax is correctly loading the contents of #content and #sidebar, it's not displaying the sidebar in the right place, as the body class is for the original page.

I imagine other themes or pages might want the body ID, the html class / ID, or some other part too, so making the whole new page markup available within the data for djaxLoad means they can pick out which parts they need and update the new page accordingly.