External Libary Examples?

Can anyone give me an example of how to import libraries into applications (see : https://www.scriptcase.net/docs/en_us/v9/manual/07-tools/05-external-libraries/)?
Specifically, I like to know how to use sc_include_library() and sc_url_library().

Thank you.

Hi,

Here is one example I use:

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“title”:“External Library Example”,“data-attachmentid”:86952}[/ATTACH]
in form, onLoad event add code:

?>
<script src="<?php echo sc_url_library('prj', 'sweet-alert', 'sweetalert.min.js'); ?>"></script>
<link rel="stylesheet" href="<?php echo sc_url_library('prj', 'sweet-alert', 'sweetalert.css'); ?>">
<?php

If it’s a PHP file, then:


sc_include_library("prj", "phpqrcode", "qrlib.php", true, true);

I hope this will help you.

Screenshot_7.jpg

Thank you. I will give it a try.