Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Non-printable button and framesets

Featured Replies

  • 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

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 smile.gif" border="0

"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").

  • 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.

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.

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

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.