I have been poking around the various JS files but I am no jQuery expert. I have this so far:
function turnTo(page) {
var grill = $('div[name="flipgorilla"]');
fg.FlipGorilla( grill ).flipTo(page, true);
}
Currently when I call (eg) turnTo(10) it simply reloads the flipbook in the container and fails with "Cannot call method 'flipTo' of undefined" but you see what I am trying to achieve here.
I have been poking around the various JS files but I am no jQuery expert. I have this so far:
function turnTo(page) {
var grill = $('div[name="flipgorilla"]');
fg.FlipGorilla( grill ).flipTo(page, true);
}
Currently when I call (eg) turnTo(10) it simply reloads the flipbook in the container and fails with "Cannot call method 'flipTo' of undefined" but you see what I am trying to achieve here.