Been at it for hours Please help
$("#NewsReel").click(function(){
if( $(".block_news").css("background","url('/new_skool/images/news_1.jpg')no-repeat"))
{
$(".block_news").css("background","url('/new_skool/images/news(2).jpg')no-repeat");
}
else
{
if( $(".block_news").css("background","url('/new_skool/images/news(2).jpg')no-repeat"))
{
$(".block_news").css("background","url('/new_skool/images/news_1.jpg')no-repeat");
}
}
});
Thank You
It changes the image once, but then does not fire the second if statement.