Lightbox not working on some networks

Out of context: Reply #8

  • Started
  • Last post
  • 10 Responses
  • acescence0

    It is not possible append to the BODY element from script that isn’t a direct child to the BODY element

    If there are any Javascripts running inside the body tag or inside a table which is directly a child of body, then most of the times this error is bound to happen. The solution is to move the script to the top or bottom of the body tag or even moving it after the body. The script can also be put inside a function and then calling it from window.onload. Another solution to this problem is to add defer=”defer” in the script tag.

    • yeah, but there was a lot to go thru. workaround fixed it but i will try out that defer in future.jonturi

View thread