Changes

Jump to navigation Jump to search
no edit summary
Line 32: Line 32:  
$('#wagon-configurator li.wagon-slot').click(function(){
 
$('#wagon-configurator li.wagon-slot').click(function(){
 
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
 
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
 +
window['wagonConfiguratorList'] = wagonConfiguratorList;
 
$(this).css("background-image", "url(" + wagonConfiguratorList + ")");
 
$(this).css("background-image", "url(" + wagonConfiguratorList + ")");
 
alert("You selected " + wagonConfiguratorList);
 
alert("You selected " + wagonConfiguratorList);
 
});
 
});
 
});
 
});

Navigation menu