JQuery fadeIn fadeOut loop issue
- by Tarun
I am trying to create a jQuery fadeIn fadeout effect for my page content using the code below.
$(document).ready(function (){
$("#main").click(function(){
$("#content").fadeOut(800, function(){
$("#content").load("main.html", function(){
$("#content").fadeIn(800);
});
});
});
$("#gallery").click(function(){
…