How to use extern JQuery lib with Servoy

Forum to discuss the new web client version of Servoy.

How to use extern JQuery lib with Servoy

Postby Roberto Blasco » Sat Apr 09, 2016 10:52 pm

Hi all.

I'm trying to apply a bootstrap template into my project. This template use jsquery libs

Code: Select all
<head>
   <title>Dynamic Tables | QueenAdmin - Beautiful Admin Dashboard</title>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
   <meta name="description" content="QueenAdmin - Beautiful Bootstrap Admin Dashboard Theme">
   <meta name="author" content="The Develovers">
   <!-- CSS -->
   <link href="assets/css/bootstrap.css" rel="stylesheet" type="text/css">
   <link href="assets/css/ionicons.css" rel="stylesheet" type="text/css">
   <link href="assets/css/main.css" rel="stylesheet" type="text/css">
   <!-- Google Fonts -->
   <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,300,400,700' rel='stylesheet' type='text/css'>
   <!-- Fav and touch icons -->
   <link rel="apple-touch-icon-precomposed" type="image/png" sizes="144x144" href="assets/ico/queenadmin-favicon144x144.png">
   <link rel="apple-touch-icon-precomposed" type="image/png" sizes="114x114" href="assets/ico/queenadmin-favicon114x114.png">
   <link rel="apple-touch-icon-precomposed" type="image/png" sizes="72x72" href="assets/ico/queenadmin-favicon72x72.png">
   <link rel="apple-touch-icon-precomposed" type="image/png" sizes="57x57" href="assets/ico/queenadmin-favicon57x57.png">
   <link rel="shortcut icon" href="assets/ico/favicon.ico">
</head>

<body class="fixed-top-active dynamic-tables">
.
.
.
   <!-- Javascript -->
   <script src="assets/js/jquery/jquery-2.1.0.min.js"></script>
   <script src="assets/js/bootstrap/bootstrap.js"></script>
   <script src="assets/js/plugins/bootstrap-multiselect/bootstrap-multiselect.js"></script>
   <script src="assets/js/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
   <script src="assets/js/queen-common.js"></script>
   <script src="assets/js/plugins/datatable/jquery.dataTables.min.js"></script>
   <script src="assets/js/plugins/datatable/exts/dataTables.colVis.bootstrap.js"></script>
   <script src="assets/js/plugins/datatable/exts/dataTables.colReorder.min.js"></script>
   <script src="assets/js/plugins/datatable/exts/dataTables.tableTools.min.js"></script>
   <script src="assets/js/plugins/datatable/dataTables.bootstrap.js"></script>
   <script src="assets/js/queen-table.js"></script>
</body>


Assuming that Servoy with Angular use a built in bootstrap and jquery libs, I've ommited those libs int the .spec file but javascript animations does'nt works. If I include the jquery lib the html still does'nt works with animations.

Maybe the problem is a conflict between servoy jquery lib and the template jquery lib. Do I have anything else to make the template works with Servoy?

Best regards. Roberto Blasco.
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: How to use extern JQuery lib with Servoy

Postby juan.cristobo » Tue Jun 21, 2016 11:30 am

Hi Roberto, did you find a solution for this?
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 16 guests