BlurredVision
Technical User
Hello All.. Thought I would share this with you. I needed a way to display a report in html without the toolbar, and the data had to refresh when the 'refresh' botton on IE toolbar was clicked. I hope you find it useful.
Brian
Here's what I came up with:
<HTML>
<HEAD>
<script>
function time(){
mydate=new Date()
return mydate.getTime()
}
</script>
</HEAD>
<BODY><CENTER>
<iframe id=myiframe src="about:blank" width=850 height=650 frameborder=0></iframe>
<script>
document.getElementById("myiframe".src=" server/reports/viewrpt.cwr?&ID=51480&user0=id&password0=pw&apsuser=userid&apspassword=pw&apsauthtype=secEnterprise&viewer=html_frame&vfmt=html_frame&page=1&cmd=get_pg&incomplete_page_count=1&prompt0="+time()
</script>
<CENTER>
</BODY>
</HTML>
Brian
Here's what I came up with:
<HTML>
<HEAD>
<script>
function time(){
mydate=new Date()
return mydate.getTime()
}
</script>
</HEAD>
<BODY><CENTER>
<iframe id=myiframe src="about:blank" width=850 height=650 frameborder=0></iframe>
<script>
document.getElementById("myiframe".src=" server/reports/viewrpt.cwr?&ID=51480&user0=id&password0=pw&apsuser=userid&apspassword=pw&apsauthtype=secEnterprise&viewer=html_frame&vfmt=html_frame&page=1&cmd=get_pg&incomplete_page_count=1&prompt0="+time()
</script>
<CENTER>
</BODY>
</HTML>