Jump to content

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


crayfish

This topic is 3061 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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
Link to comment
Share on other sites

This topic is 3061 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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