Tabs with remote content

Create a basic tab container from a remote content.



Source code

<html>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />


<div id='tabs'></div>

<script>
var tabs = jSuites.tabs(document.getElementById('tabs'), {
    animation: true,
    data: [
        {
            title: 'Tab 1',
            url: '/jsuites/content',
        },
        {
            title: 'Tab 2',
            url: '/jsuites/content/2',
        },
    ],
    padding: '10px',
});
</script>
</html>