Yola webpages accept html code, but does it accept javascript?

  • 3
  • Question
  • Updated 9 years ago
  • Answered
Hi

Ive made a site, and I see you can add html content. is it not possible to add javascript code as that'd be very useful.

Thank you

Omri
Photo of Silverback

Silverback

  • 5 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 3
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Hi Omri

You can add javascript snippets using the Yola HTML editor.

Please add any custom HTML or Javascript code to a test page first, before adding it to your actual website page. Make sure it works correctly and the page loads. This way you can avoid losing work due to invalid code.
Photo of Silverback

Silverback

  • 5 Posts
  • 0 Reply Likes
When I put javascript in it dont seem to work? Ill try again
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
Where are you trying to put the java script into your site? You will need to drag an html widget onto the page and paste the java script code into it. Can you give this a try and let us know if you are still having trouble with adding it. And as Monique said, please make sure to test it on a test page first to make sure it works properly.
Photo of Silverback

Silverback

  • 5 Posts
  • 0 Reply Likes
Hi, sorry Its prob me just doing it wrong. Im trying to put javascript code in to disable affiliate urls but am not having any luck. I assumed it didnt take Javascript but its prob just me. Thanks for replying
Photo of Silverback

Silverback

  • 5 Posts
  • 0 Reply Likes
Im prob just using the wrong piece of code.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
Yes, any javascript code you add to your site can be put into an html widget, I am not sure what type of code you are referring to which will disable affiliate urls; can you post the code here so we an take a look? You can wrap it in <!-- and -->.
Photo of Silverback

Silverback

  • 5 Posts
  • 0 Reply Likes
its ok, codes def wrong, just needed to know if it would accept javascript. Thank u :)