Johanvh
02-20-2003, 09:40 AM
Has someone the javascript code to print a specific frame from a html page. When you push the button the specific frame should be printed automatic.
:confused:
:confused:
|
Click to See Complete Forum and Search --> : Print a specific frame from a html page Johanvh 02-20-2003, 09:40 AM Has someone the javascript code to print a specific frame from a html page. When you push the button the specific frame should be printed automatic. :confused: Charles 02-20-2003, 10:24 AM <script type="text/javascript"> <!-- if (top.otherFrameName && window.print) { document.write('<form action=""><div><input type="submit" value="Print That"></div></form>'); document.forms[0].onsubmit = function () {top.otherFrameName.print()} } // --> </script> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |