Thanks, I see what is going wrong.
I misunderstood your answer initially, but I see now I needed to take the fade in out of the call back from the fade out
- $("#click1").click(function () {
- $(".vis").fadeOut(200, function () {
- });
- $("#content1").fadeIn(500);
- });
- $("#click2").click(function () {
- $(".vis").fadeOut(200, function () {
- });
- $("#content2").fadeIn(500);
- });
- $("#click3").click(function () {
- $(".vis").fadeOut(200, function () {
- });
- $("#content3").fadeIn(500);
- });
Many thanks