Java Script for cycling through pages?
This is way out of my league and I'm using an HTML file that someone wrote for me. I have a Crystal Report up on a huge TV monitor. This report will display the current status of samples. The html file basically takes the report and displays it and refreshes every 5 minutes or so. This is fine when the report is only 1 page. But if it’s more than one page, I need something in the HTML (If possible) to tell it to cycle between pages. Is this possible and if so can someone help me out with the script? Here is my html file so far:
Code:
<html>
<script type="text/javascript">
/*<![CDATA[*/
function loadIframe() {
document.getElementById('if_one').src = 'http://usbdboxiwb901:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AUfvlluquuZIr0UKY0QEacU&sIDType=CUID&sInstance=Last&sReportMode=weblayout';
setTimeout(loadIframe, 120000);
}
window.onload = loadIframe;
/*]]>*/
</script>
<iframe id="if_one" src="" style="width: 2500px;height: 2000px;float: left;margin: 20px;"></iframe>
</html>