Skip to content

Instantly share code, notes, and snippets.

@scofennell
Created January 10, 2018 14:27
Show Gist options
  • Save scofennell/27432cc580eb4911d2235b92ef076244 to your computer and use it in GitHub Desktop.
Save scofennell/27432cc580eb4911d2235b92ef076244 to your computer and use it in GitHub Desktop.
LXB MCT jQuery
/**
* Our jQuery plugin for doing tablesorters.
*/
jQuery( document ).ready( function() {
var options = {};
jQuery( '.lxb_mailchimp_tools-tablesorter' ).lxbMctTableSorter( options );
});
jQuery( document ).ready( function( $ ) {
$.fn.lxbMctTableSorter = function( options ) {
[...]
}
}( jQuery ) );
/**
* Our jQuery plugin for doing viewMores.
*/
jQuery( document ).ready( function() {
var options = {};
jQuery( '.LXB_MCT_View_More-get_link' ).lxbMctViewMore( options );
});
jQuery( document ).ready( function( $ ) {
$.fn.lxbMctViewMore = function( options ) {
[...]
}
}( jQuery ) );
/**
* Our jQuery plugin for doing tabbed panels.
*/
jQuery( document ).ready( function() {
var options = {};
jQuery( '.lxb_mailchimp_tools-tabbed_panels' ).lxbMctTabbedPanels( options );
});
jQuery( document ).ready( function( $ ) {
$.fn.lxbMctTabbedPanels = function( options ) {
[...]
}
}( jQuery ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment