title: Dynamic background change depending on current image hover
body: <p>I want to change background image of a div, depending on what image is currently hovered by mouse. I want to create a gallery, so I have a list of images. I want to display the exact same url dynamically (hovered thumbnail) as hovered as a background of the main div (hero image).</p>
  
  <pre><code>&lt;div id="background"&gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;img src="image/1.jpg" alt="" /&gt;&lt;/li&gt;
          &lt;li&gt;&lt;img src="image/2.jpg" alt="" /&gt;&lt;/li&gt;
          &lt;li&gt;&lt;img src="image/3.jpg" alt="" /&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>At the beginning, the <code>id="background"</code> has default background, which should be swaped to hovered image. When the image is unhovered, the image should back to the default one.</p>
  
  <p>How can I do that using jquery the easiest way? It has to be the same url as the thumbnail, so it has to be dynamic, without additional url settings in jquery script file. </p>