I am working with a client who wanted his site developed with frames.. ugh.. I know. Well, now that the dirty work is done. I am having problems getting only the main frame (the one on the right) to print. I have three html pages that make up index.html.
index.htm
home.htm (main – right frame)
navbar.htm (content – left frame)
I used the following scripts: in my home.htm (main frame) and not on the navbar.htm and uploaded to the server.
‘
Not only do I get a pop-up dialog box for printing (bad), but it still is only printing the navbar.
Any suggestions .. or ??
Site reference [url]http://www.sensitrac.com/test
<script language=”JavaScript”>
<!– hide this script from non-javascript-enabled browsers
/* Functions that open and control pop-up window
function openWin(URL) {
aWindow = window.open(URL, ‘newWindow’,’width=620,height=550,directories=yes,location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes’);
}
// stop hiding –>
</script>
<script language=”JavaScript” type=”text/JavaScript”>
parent.main.focus ( );
parent.main.print ( );
</script>