Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The following should work as a valid example.</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; &lt;html&gt; &lt;!-- Above Doctype should provide S mode in Moz, Safari, Opera, IE8 and A (almost standards) in IE6/7 --&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="application/text+html;utf-8"/&gt; &lt;title&gt;Sandbox&lt;/title&gt; &lt;link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" charset="utf-8" /&gt; &lt;link rel="stylesheet" href="css/print.css" type="text/css" media="print" charset="utf-8" /&gt; &lt;link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" /&gt; &lt;style type="text/css"&gt; &lt;/style&gt; &lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; google.load("jquery", "1.3.2"); google.load("jqueryui", "1.7.0"); &lt;/script&gt; &lt;script type="text/javascript"&gt; google.setOnLoadCallback(function() { $(document).ready(function() { $('.more-text').toggle(); $('.more').click(function() { $(this).parent().next('p').dialog(); }) }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="container"&gt; &lt;div id="person-1"&gt; &lt;p&gt;Short text for person one &lt;a href="#" class="more"&gt;Show more&lt;/a&gt;&lt;/p&gt; &lt;p class="more-text"&gt;This is more of the text&lt;/p&gt; &lt;/div&gt; &lt;div id="person-2"&gt; &lt;p&gt;Short text for person two &lt;a href="#" class="more"&gt;Show more&lt;/a&gt;&lt;/p&gt; &lt;p class="more-text"&gt;This is more of the text with a longer description that is supposed to go into a popup&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload