Focal Point
[CLOSED] Using Jquery Plugin

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8327013886

November 13, 2017, 05:09 PM
srajeevan
[CLOSED] Using Jquery Plugin
Hi i was trying to make Webfocus controls scoll bars looks nice using jquery plugin.
I downloaded the libraries and reference it in settings tab in HTML canvas.
And i have to execute a function to invoke the scroll bar function which goes like ;
  

(function($){
        
        $(window).on("load",function(){
            $("#content").mCustomScrollbar();
        });
    })(jQuery);


#content is the id of my panel which is gonna get a cool scroll bar.
But i encounter the error "Jquery not defined" which says that no Jquery is there.
As per my understanding Webfocus by default has Jquery installed.
This is a long time issue for me and my team.
How to use external jquery plugins and achieve functionalities.

This message has been edited. Last edited by: FP Mod Chuck,


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
November 14, 2017, 01:23 PM
Francis Mariani
If you are creating an HTML page from scratch (not using the GUI), jQuery is not included. YOu have to include the script.

If you're modifying code generated from the GUI, jQuery is included and you can include a different version if you need to, see my answer to your other question...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server