onclick go to url THEN do something specific
<p>i have a page on my site (let's call it list_page.html) with js functions that allow you to click a link and see a list of multimedia objects. clicking another link (on the same page) will hide the div with the multimedia list and reveal a list of video objects. another link will hide whatever list is visible and reveal a list of audio objects, and so on...</p>

<pre><code>$("#multibtn").click(function(){
    $(".menuslab").hide();
    $(".menuslab &gt; *").hide();
    $("#multi_div").fadeIn("slow");
    $("#multi_div &gt; *").fadeIn("slow");
});
</code></pre>

<p>if on my main page (mainpage.html) i have a link named "multimedia", is there a way i can get it to navigate to list_page.html AND execute the function that calls the list of multimedia objects?</p>
