Hello,
I am trying to write a page that displays a PDF document in right site
of the page and a navigation bar on the left side. The only way I
know to do this is using frames or iFrames and I am trying to be as
browser independent as possible. Here is what my frame page looks
like.
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> </HEAD>
<form id=frmBookViewV PDF name=frmBookVie wVPDF>
<frameset FRAMEBORDER="0" FRAMESPACING="0 " BORDER="0"
COLS="200,*">
<frameset FRAMEBORDER="0" FRAMESPACING="0 " BORDER="0"
Rows="*,1">
<frame name="fraToolBa r" src="BookViewVP DFToolbar.asp">
<frame name="fraContro l" src="BookViewVP DFControl.asp">
</frameset>
<frame scrolling="no" name="fraImage" src="blank.htm" >
</frameset>
</form>
</HTML>
The javasciprt for BookViewVPDFCon trol.asp
function ControlWindow_o nload()
{
var cellPrev =
window.parent.f raToolBar.docum ent.getElementB yId('tdPrevImag e');
var newCell = document.create Element('td');
var objParent = cellPrev.parent Node;
newCell.innerHT ML = sPrevImage
objParent.repla ceChild(newCell , cellPrev);
}
I've tried all kinds of combinations to do this but none have worked
does anybody have an suggestions? What I am trying to do is update
links from hidden frame to the other two frames without all three
frames making trips back to the server.
Thanks
David Logan
I am trying to write a page that displays a PDF document in right site
of the page and a navigation bar on the left side. The only way I
know to do this is using frames or iFrames and I am trying to be as
browser independent as possible. Here is what my frame page looks
like.
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> </HEAD>
<form id=frmBookViewV PDF name=frmBookVie wVPDF>
<frameset FRAMEBORDER="0" FRAMESPACING="0 " BORDER="0"
COLS="200,*">
<frameset FRAMEBORDER="0" FRAMESPACING="0 " BORDER="0"
Rows="*,1">
<frame name="fraToolBa r" src="BookViewVP DFToolbar.asp">
<frame name="fraContro l" src="BookViewVP DFControl.asp">
</frameset>
<frame scrolling="no" name="fraImage" src="blank.htm" >
</frameset>
</form>
</HTML>
The javasciprt for BookViewVPDFCon trol.asp
function ControlWindow_o nload()
{
var cellPrev =
window.parent.f raToolBar.docum ent.getElementB yId('tdPrevImag e');
var newCell = document.create Element('td');
var objParent = cellPrev.parent Node;
newCell.innerHT ML = sPrevImage
objParent.repla ceChild(newCell , cellPrev);
}
I've tried all kinds of combinations to do this but none have worked
does anybody have an suggestions? What I am trying to do is update
links from hidden frame to the other two frames without all three
frames making trips back to the server.
Thanks
David Logan
Comment