Adding JS code right above the closing body tag ()

  • 1
  • Question
  • Updated 8 years ago
  • Answered
How can i add JS just before ending body tag. When I add html widget, the code appears in the middle of body. See an image.
Please advise.

Photo of narcyz

narcyz

  • 3 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello narcyz

It is not possible to have access to the body code but by simply adding it to your HTML Widget - it should still work! Please let us know if it is not.
Photo of narcyz

narcyz

  • 3 Posts
  • 0 Reply Likes
Hi Sanja,
This script only works in preview mode, but when it's published it does not work. Correct me if i'm wrong, but I believe this JS has to be outside the container /div just before closing body div. It is a overlay .flv video and it needs to be floating outside all the div tags.
Would you move it for me since main html cannot be edited?

narcyz
Photo of Brianna

Brianna

  • 2045 Posts
  • 92 Reply Likes
Hi Narcyz,
Would you mind sharing your site URL with us? I will be referring your request to our HTML team to assist you further with this. It would be great if they could take a peek at your site while investigating into this with you.
Photo of narcyz

narcyz

  • 3 Posts
  • 0 Reply Likes
sure.

www.deluxetowing.com

thank you.
narcyz
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello narcyz

I have responded to you via email. Let's continue our correspondence through there. I look forward to hearing from you!