Browse files

Docs: popup/index.html added link button text and closing tag to avoi…

…d confusion in copy paste
  • Loading branch information...
1 parent a38792c commit 440d07674889f2a20188fe4590add5cb2055bb35 @agcolom agcolom committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/pages/popup/index.html
@@ -235,7 +235,7 @@ <h3 class="ui-title">Are you sure you want to delete this page?</h3>
<p>For situations like a dialog or lightbox where the popup should appear centered within the window instead of over the origin, add the <code>data-position-to</code> attribute to the <strong>link</strong> and specify a value of <code>window</code>. </p>
<p>It's also possible to specify any valid selector as the value of <code>position-to</code> in addition to <code>origin</code> and <code>window</code>. For example, if you add <code>data-position-to="#myElement"</code> the popup will be positioned over the element with the id <code>myElement</code>.</p>
<pre id="codeSample"><code>
-&lt;a href=&quot;#positionWindow&quot; data-rel=&quot;popup&quot; <strong>data-position-to=&quot;window&quot;</strong>&gt;
+&lt;a href=&quot;#positionWindow&quot; data-rel=&quot;popup&quot; <strong>data-position-to=&quot;window&quot;</strong>&gt;Position to window&lt;/a&gt;
&lt;div data-role=&quot;popup&quot; id=&quot;positionWindow&quot;&gt;
&lt;p&gt;I am positioned to the window.&lt;/p&gt;

0 comments on commit 440d076

Please sign in to comment.