Canvas Background - Is it Possible?

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Canvas Background - Is it Possible?

Post 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??
User avatar
BaconFries
 
 
Posts: 5316
Joined: Thu Aug 16, 2007 7:32 pm

Re: Canvas Background - Is it Possible?

Post 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.
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Canvas Background - Is it Possible?

Post 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!
User avatar
BaconFries
 
 
Posts: 5316
Joined: Thu Aug 16, 2007 7:32 pm

Re: Canvas Background - Is it Possible?

Post by BaconFries »

I will contact you with my address but for now I will remove your so not to get spammed
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Canvas Background - Is it Possible?

Post by MorningLight »

Great!
Thank you.
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Canvas Background - Is it Possible?

Post by MorningLight »

Bacon,

I don't want to disturb you but your message didn't come in my email....
:roll:
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Canvas Background - Is it Possible?

Post 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.
Post Reply