threet
12-09-2004, 03:02 PM
Hi,
I am using frames. (before I get flamed, it's for a intranet, and frames is required).
The left frame has a list of all links, which link to a dynamically created page on a remote server, which opens up in the right frame.
Here is an example of a link in the left frame:
http://www.somesite.com/somefolder/t.php?account=2222&trace=9999999&check=&date=10042004&chk=85&mysubmit=go
This link produces an image which opens in the right frame. The URL of the image is as follows: http://www.somesite.com/somefolder/img.php?file=tmp/xaaa.jpg
The problem, is that every link on the left produces the same url. This url opens up in the right frame (within a iFrame). The size of the image varies, so most of the tme, when I print the frame with the image, it prints only part of the image on one page, and prints the other part on a different page. I need to get it to be able to print on one page (resized if necessary. Any help would be appreciated.
This is the code for my right frame:
<body onResize="window.location.href = window.location.href;">
<font face="verdana" font size="1">
<p align="center"></p>
<b><u>TIPS:</u><br>
- Click on a sequence number in the left column to view the image of that check.
<br>- If you have requested an image, and do not see a sequence number, try refreshing the page.
<br>- Remember, Current Exception Images may not be available for viewing until after 2:00 PM CST.
<br><br>
<IFRAME SRC="blank.htm" NAME="images" MARGINWIDTH="0" MARGINHEIGHT="0" NORESIZE HEIGHT="800" WIDTH="800" FRAMEBORDER="0"></IFRAME>
</font></body> I am pointing the iFrame SRC to a blank.htm file, since nothing gets loaded in it till someone clicks on the link on the left.
The biggest problem is that in order to achieve my goals, I have to load the entire remote page in the iFrame, which includes the image
I am using frames. (before I get flamed, it's for a intranet, and frames is required).
The left frame has a list of all links, which link to a dynamically created page on a remote server, which opens up in the right frame.
Here is an example of a link in the left frame:
http://www.somesite.com/somefolder/t.php?account=2222&trace=9999999&check=&date=10042004&chk=85&mysubmit=go
This link produces an image which opens in the right frame. The URL of the image is as follows: http://www.somesite.com/somefolder/img.php?file=tmp/xaaa.jpg
The problem, is that every link on the left produces the same url. This url opens up in the right frame (within a iFrame). The size of the image varies, so most of the tme, when I print the frame with the image, it prints only part of the image on one page, and prints the other part on a different page. I need to get it to be able to print on one page (resized if necessary. Any help would be appreciated.
This is the code for my right frame:
<body onResize="window.location.href = window.location.href;">
<font face="verdana" font size="1">
<p align="center"></p>
<b><u>TIPS:</u><br>
- Click on a sequence number in the left column to view the image of that check.
<br>- If you have requested an image, and do not see a sequence number, try refreshing the page.
<br>- Remember, Current Exception Images may not be available for viewing until after 2:00 PM CST.
<br><br>
<IFRAME SRC="blank.htm" NAME="images" MARGINWIDTH="0" MARGINHEIGHT="0" NORESIZE HEIGHT="800" WIDTH="800" FRAMEBORDER="0"></IFRAME>
</font></body> I am pointing the iFrame SRC to a blank.htm file, since nothing gets loaded in it till someone clicks on the link on the left.
The biggest problem is that in order to achieve my goals, I have to load the entire remote page in the iFrame, which includes the image