17,230
edits
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
// select a tab | // select a tab | ||
var tabselect = function( target, selector, selection ) { | var tabselect = function( target, selector, selection ) { | ||
// set the data | // set the data | ||
tabstate[target][selector] = selection; | tabstate[target][selector] = selection; | ||
Line 32: | Line 32: | ||
} | } | ||
content = content.join( ' ' ); | content = content.join( ' ' ); | ||
console.log( content ); | |||
// show the tabContent div | // show the tabContent div | ||
$('#'+target+' div[data-tab-content="'+content+'"]').show(); | $('#'+target+' div[data-tab-content="'+content+'"]').show(); |