Open a new page with div contents
<p>I have some hidden divs in a HTML page with specific IDs:</p>

<pre><code>&lt;div id='log1' style='visibility: hidden;display: none;'&gt;content&lt;/div&gt;
&lt;div id='log2' style='visibility: hidden;display: none;'&gt;content&lt;/div&gt;
</code></pre>

<p>And then some links:</p>

<pre><code>&lt;a href='?' target='_blank'&gt;Log 1&lt;/a&gt;
&lt;a href='?' target='_blank'&gt;Log 2&lt;/a&gt;
</code></pre>

<p>I want the browser to open a new page / tab (or even a popup but this might be bad if the user has popup blockers) with the contents of the corresponding div.</p>

<p>I know I could do some Javascript to create a floating div and show the data in the same page, but I'd like to avoid that. Moreover, if there is a way of doing what I ask without JS (which I doubt) even better.</p>