I'm having trouble adding a background image to this specific div element:
<div class="logo-main"></div>
Here is the script I've been using, but it doesn't seem to be working as expected:
<script type='text/javascript'>
$(document).ready(function(){
var div = $('.logo-main');
$('.logo-main').hover(function() {
div.css({ 'background': 'url(images/slides/glare.png)' });
)};
});
</script>
Does anyone have any suggestions or ideas on how to make this work?