Use jQuery $ inside an iframe
<p>I would use an expression like this </p>

<pre><code>$("a[href*='2']").offset().left
</code></pre>

<p>but for iframe's elements ...</p>

<p>I tried this:</p>

<pre><code>$("#inside-slider").contents().attr("a[href*='2']").offset().left
</code></pre>

<p>but nothing. </p>

<p>(inside-slider is my iframe's id)</p>
