Page 1 of 1

Adding HTML page objects in a new page using HTML objects

Posted: Fri Aug 30, 2019 3:02 am
by mygis
Hello,

I have an HTML page generated by a 3rd party software that reads codes from javascripts files, it works fine when I open it.
I am trying to improve on that page by using WWB 15 and incorporating HTML objects and I just cannot do it.

I have compressed the wbs file and the original folder in this zip file

Thank you in advance.

Re: Adding HTML page objects in a new page using HTML objects

Posted: Fri Aug 30, 2019 5:56 am
by Pablo
I cannot help you with custom /third party code. Because for me it may also take a few hours to figure out how this script works.

However here are a few tips:
- the page already has a body, so remove the <body> tag from the code.
- the page already has a title tag, so remove the <title> tag from the code.
- the page already has a charset meta tag, so remove the <meta charset="utf-8"> tag from the code.
- there should not be HTML code inside the body tag, this is for attributes only. Use 'After <body>' instead.
- use a File Publisher object to attach the scripts to the page (in the correct folders).

Re: Adding HTML page objects in a new page using HTML objects

Posted: Fri Aug 30, 2019 6:21 am
by mygis
Hi Pablo,
It is fine, you have already given me some good tips. I want to try doing it myself.

I will post again if I have other questions. I will remove the link and the file from Dropbox for now.

Thanks.