Only 1 Custom Javascript works on the site

Posted in: Newspaper
Post count: 22

Hi –

I am trying to use more than 1 Custom Javascript functions and noticed that only the first one in the Custom Javascript box of Theme Panel works. Placing the Javascript code with <script> </script> brackets does not work. How do I get around this issue?

The script runs only on a specific post.

Thanks in advance!

Post count: 22421

Hello,
This could be from the script tag the theme places by default. You can try to remove this tag like so:
http://screencast.com/t/Yk0Gd9CuKtp6 Also remove the dot and add ;. It should look like this: http://screencast.com/t/57pTES8MZHTx
After this modification you will need to ad your own script tags or else it will not work at all.
I hope this helps.
Thanks.

Post count: 22

I had already done that (removing script tag) before sending you the original request – in fact the Theme Panel says NOT to include script tags.
What else could be going wrong?

Post count: 7909

Hi,

The custom javascript area was designed only for on custom code. If you want to paste there more than one script code you can try Bogdan suggestion to remove the script tags from the code – http://screencast.com/t/Yk0Gd9CuKtp6http://screencast.com/t/57pTES8MZHTx and then add you custom code in Custom Javascript area by using <script> tags.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.