I have this index page with 2 iframes. In one of the iframes in the page I have some links:
<a href="home.html" target="content" onclick="run.slimmscroll(#anchor1);">Home</a>
<a href="home.html" target="content" onclick="run.slimmscroll(#anchor2);">Home</a>
<a href="home.html" target="content" onclick="run.slimmscroll(#anchor3);">Home</a>
The home.html is loaded into the "content" Iframe. Now I need to execute a Jquery script on the home.html when it is loaded. Here is the script: 
<SCRIPT type="text/javascript"> 
$(window).load(function() {             
$('#scroll').slimScroll({    
start: $('#anchor1')
  });    
 });
</SCRIPT>
The idea is to get home.html to #anchor1, 2, 3 and so on with smooth scrolling which it normally does on page load but I would like to do it with the onclick() from the other page.
Hope you guys can help.
 
    