Page 1 of 1

Help with AddHheader / AddJavascript, seem not to be working.

Posted: Tuesday 4th January 2022 12:11am
by crevilla
Hi.

I am trying to load some javascript and css files into my Web project, using the WebForm functions AddHeader and AddJavascript.
I have been fiddling a little bit with this, but no good. Please check my project see what is wrong.
Enclosed in zip is the index.html which must be put in some accessible folder through your web browser (http://localhost/something/index.html)
If you access said file directly, you will see a pretty calendar.
If you start gambas project and click on button, file index.html is loaded, but all the headers and css needed to render the calendar are not, which results in an ugly textbox being rendered instead.

I want my pretty calendar.
Any help will be appreciated.

Re: Help with AddHheader / AddJavascript, seem not to be working.

Posted: Tuesday 4th January 2022 12:02pm
by cogier
I was just about to point you to the Spanish site but, I see the post is from you. I hope that helps you.