ライトボックスライブラリのプライベート機能を上書きしたいのですが。
これはそのコードの一部です:
$.fn.lightBox = function(settings) {
var jQueryMatchedObj = this; // This, in this context, refer to jQuery object
function _set_interface()
{
//....
}
function _start(objClicked,jQueryMatchedObj) {
//...
_set_interface();
//...
}
function _initialize() {
_start(this,jQueryMatchedObj);
return false;
}
return this.unbind('click').click(_initialize);
}
_set_interface関数をオーバーライドする必要があります。出来ますか?