November 30, 200124 yr Newbies I'm trying to include a "Print" button on a page and don't want it to print itself. This can be normally be achieved using Java Script and using a frameset. But include CDML into the equation and this solution no longer works. My first priority is to achieve a non-printable button, but I would also be interested to establish whether framesets can be used in conjunction with CDML. Many thanks Mike
December 1, 200124 yr For the second part: I am using CDML only in Framesets because it gives me better security options. In pure HTML I've never used Framesets
December 1, 200124 yr "I'm trying to include a "Print" button on a page and don't want it to print itself." Why? What are you trying to have printed? If your client is trying to print a FileMaker record, that will print at the host end where FileMaker resides, not the client end. If your clients want to print the Web page they are viewing, they already have that capability (e.g., Macintosh - "File/Print" or Netscape Navigator - "Print").
December 9, 200124 yr Author Newbies Keith, thanks for your reply. I'm trying to simplify the situation. Ever tried including contents of a web page using framesets and wish to provide visitors with the ability to only print the important bits excluding the contents component? This usually works OK for me, but when you introduce CDML into the equation, the CDML statements don't function correctly.
December 9, 200124 yr Ah, a matter of perspective. My view is that framesets do not simplify. That said, perhaps the answer is to provide a button which will take them to second window from which to print.
December 10, 200124 yr For one site we have been doing as Keith suggests; i.e. open a new window with the html/cdml formatted ready for printing via the browser print button. Hope this helps. Garry
December 10, 200124 yr Author Newbies Thanks to all for replies. I've managed to get framesets working with CDML and am a very happy camper. The result is a really user friendly web page with a navigation/buttons/contents bar (incorporating a print button) in one frame and a schedule in the other frame. When I click on the print button it only prints the schedule and not the navigation/buttons/contents bar.
Create an account or sign in to comment