source:
main/waeup.kofa/trunk/src/waeup/kofa/browser/static/page_not_reloader.js
@
9217
Last change on this file since 9217 was 9217, checked in by , 12 years ago | |
---|---|
File size: 251 bytes |
Line | |
---|---|
1 | $(document).ready(function() { |
2 | if(window.top==window) { |
3 | // you're not in a frame so you reload the site |
4 | window.clearTimeout('location.reload()'); //reloads after 1.5 seconds |
5 | } else { |
6 | //you're inside a frame, so you stop reloading |
7 | } |
8 | }); |
Note: See TracBrowser for help on using the repository browser.