How do I allow Javascript code in an/my article

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Apr 24, 2012 2:53 am
I pasted this code and I don't get the same.

Code: Select all
<p>
<a href="javascript:;" class="hackadelic-sliderButton" onclick="toggleSlider('#hackadelic-sliderPanel-4')" title="click to expand/collapse slider ¿Cómo proporcionan beneficios para la salud y la belleza las prendas, incluso cuando no están usando?">¿Cómo proporcionan beneficios para la salud y la belleza las prendas, incluso cuando no están usando?»</a> <span class="hackadelic-sliderPanel block" id="hackadelic-sliderPanel-4" style="display: block; "><p>
</p><p>Con el uso constante, los senos, el abdomen, las caderas, los glúteos y la columna vertebral&nbsp; preservan una forma más conveniente al conformar. Desde un punto de vista médico, mantienen su función. Esto se traduce en una mejor salud y mayor belleza a largo plazo.</p>
<span style="display: none; margin-top: 3px; font-size: 7px"><a href="http://hackadelic.com/solutions/wordpress/sliding-notes" title="Powered by Hackadelic Sliding Notes 1.6.4">Powered by Hackadelic Sliding Notes 1.6.4</a></span></span>
</p>


I want this in my page. is there some plugin for this? does Gavick have it?


Image

Please hep friends.

Thanks in advance.
User avatar
Junior Boarder

GK User
Tue Apr 24, 2012 7:17 am
Probably your editor is stripping tags, please switch default editor to 'no-editor' in user profile settings and try again.
User avatar
Platinum Boarder

GK User
Tue Apr 24, 2012 7:35 am
bkrztuk wrote:Probably your editor is stripping tags, please switch default editor to 'no-editor' in user profile settings and try again.


The problem is still there...

I see this: Powered by Hackadelic Sliding Notes 1.6.4

I think it requires a Plugin. But that is for wordpress. :(
User avatar
Junior Boarder

GK User
Tue Apr 24, 2012 7:59 am
Editor strip <script> tag that's the only problem (or code is incorrect), please make sure that you don't use tinyMCE because by default tinyMCE strip this tags >> script,applet,iframe

Please also check your text filters, solution how to do it you can find here >> http://celtaweb.net/celtaweb-net-blog/i ... er-options
User avatar
Platinum Boarder

GK User
Tue Apr 24, 2012 8:21 am
bkrztuk wrote:Editor strip <script> tag that's the only problem (or code is incorrect), please make sure that you don't use tinyMCE because by default tinyMCE strip this tags >> script,applet,iframe

Please also check your text filters, solution how to do it you can find here >> http://celtaweb.net/celtaweb-net-blog/i ... er-options


Default Editor: Editor - None

----

The website i showed below is using a plugin, a plugin that was made for wordpress and not for joomla. Also, I am using the Google Chrome's Developer Tools to find the code, but perhaps the code is not complete.

How would you do if you want that the content has this feature?: http://www.ardyss.com/tx/es/ardyss/faqs/

Visit this link too: http://hackadelic.com/solutions/wordpress/sliding-notes and clic on "sliding notes" showed in the text.
User avatar
Junior Boarder

GK User
Wed Apr 25, 2012 10:31 pm
Sorry but in this case looks like editor or Joomla strip your script tags, for more help I advise you to use Joomla support forum, this mentioned places (editor settings, filter settings) are probably the only places where you can find such settings.
User avatar
Platinum Boarder

GK User
Tue May 01, 2012 5:46 pm
joomla by default remove the scripts and most of the none html tags. you can disable it using the following steps

joomla 1.7
1) go to Content -> Article Manager -> top right click on Options
2) Options -> Text Filters -> Super Users -> change to No Filtering (choose super user if you are logging in as the main admin)

if it didn't work on joomla default editor install JCE Editor Component from joomla extension. I'm sure it will work

Joomla 2.5
The text filtering option is a tab on Global Configuration section

Hope it helps.
User avatar
Junior Boarder


cron