I have a page with jquery tabs where I've tied a function to the show event. Apparently, by doing just this:
$(function() {
$('#myTabs').tabs({ show: function() {} });
});
it turns an animation effect on when switching between the tabs (http://jsfiddle.net/22unj/)
How do I go about turning that off without removing my show handler?
You can't. Option show is used to determine how to animate tabs. Maybe what you want is Method activate ?
$(function() {
$('#myTabs').tabs({ activate: function() {doSomething();}, create: function() {doSomething();} });
function doSomething() {
console.log('hello world!');
}
});