Javascript code withinh blog post

  • 1
  • Question
  • Updated 8 years ago
  • Answered
I have problems with jawascript code within blog post.

I copy this code

into a normal page (http://virtualtour-oi.yolasite.com) and that's ok but when i try to do the same into a blog post (http://virtualtour-oi.yolasite.com/bl..., code : nothing, code is not saving.
When i come back into blog post (html button), nothing, my code is not here.

I read same question and tried to concert with http://forsite.synthasite.com but nothing

I need your help

Thanks !
Photo of Seb

Seb

  • 3 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Seb

Seb

  • 3 Posts
  • 0 Reply Likes
Sorry, javascript code is

////
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Seb,

Could you paste the code wrapped in <!-- and --> so that we can see it in the post? Or add it to your blog post so that we can take a look.
Photo of Seb

Seb

  • 3 Posts
  • 0 Reply Likes
Hi Marije,

Here is the code :

<!--script language='Javascript' src='http://www.giroptic.com/client/embed/...>

I choose another (long!) way : create "normal" pages :
http://sitebuilder.yola.com/sites/S3/...

But I think in normal page, javascript is ok only with html widget (not with text widget and html ├ęditor).

If you have a solution, i will very pleased blogging with Yola !

Thanks

Seb
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Seb - I'm asking one of my colleagues to help you. She's currently offline, but will answer when she's back - apologies for the wait in the meantime.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Seb

Thanks for your patience. I have tested this on my own site and unfortunately, it does not seem to work in a blog post as you have noted. The HTML Editor for the blog is meant for simple scripts and codes.

Does the virtuatour provide other methods of adding to your website? If so, you can try using one of those methods in your blog post.

I'm sorry that I cannot be of more help in this regard.