Explanation needed understanding jQuery objects and offsets
<p>So, with <code>var $moving</code> we are creating javascript object, right? But what is <code>$('&lt;li/&gt;')</code>? It is not even an html element. </p>

<p>Also, offset values describes the values of the <code>$this</code> element? So, in this case of the element <code>#slidingMenu li:first</code>? </p>

<pre><code>var $menu = $("#slidingMenu");
var $selected = $menu.find('li:first');
var $moving   = $('&lt;li/&gt;',{
    className : 'move',
    top       : $selected[0].offsetTop + 'px',
    width     : $selected[0].offsetWidth + 'px'
});
</code></pre>
