javascript in blog post

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I'm wondering if there are limitations to javascript inside of a blog post. I'm trying to do a linky box inside a blog post and it won't work with the javascript code. It actually changes the code to delete the javascript part of it when I save the post.

Any thoughts here?
Photo of robin3764

robin3764

  • 20 Posts
  • 0 Reply Likes
  • confused

Posted 9 years ago

  • 1
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Robin3764,

I am sorry to hear that you are having this issue. Can you please paste the code here so we can investigate further.
Photo of robin3764

robin3764

  • 20 Posts
  • 0 Reply Likes
Sure! Here's the code.

<script src="http://www.mcklinky.com/linky_include..." type="text/javascript">&lt/script>&lta href="http://www.mcklinky.com" target="_blank"><img src="http://www.mcklinky.com/images/MckLin..." width="119" height="39" border="0" /></a>


I hope that works. I wasn't too sure on how to show the code without it showing the image.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi robin3764

There are some limitations to what kind of coding can be used within a blog post.

I tried using the code you gave but it does not seem to work. Can you please double check that you have the correct and complete code?

You can use this to encode your code: http://forsite.synthasite.com/encoder...