Hello!
I have a problem with the generated HTML files. I’ve got a OnPageLoad event which contains drawing some lines on an Canvas. This works properly in the preview, but not in the generated HTML.
Here is my prototype:
example.rp (128.6 KB)
And here the steps to explain an reproduce the problem:
- Click on “Draw”-button
- Draw five points by clicking on iframe area (5th point has an arrow at his end)
- Click on “Draw”-button
In preview:
4. the same arrow (with thinner line) is shown
5. click on iframe-area
6. set number to “3” and choose “Auto” in droplist and click “Speichern”-button
7. the same arrow is shown, but with a three-line-stroke and is colored red
In generated HTML:
4. the arrow disappears but a click on the iframe area shows menu as it does in preview
I tried to fix it by loading a page that just loads the page I really want to load, but that didn’t work.
That means that a part of the javascript is executed (or works) and another part, that one that draws the arrow, doesn’t.
I’m very confused by this. Are the global variables I use to draw the arrow not working in the generated HTML? Or is there another mistake?
I would be so so thankful if anybody could help me!
Thanks!