Jump to content

Javascript problem


Fulvio Di Stefano

Recommended Posts

Posted

Hi,

we experiment a problem to integrate a javascript code to make some ads following on our forum.
In added the code who need to be added in header template in the global template.
Once pasted, when i save the global template there is no problem :https://db.tt/3UYAwweh
But i go to the public site and i look the source of the page there is a closing tag missing :https://db.tt/1cI90LYS
If you look to the fourth line you can see at the end there is the </scr missing.
We don't udnerstand why, someone can help me?

The same code on a simple html page works fine...
 

Posted

is there a reason you are using

'<src'+'ipt src=

instead of

<script src=

have you tried it as I have posted above to see if solves problem ?

perhaps there is a genuine reason why (as not a coder then forgive my ignorance)

Posted

Writing script-tags like those are quite common. ( '<scr'+'ipt' ), because... reasons... google it, not really able to explain it myself.

It seems more likely the IPS template system for some reason chokes on some of it. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...