|
function LanguageFilterController() {
this.tabCollections = new Array();
this.blockCollections = new Array();
}
LanguageFilterController.prototype.registerTabbedArea = function(tabCollection, blockCollection) {
this.tabCollections.push(tabCollection);
this.blockCollections.push(blockCollection);
}
LanguageFilterController.prototype.switchLanguage = function(languageId) {
for(var i=0; i<this.tabCollections.length; i++) {
var tabs = this.tabCollections[i];
var blocks = this.blockCollections[i];
tabs.toggleClass('x-lang',languageId,'activeTab','tab');
blocks.toggleStyle('x-lang',languageId,'display','block','none');
}
}
LanguageFilterController.prototype.switchLanguage2 = function(languageId) {
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Jeff Anderson has been a computer graphics software developer for over twenty years.
He is a co-founder of Braid Art Labs and a developer of Braid's
GroBoto 3D software. Jeff also dabbles in shareware with an expanded version of the AlphaForm control and other programs
here.