SlashOwnsU
05-31-2014, 07:30 PM
As the title implies, we need to make vb5 a one-page forum driven by ajax.
The reason is that we need to have a persistent audio player (ie keeps playing as we navigate pages) at the bottom of the page.
We worked it out with vb4 by using history.js and handling the <a> click events manually.
The handler would just fetch the page corresponding to the clicked URL and update the page accordingly.
This seems impossible with vb5. I can't seem to verride the vb5 <a> handlers in any way, and whatever I do the pages reload on <a> click.
Does anyone have some kind of solution ? I don't insist on having ajax pages - what's important is to have a persistent audio player.
The reason is that we need to have a persistent audio player (ie keeps playing as we navigate pages) at the bottom of the page.
We worked it out with vb4 by using history.js and handling the <a> click events manually.
The handler would just fetch the page corresponding to the clicked URL and update the page accordingly.
This seems impossible with vb5. I can't seem to verride the vb5 <a> handlers in any way, and whatever I do the pages reload on <a> click.
Does anyone have some kind of solution ? I don't insist on having ajax pages - what's important is to have a persistent audio player.