Hi,
I have a web page which contains two frames. The navigator frame and the frame target. The frame target runs an application which has a "print" functionality, via a hyperlink. This hyperlink is controlled via the navigation frame of the web browser.
However the first time you click the print link in the navigation frame, the page comes back with the standard "this page cannot be found" bobbins.
But, when you click "back" on the navigator and press the link again, it works without fail.
Why is this ?
and can it be stopped?
here is the code, i am using
<script = "Javascript">
try { (parent.target_frame.document.links[5].href = "Export Data"
document.write('<a href ="about:" onClick="this.href=parent.target_frame.document.links[5].href;" target="target_frame"</a>Print');
}
catch(e)
{
document.write('<a href="javascriptarent.main.focus();javascriptarent.frames.print()"</a> Print Exceptional Summary');
}
</script>
Thanks, Nunners
I have a web page which contains two frames. The navigator frame and the frame target. The frame target runs an application which has a "print" functionality, via a hyperlink. This hyperlink is controlled via the navigation frame of the web browser.
However the first time you click the print link in the navigation frame, the page comes back with the standard "this page cannot be found" bobbins.
But, when you click "back" on the navigator and press the link again, it works without fail.
Why is this ?
and can it be stopped?
here is the code, i am using
<script = "Javascript">
try { (parent.target_frame.document.links[5].href = "Export Data"
document.write('<a href ="about:" onClick="this.href=parent.target_frame.document.links[5].href;" target="target_frame"</a>Print');
}
catch(e)
{
document.write('<a href="javascriptarent.main.focus();javascriptarent.frames.print()"</a> Print Exceptional Summary');
}
</script>
Thanks, Nunners