WebSite X5Help Center

 
Cynthia G.
Cynthia G.
User

How can I insert a page containing only javascript into my project?  en

Author: Cynthia G.
Visited 1341, Followers 1, Shared 0  

Hi,

I created a hidden page on my website containing only javascript. I manually removed the header and menu codes and uploaded it onto the server. I would like to link a different page to this hidden page. How can I insert the modified page into the project so that I can link to it? I found the project file on my computer, but I can't figure out how to unzip it so that I can insert the modified file. Can anybody help?

Thank you.

Cindy

Posted on the
3 ANSWERS
Andre E
Andre E
Moderator

Hello Cynthis,

I am not sure where you placed the code, I gues in the expert part.

But it's always needed to set 1 object object, else there is nothing to show for the page and the page won't show.....

Use the HTML object, or a text object and set the html code button and use the javascript in one of these two.

See what works best, mind the settings in the html object below in the object.

Goodluck.

Read more
Posted on the from Andre E
Cynthia G.
Cynthia G.
User
Author

Hi Andre,

I couldn't get it to work, so I decided to remove the javasript and just use html coding. It's now fine. Thanks anyway.

Best wishes,

Cindy

Read more
Posted on the from Cynthia G.
Andre E
Andre E
Moderator

That's correct, as mentioned you always need an object on a page.

Glad it worked out.

Read more
Posted on the from Andre E