Newbies Ducray Posted November 30, 2001 Newbies Posted November 30, 2001 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
Anatoli Posted December 1, 2001 Posted December 1, 2001 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
Keith M. Davie Posted December 1, 2001 Posted December 1, 2001 "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").
Newbies Ducray Posted December 9, 2001 Author Newbies Posted December 9, 2001 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.
Keith M. Davie Posted December 9, 2001 Posted December 9, 2001 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.
Garry Claridge Posted December 10, 2001 Posted December 10, 2001 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
Newbies Ducray Posted December 10, 2001 Author Newbies Posted December 10, 2001 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.
Recommended Posts
This topic is 8485 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now