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

HTML works in webviewer opened as external file but not as calculation result

Featured Replies

I'm probably missing something obvious....

If I open the attached file in a webviewer, it works as expected.

"file:/" & Get(DesktopPath) & "testpopup.html"

However, if I copy the code from that file and paste it into a field codeHTML and then use the following webviewer calculation "data:text/html," & codeHTML, then the popups don't work.

I'm on Filemaker Pro Advanced 13.0v3 on Mac OS X 10.10.5 

The code will be changing dynamically so I'd rather not have to be exporting a temp file every time in order for popups to work.

Any ideas?

[p.s. the code allows you to create popups using CSS only, no Javascript. credit goes to Prakash Nakrani: http://www.sevensignature.com/blog/code/pure-css-popup-without-javascript/]

testpopup.html

Edited by crayfish

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.