Keyword

How to run Mootools-Jquery Javascript in K2content

  • DINALVA ROMANCINI
  • DINALVA ROMANCINI's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64771 by DINALVA ROMANCINI
How to run Mootools-Jquery Javascript in K2content was created by DINALVA ROMANCINI
Hi everybody!

Simply, I was trying to use the toggle code of the mootools framework as explined here:
mootools.net/demos/?demo=Fx.Slide

The goal is to create a button that make the extrafield section toggle (show hide) in the content K2.

I managed to adapt the code in the item.php of my template, the result is:
Log in  or Create an account to join the conversation.

  • DINALVA ROMANCINI
  • DINALVA ROMANCINI's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 5 months ago #64772 by DINALVA ROMANCINI
Replied by DINALVA ROMANCINI on topic Re: How to run Mootools-Jquery Javascript in K2content
I'm not asking for help to build a code.

I just want to know if K2 does not allow to run a script within the content. At least can you tell me where to place the script to run in parallel with K2?

Regards! ;)

Please Log in or Create an account to join the conversation.