ÿØÿà JFIF ` ` ÿþ
|
Server : Apache/2 System : Linux srv244.medyabim.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64 User : lionbursa ( 1773) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/lionbursa/public_html/admin/style/js/ |
Upload File : |
(function ($, w, undefined) {
if (w.footable === undefined || w.foobox === null)
throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.');
var defaults = {
/*
Plugin options here, example:
var defaults = {
myPlugin: {
enabled: true
}
};
This would allow you to access this option using ft.options.myPlugin.enabled
*/
};
function MyPlugin() {
var p = this;
p.name = 'Footable MyPlugin';
p.init = function(ft) {
$(ft.table).bind({
/*
Bind to relevant events here to modify/add functionality to Footable, example:
$(ft.table).bind({
'footable_initialized': function(e){
if (e.ft.options.myPlugin.enabled === true){
alert('Hello World');
}
}
});
This would listen for the 'footable_initialized' event and when called check if the plugin is enabled
and if it is alert 'Hello World' to the user.
*/
});
};
}
w.footable.plugins.register(MyPlugin, defaults);
})(jQuery, window);