title: Show a specific div by adding code to URL
body: <p>I have this code as an example:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  function showonlyone(thechosenone) {
       $('.newboxes').each(function(index) {
            if ($(this).attr("id") == thechosenone) {
                 $(this).show(200);
            }
            else {
                 $(this).hide(600);
            }
       });
  }
  &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
               &lt;div style="border: 1px solid blue; background-color: #99CCFF; padding: 5px; width: 150px;"&gt;
                  &lt;a id="myHeader1" href="javascript:showonlyone('newboxes1');" &gt;show this one only&lt;/a&gt;
               &lt;/div&gt;
               &lt;div class="newboxes" id="newboxes1" style="border: 1px solid black; background-color: #CCCCCC; display: block;padding: 5px; width: 150px;"&gt;Div #1&lt;/div&gt;
  
  
               &lt;div style="border: 1px solid blue; background-color: #99CCFF; padding: 5px; width: 150px;"&gt;
                  &lt;a id="myHeader2" href="javascript:showonlyone('newboxes2');" &gt;show this one only&lt;/a&gt;
               &lt;/div&gt;
               &lt;div class="newboxes" id="newboxes2" style="border: 1px solid black; background-color: #CCCCCC; display: none;padding: 5px; width: 150px;"&gt;Div #2&lt;/div&gt;
  
               &lt;div style="border: 1px solid blue; background-color: #99CCFF; padding: 5px; width: 150px;"&gt;
                  &lt;a id="myHeader3" href="javascript:showonlyone('newboxes3');" &gt;show this one only&lt;/a&gt;
               &lt;/div&gt;
               &lt;div class="newboxes" id="newboxes3" style="border: 1px solid black; background-color: #CCCCCC; display: none;padding: 5px; width: 150px;"&gt;Div #3&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>On a different page, I want to have a link that will show <strong>Div #2</strong> when the user loads the page by clicking that external link. I would presume that such thing would be possible by some type of adjustment to the URL? For instance: domain.com/page.php?=showdiv2</p>
  
  <p>Any assistance is appreciate, my knowledge of coding is limited (especially with PHP) so please be detailed if you choose to help.</p>