1 Reply Latest reply on Jul 31, 2014 12:05 AM by Willam van Weelden

    widgets jquery

    apologic

      Hi,

      I would like to use jquery library to make my content dynamic (drop/down section, enlarge image, caroussel...), How can I do that ?

      should i use Insert/Html/advance/Script ?... can't I create a "widget" and reuse it easily at any time or will i have to insert manualy a script every time ?

        • 1. Re: widgets jquery
          Willam van Weelden Adobe Community Professional & MVP

          The best way to do this depends on the output you're creating.

          - If you are using WebHelp/Multiscreen HTML5/CHM/AIR: try adding the reference to the script file in a master page header or footer. That way you only have to add the library once.

          - If you are using Responsive HTML5: these layouts already include jQuery and the Theme1_standard theme also includes jQueryUI. In this case, add all the code in the layout so you have it only in your output.

           

          After you've done this, just add the HTML and JS required for the widgets in your topics. Though the preview won't work, if you generate your output, it will work just fine.

           

          Kind regards,

           

          Willam