У меня есть связь, которая имеет...
a#popup { background:url(../popupopen.jpg) center right no-repeat #fff;
какие пуговицы использование положения меню...
jQuery(document).ready(function(){
jQuery('a#popup').toggle(function() {
jQuery("#wps-sidebar").css({left: "30px"});
}, function() {
jQuery("#wps-sidebar").css({left: "-240px"});
});
});
& I'm trying to add a simple background image change to the end of each, so that when it opens the background image changes to use popupclose.jpg (after the menu position toggle), & obviously back to popupopen.jpg once it's closed again. I'm trying to copy existing examples but can't find anything that gets through to my js-inept brain, can someone please advise?
Заранее спасибо.