Link to a page and trigger toggle event on div
<p>I am using Jquery to toggle a hidden (by default) div on page 1.</p>

<pre><code>$(document).ready(function(){
    $(".trigger").click(function(){
        $(".panel").toggle("fast");
        $(this).toggleClass("active");
        return false;
    });
});
</code></pre>

<p>What I need to be able to do is link to page 1 from page 2 as well as open the hidden div in the same event. </p>

<p>I'm hoping someone can shed some light on a simple execution of this? Cheers!</p>
