Hi there,

I have some links on a page inside <div id="files"></div>.
They link to the same page, but with a different hash.
The hash should define what url will be loaded into #files.

I have the script below:

<script type="text/javascript">
  $(function() {
    $('#files').load("index.php?
explore="+location.hash.substring(1));
  });
</script>

It works when someone goes to the page with a defined hash, or if you
refresh the page with a certain hash,
but just by clicking the links and back/forward in the browser it
won't work. The script doesn't get fired again..

I hope this is clear.

Thanks,
Frizzle.

Reply via email to