Page 1 of 1

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 9:04 pm
by MorningLight
Guys,

I see now into AppData/Local/Temp/Preview that folder SCRIPTS is not being copied there in Preview mode - and because of this I cannot really see any Javascript defined by them.

Since this folder is NOT checked to "Don't Publish", shouldn't it being copied?

Now I understand why Chrome is pointing "ERR_FILE_NOT_FOUND" - they are really absent - but functions when the script is being pointed in Cloudflare,

Is this a bug??

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 9:15 pm
by BaconFries
You have misunderstood me... It was not the main chart.js I was meaning but the jQuery file associated with it. As you can see it requires a understanding of scripts to able to use. Now I will try to help even though it outwith help offered.

Please make a 'New' blank page with only all the Chart files nothing else to start with test and see it it works. If it works then upload that page only for me to see this is so I can check all files used and try it with the script you wish to use and hopefully let you know.

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 9:32 pm
by MorningLight
Thank you very much Bacon Fries.

My problem is not related to the script usage and conflicts at all.
The problem is really how to implement a special background I have here in a WB.

Anyway, I will send to you a page with:

- Several CHARTS functioning perfectly.
- Background functioning partially (only color, not the effects)

Could you please send me a valid e-mail to I provide a Google Drive link directly to you?
Or, if preferable, write to and I will return the Google Drive link.

Thanks again!

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 9:37 pm
by BaconFries
I will contact you with my address but for now I will remove your so not to get spammed

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 9:41 pm
by MorningLight
Great!
Thank you.

Re: Canvas Background - Is it Possible?

Posted: Wed Nov 01, 2017 10:10 pm
by MorningLight
Bacon,

I don't want to disturb you but your message didn't come in my email....
:roll:

Re: Canvas Background - Is it Possible?

Posted: Thu Nov 02, 2017 12:26 am
by MorningLight
Hi Guys, I had solved the problem!

The problem was related to DOM.
When I called DOM.GetElementByID() I got errors because the page was NOT entirely loaded in fact.
So, thinking about this I performed these steps:

1- I put the <STYLE> part of code into <PAGE HTML>, within <HEAD> section.

2- I created two different <HTML> controls on page.

3- In the first I put all scripts loading (except CHART, which continues in <PAGE HTML> section), setting it as "BEFORE </BODY>".

4- In the seconds <HTML> control, I put the <Section> and <Div> codes to draw the background and effect, setting it as "DO NOT USE <DIV>".

And voila!

Thank you for the efforts in help me.