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

For questions about Gambas web tools.
Post Reply
crevilla
Posts: 7
Joined: Thursday 30th December 2021 10:22pm

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

Post 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.
Attachments
WebURLTest.zip
(96.38 KiB) Downloaded 303 times
Dies ist kein Unterschrift.
Image
User avatar
cogier
Site Admin
Posts: 1117
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

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

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