The script is triggered via XHTML as so...
Code: Select all
<a href="javascript:thumbs02('cowboybebop/session01');">next thumbnail set</a>templates/cowboybebop/session01/thumbs-02.tpl
...for the AJAX script to load.
Here is my general attempt (and I've gone through numerous variations to get this to work correctly)...
Code: Select all
function thumbs02(url) {
myvar = [url];
ajaxpage('templates/' + myvar + 'thumbs-02.tpl', 'galleryajax');
}PS - Is it just me or has the site been a little slow today?