This isn't an FM calculation . . .
why don't you do this?
I know ! but I want it to be, This is a piece of code I am using to try and teach myself how to use html in filemaker
I think I already tried that route but will give it another go.
H1 That works exactly as it should!!
I have been at this all day and your fix was the first calc I used and it didn't work so I thought I had missed something! I did notice that when I was continually going in and out of edit mode that the browser would hang and not display anything until I re-booted filemaker.
Many Thanks for restoring my sanity :)
no problem. Glad to help. Sometimes the need to reboot makes me feel the same way.
I thought I would keep this question in this thread as its sort of related
Any ideas on how I could use the GetLayoutAttribute to find the height and width of my web viewer?
I have tried enclosing using \"" "\" but no joy</head><body><canvas id=\"myCanvas\" width= GetLayoutObjectAttribute (web;width) height= GetLayoutObjectAttribute (web;height) ></canvas><script>var canvas = document.getElementById(\"myCanvas\");var context = canvas.getContext(\"2d\");
I'm sure is something more like like:
"width=\""&&" px\" "
I had reposted this in a new thread because I wasn't sure it would be revisited so have my issue sorted.
I noticed you have px added!
what does it do? I haven't included it and my code works ok.
Eager for as much info as I can get