Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » TypoScript » Other
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Changes javascript code in template
Author Message
silvertone1000



Joined: 23 Mar 2007
Posts: 0

PostPosted: 23 Mar 2007 - 1:27 pm    Post subject:  Changes javascript code in template Reply with quote

hi

i recently uploaded a javascript code in a template like this:

<script type="text/javascript">
....
var x=f('__utmx'),xx=f('__utmxx'),h=l.hash,
.....
</script>

- but when I update the file the code looks like this in browsers:

<script type="text/javascript">
var="" x="f(" __utmx="" xx="f(" __utmxx="" h="l.hash,
</script>

does anybody know why?

the javascript code doesn't work with "....."
Back to top
View user's profile Send private message
graham_myhre1



Joined: 25 Apr 2007
Posts: 1

PostPosted: 26 Apr 2007 - 11:21 am    Post subject: Changes javascript code in template Reply with quote

Hi,
I had the same problem. It turned out that config.xhtml_cleaning = all was altering the quotes. Once disabled, it worked fine.
The mail achive has a thread along similar lines if that doesn't work.
http://typo3.toaster-schwerin.de/typo3_dev/2005_05/msg00014.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Home » TypoScript » Other
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum