Hopefully I am missing something relatively straight forward here.
I am hoping to have the first click toggle the background position of an image -37px and then the second click toggle back to the original position.
I am changing a plus sign to a minus sign and then back to a plus sign as a div is shown and hidden.
Thanks for the help!
$('#expand-button').click(function() {
$('#top10-list').slideToggle(600, function() {
$('#expand-button').css('background-position','0 -37px');
});
});
http://jsbin.com/ibijey/edit#javascript,html,live