It's easy to call function between different js files which embedd in the same html web pages.
/////////////
$.fn.leanorama.extensions.push(function start() {
.....
// Bind the Left button
$controls.left.bind('touchstart mousedown', $.proxy(function() {
//alert("Bind the Left button");
this.pan_start(-0.7, 0);
show_play();
}, this)).bind('touchend mouseup', $.proxy(function() {
this.pan_stop();
}, this));
function qfordTest(){
alert("qfordTest");
this.pan_start(-0.7, 0);
show_play();
}
....
)};
//////////
My question is how to invoke left button anonymous function.
I try:(but it doesn't work)
$.fn.leanorama.extensions.push.qfordTest();