فتحات العرب Joomla! • Index page: General Questions/New to Joomla! 3.x • How to add javascript in article?

Saturday, September 28, 2013

General Questions/New to Joomla! 3.x • How to add javascript in article?

I have this javascript code which I test it on my local computer and working just fine. I want add this code to my Joomla 3 article but it is not working. This is what I did.

I put my javascript code in my current templates folder: /js/fontsize.js

Then I inserted this code between
Code:

<head>...</head> in my template's index.php: <script type="text/javascript" src="/js/fontsize.js"></script>



After I created article and inserted js call out code inside, No luck it is not functioning, I did check Prohibited Elements on TineMCE no problem here, and I check Text Filter Settings that on No filtering.

Please anybody has any idea what can be the problem.

Statistics: Posted by aldavr — Sun Sep 29, 2013 3:37 am








via Joomla! http://forum.joomla.org/viewtopic.php?t=821224&p=3089141#p3089141

No comments:

Post a Comment