Topic: top.location
Hi,
I've just moved across from Flash (BananAlbum via JAlbum) and am currently re-building all my pages with JBox Pro.
One area that I've just realised is not catered for, is ensuring that a site cannot get 'orphaned' when it's usually viewed in an iFrame. Rudin (BananAlbum developer) kindly added a parameter for top.location to the tools in JAlbum and I'm hoping that you may feel that this is something important. What can be worse than anonymous work?
In the meantime :
I have this piece of javascript which should do the job, but don't know how or where to apply it to my galleries. Could anyone shed some light?
<script type="text/javascript">
if(top.location == window.location){
top.location.href = 'http://www.grantsymon.com..........';
}
</script>
Grant