MGFX.Tabs 1.2.0 - Show a Random Tab
I’ve updated MGFX.Tabs to have a random slide function. It just uses Math.random
, and a slight modifier to insure the random number isn’t already the current index. Since I believe in semantic versioning, and this is a feature update (not a bug fix), but not breaking, its should be a new minor version.
var tabs = new MGFX.Tabs($$('.tabs li a'), $$('.tabs .content'));tabs.random();
So MGFX.Tabs 1.2.0 is available on the Forge.