Hi. I am working on a website that requires a btn that removes the entire middle section when clicked to reveal a nice 100% background image. I have set up a standard HTML btn with an id of show-background and I also a div with an id of content-area. My jQuery code looks like this:
$("a#show-background").click(function () {
$("div#content-area").fadeOut("slow");
});
$("a#show-background").click(function () {
$("div#content-area").fadeIn("slow");
});
This isn't working right. I wonder if anyone can put me on the right lines? Many thanks in advance!