I am using HTML with frames. I have a top frame for a banner, a contents frame on the left, and a main frame. Links in the contents frame open pages in the main frame. The top frame and contents frames don't change.
Anyway, what I want to do is have a button (or text link) on the top form that says "print this page". When clicked it will print out the page in the main frame, whatever page happens to be loaded at the time.
Any help would be appreciated, thanks
edit: I have found this script on a website, how would I edit it to make it print the frames page?