Hello Guys,
Using this fucntion:
$('#switchbutton2').click(function(){
$('#switch1,#switch3,#switch4,#switch5').hide(func tion(){
$('#switch2').show();
});
});
Simply shows and hides the content. Pretty simple.
Is there anyway that i could set a variable at the top of the script so i could change animation and speed of the animation for all the functions above (remember there will be more than one switching snippet).
In other words, could i add a function name to the hide "function" and set up some code to gloablly change the animation and speed. Like a plugin.
Hope this is enough explanation.