scarleton
May 14th, 2003, 12:28 PM
I need some help. I am working on web page that will display a number of reports. The problem is that loading all the reports takes too long. So there will be a list of the report titles and an arrow for the user to click on. When the user clicks on the arrow, that will make a hidden div visible. The div contains an iframe. I don’t want to load the iframe until the user clicks on the arrow to make the div visible.
Currently, one of the iframes looks like this:
<iframe frameborder="1" scrolling="auto" style="height: 80%; width: 100%;" name="Reports\anReport.html">
I tried document.getElementById(“Reports\anReport.html”) to get the iframe, but that does not work. How do I go about getting the iframe?
Currently, one of the iframes looks like this:
<iframe frameborder="1" scrolling="auto" style="height: 80%; width: 100%;" name="Reports\anReport.html">
I tried document.getElementById(“Reports\anReport.html”) to get the iframe, but that does not work. How do I go about getting the iframe?