1118 lines
48 KiB
HTML
1118 lines
48 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<link rel="apple-touch-icon" sizes="76x76" href="../../assets/img/apple-icon.png">
|
||
<link rel="icon" href="../../assets/img/favicon.png" type="image/png">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<meta name="author" content="Creative Tim">
|
||
<title>
|
||
Photo Swipe | Material Dashboard 2 FREE Laravel by Creative Tim & UPDIVISION
|
||
</title>
|
||
<link rel="canonical" href="https://www.creative-tim.com/learning-lab/bootstrap/colors/material-dashboard" />
|
||
|
||
<meta name="keywords" content="creative tim, updivision, html dashboard, laravel, material, html css dashboard laravel, material dashboard laravel, laravel material dashboard, material admin, laravel dashboard, laravel admin, web dashboard, bootstrap 5 dashboard laravel, bootstrap 5, css3 dashboard, bootstrap 5 admin laravel, material dashboard bootstrap 5 laravel, frontend, responsive bootstrap 5 dashboard, material dashboard, material laravel bootstrap 5 dashboard" />
|
||
<meta name="description" content="A free Laravel Dashboard featuring dozens of UI components & basic Laravel CRUDs." />
|
||
<meta itemprop="name" content="Material Dashboard 2 Laravel by Creative Tim & UPDIVISION" />
|
||
<meta itemprop="description" content="A free Laravel Dashboard featuring dozens of UI components & basic Laravel CRUDs." />
|
||
<meta itemprop="image" content="https://s3.amazonaws.com/creativetim_bucket/products/598/original/material-dashboard-laravel.jpg" />
|
||
<meta name="twitter:card" content="product" />
|
||
<meta name="twitter:site" content="@creativetim" />
|
||
<meta name="twitter:title" content="Material Dashboard 2 Laravel by Creative Tim & UPDIVISION" />
|
||
<meta name="twitter:description" content="A free Laravel Dashboard featuring dozens of UI components & basic Laravel CRUDs." />
|
||
<meta name="twitter:creator" content="@creativetim" />
|
||
<meta name="twitter:image" content="https://s3.amazonaws.com/creativetim_bucket/products/598/original/material-dashboard-laravel.jpg" />
|
||
<meta property="fb:app_id" content="655968634437471" />
|
||
<meta property="og:title" content="Material Dashboard 2 Laravel by Creative Tim & UPDIVISION" />
|
||
<meta property="og:type" content="article" />
|
||
<meta property="og:url" content="https://www.creative-tim.com/live/material-dashboard-laravel" />
|
||
<meta property="og:image" content="https://s3.amazonaws.com/creativetim_bucket/products/598/original/material-dashboard-laravel.jpg" />
|
||
<meta property="og:description" content="A free Laravel Dashboard featuring dozens of UI components & basic Laravel CRUDs." />
|
||
<meta property="og:site_name" content="Creative Tim" />
|
||
|
||
|
||
<link rel="stylesheet" href="../../assets/css/nucleo-icons.css" type="text/css">
|
||
|
||
<link rel="stylesheet" href="../../assets/css/nextjs-material-dashboard-pro.min.css" type="text/css">
|
||
|
||
<link rel="stylesheet" href="../../assets/css/material-dashboard.min.css" type="text/css">
|
||
<link rel="stylesheet" href="../../assets/css/demo.css" type="text/css">
|
||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
|
||
|
||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700" rel="stylesheet">
|
||
|
||
<link href="../../assets/css/nucleo-icons.css" rel="stylesheet">
|
||
|
||
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
|
||
<!-- Anti-flicker snippet (recommended) -->
|
||
<style>
|
||
.async-hide {
|
||
opacity: 0 !important
|
||
}
|
||
</style>
|
||
<script>
|
||
(function(a, s, y, n, c, h, i, d, e) {
|
||
s.className += ' ' + y;
|
||
h.start = 1 * new Date;
|
||
h.end = i = function() {
|
||
s.className = s.className.replace(RegExp(' ?' + y), '')
|
||
};
|
||
(a[n] = a[n] || []).hide = h;
|
||
setTimeout(function() {
|
||
i();
|
||
h.end = null
|
||
}, c);
|
||
h.timeout = c;
|
||
})(window, document.documentElement, 'async-hide', 'dataLayer', 4000, {
|
||
'GTM-K9BGS8K': true
|
||
});
|
||
</script>
|
||
<!-- Analytics-Optimize Snippet -->
|
||
<script>
|
||
(function(i, s, o, g, r, a, m) {
|
||
i['GoogleAnalyticsObject'] = r;
|
||
i[r] = i[r] || function() {
|
||
(i[r].q = i[r].q || []).push(arguments)
|
||
}, i[r].l = 1 * new Date();
|
||
a = s.createElement(o),
|
||
m = s.getElementsByTagName(o)[0];
|
||
a.async = 1;
|
||
a.src = g;
|
||
m.parentNode.insertBefore(a, m)
|
||
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
||
ga('create', 'UA-46172202-22', 'auto', {
|
||
allowLinker: true
|
||
});
|
||
ga('set', 'anonymizeIp', true);
|
||
ga('require', 'GTM-K9BGS8K');
|
||
ga('require', 'displayfeatures');
|
||
ga('require', 'linker');
|
||
ga('linker:autoLink', ["2checkout.com", "avangate.com"]);
|
||
</script>
|
||
<!-- end Analytics-Optimize Snippet -->
|
||
<!-- Google Tag Manager -->
|
||
<script>
|
||
(function(w, d, s, l, i) {
|
||
w[l] = w[l] || [];
|
||
w[l].push({
|
||
'gtm.start': new Date().getTime(),
|
||
event: 'gtm.js'
|
||
});
|
||
var f = d.getElementsByTagName(s)[0],
|
||
j = d.createElement(s),
|
||
dl = l != 'dataLayer' ? '&l=' + l : '';
|
||
j.async = true;
|
||
j.src =
|
||
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
|
||
f.parentNode.insertBefore(j, f);
|
||
})(window, document, 'script', 'dataLayer', 'GTM-NKDMSK6');
|
||
</script>
|
||
<!-- End Google Tag Manager -->
|
||
<!-- This is for docs typography and layout -->
|
||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet">
|
||
<link href="../../assets/css/docs.css" rel="stylesheet" />
|
||
</head>
|
||
<body class="docs ">
|
||
<!-- Google Tag Manager (noscript) -->
|
||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NKDMSK6" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||
<!-- End Google Tag Manager (noscript) -->
|
||
<header class="ct-docs-navbar">
|
||
<a class="ct-docs-navbar-brand" href="javascript:void(0)" aria-label="Bootstrap">
|
||
</a><a href="https://www.creative-tim.com/" class="ct-docs-navbar-text" target="_blank">
|
||
Creative Tim
|
||
</a>
|
||
<div class="ct-docs-navbar-border"></div>
|
||
<a href="../../documentation/getting-started/installation.html" class="ct-docs-navbar-text">
|
||
Docs
|
||
</a>
|
||
|
||
<ul class="ct-docs-navbar-nav-left">
|
||
<li class="ct-docs-nav-item-dropdown">
|
||
<a href="javascript:;" class="ct-docs-navbar-nav-link" role="button">
|
||
<span class="ct-docs-navbar-nav-link-inner--text">Live Preview</span>
|
||
</a>
|
||
<div class="ct-docs-navbar-dropdown-menu" aria-labelledby="DropdownPreview">
|
||
<a class="ct-docs-navbar-dropdown-item" href="https://material-dashboard-laravel.creative-tim.com" target="_blank">
|
||
Material Dashboard 2 Laravel
|
||
</a>
|
||
<a class="ct-docs-navbar-dropdown-item" href="https://material-dashboard-pro-laravel.creative-tim.com" target="_blank">
|
||
Material Dashboard 2 Pro Laravel
|
||
</a>
|
||
</div>
|
||
</li>
|
||
<li class="ct-docs-nav-item-dropdown">
|
||
<a href="javascript:;" class="ct-docs-navbar-nav-link" role="button">
|
||
<span class="ct-docs-navbar-nav-link-inner--text">Support</span>
|
||
</a>
|
||
<div class="ct-docs-navbar-dropdown-menu" aria-labelledby="DropdownSupport">
|
||
<a class="ct-docs-navbar-dropdown-item" href="https://github.com/creativetimofficial/material-dashboard-laravel/issues" target="_blank">
|
||
Material Dashboard 2 Laravel
|
||
</a>
|
||
<a class="ct-docs-navbar-dropdown-item" href="https://github.com/creativetimofficial/ct-material-dashboard-pro-laravel/issues" target="_blank">
|
||
Material Dashboard 2 Pro Laravel
|
||
</a>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<ul class="ct-docs-navbar-nav-right">
|
||
<li class="ct-docs-navbar-nav-item">
|
||
<a class="ct-docs-navbar-nav-link" href="https://www.creative-tim.com/product/material-dashboard-laravel" target="_blank">Download Free</a>
|
||
</li>
|
||
</ul>
|
||
<a href="https://www.creative-tim.com/product/material-dashboard-pro-laravel" target="_blank" class="ct-docs-btn-upgrade">
|
||
<span class="ct-docs-btn-inner--icon">
|
||
<i class="fas fa-download mr-2" aria-hidden="true"></i>
|
||
</span>
|
||
<span class="ct-docs-navbar-nav-link-inner--text">Upgrade to PRO</span>
|
||
</a>
|
||
<button class="ct-docs-navbar-toggler" type="button">
|
||
<span class="ct-docs-navbar-toggler-icon"></span>
|
||
</button>
|
||
</header>
|
||
<div class="ct-docs-main-container">
|
||
<div class="ct-docs-main-content-row">
|
||
<div class="ct-docs-sidebar-col">
|
||
<nav class="ct-docs-sidebar-collapse-links">
|
||
<div class="ct-docs-sidebar-product">
|
||
<div class="ct-docs-sidebar-product-image">
|
||
<img src="../../assets/img/bootstrap.png">
|
||
</div>
|
||
<p class="ct-docs-sidebar-product-text">Material Dashboard</p>
|
||
</div>
|
||
<div class="ct-docs-toc-item-active">
|
||
<a class="ct-docs-toc-link" href="javascript:void(0)">
|
||
<div class="d-inline-block">
|
||
<div class="icon icon-xs border-radius-md bg-gradient-primary text-center mr-2 d-flex align-items-center justify-content-center me-1">
|
||
<i class="ni ni-active-40 text-white"></i>
|
||
</div>
|
||
</div>
|
||
Getting started
|
||
</a>
|
||
<ul class="ct-docs-nav-sidenav ms-4 ps-1">
|
||
<li class="">
|
||
<a href="../../documentation/getting-started/overview.html">
|
||
Overview
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/getting-started/license.html">
|
||
License
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/getting-started/installation.html">
|
||
Installation
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/getting-started/build-tools.html">
|
||
Build Tools
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/getting-started/bootstrap.html">
|
||
What is Bootstrap
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ct-docs-toc-item-active">
|
||
<a class="ct-docs-toc-link" href="javascript:void(0)">
|
||
<div class="d-inline-block">
|
||
<div class="icon icon-xs border-radius-md bg-gradient-primary text-center mr-2 d-flex align-items-center justify-content-center me-1">
|
||
<i class="ni ni-folder-17 text-white"></i>
|
||
</div>
|
||
</div>
|
||
Laravel
|
||
</a>
|
||
<ul class="ct-docs-nav-sidenav ms-4 ps-1">
|
||
<li class="">
|
||
<a href="../../documentation/laravel/login.html">
|
||
Login
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/laravel/sign-up.html">
|
||
Sign Up
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/laravel/forgot-password.html">
|
||
Forgot Password
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/laravel/user-profile.html">
|
||
User Profile
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/laravel/user-management.html">
|
||
User Management
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ct-docs-toc-item-active">
|
||
<a class="ct-docs-toc-link" href="javascript:void(0)">
|
||
<div class="d-inline-block">
|
||
<div class="icon icon-xs border-radius-md bg-gradient-primary text-center mr-2 d-flex align-items-center justify-content-center me-1">
|
||
<i class="ni ni-folder-17 text-white"></i>
|
||
</div>
|
||
</div>
|
||
Foundation
|
||
</a>
|
||
<ul class="ct-docs-nav-sidenav ms-4 ps-1">
|
||
<li class=" ">
|
||
<a href="../../documentation/foundation/colors.html">
|
||
Colors
|
||
</a>
|
||
</li>
|
||
<li class=" ">
|
||
<a href="../../documentation/foundation/grid.html">
|
||
Grid
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/foundation/typography.html">
|
||
Typography
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/foundation/icons.html">
|
||
Icons
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/foundation/utilities.html">
|
||
Utilities
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ct-docs-toc-item-active">
|
||
<a class="ct-docs-toc-link" href="javascript:void(0)">
|
||
<div class="d-inline-block">
|
||
<div class="icon icon-xs border-radius-md bg-gradient-primary text-center mr-2 d-flex align-items-center justify-content-center me-1">
|
||
<i class="ni ni-app text-white"></i>
|
||
</div>
|
||
</div>
|
||
Components
|
||
</a>
|
||
<ul class="ct-docs-nav-sidenav ms-4 ps-1">
|
||
<li class="">
|
||
<a href="../../documentation/components/alerts.html">
|
||
Alerts
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/badge.html">
|
||
Badge
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/buttons.html">
|
||
Buttons
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/social-buttons.html">
|
||
Social Buttons
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/cards.html">
|
||
Cards
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/carousel.html">
|
||
Carousel
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/collapse.html">
|
||
Collapse
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/dropdowns.html">
|
||
Dropdowns
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/forms.html">
|
||
Forms
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/input-group.html">
|
||
Input Group
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/list-group.html">
|
||
List Group
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/modal.html">
|
||
Modal
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/navs.html">
|
||
Navs
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/navbar.html">
|
||
Navbar
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/pagination.html">
|
||
Pagination
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/popovers.html">
|
||
Popovers
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/progress.html">
|
||
Progress
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/spinners.html">
|
||
Spinners
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/tables.html">
|
||
Tables
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/components/tooltips.html">
|
||
Tooltips
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ct-docs-toc-item-active">
|
||
<a class="ct-docs-toc-link" href="javascript:void(0)">
|
||
<div class="d-inline-block">
|
||
<div class="icon icon-xs border-radius-md bg-gradient-primary text-center mr-2 d-flex align-items-center justify-content-center me-1">
|
||
<i class="ni ni-settings text-white"></i>
|
||
</div>
|
||
</div>
|
||
Plugins
|
||
</a>
|
||
<ul class="ct-docs-nav-sidenav ms-4 ps-1">
|
||
<li class="">
|
||
<a href="../../documentation/plugins/countUpJs.html">
|
||
CountUp JS
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/charts.html">
|
||
Charts
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/datepicker.html">
|
||
Datepicker
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/fullcalendar.html">
|
||
Fullcalendar
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/sliders.html">
|
||
Sliders
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/choices.html">
|
||
Choices
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/dropzone.html">
|
||
Dropzone
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/datatables.html">
|
||
Datatables
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/kanban.html">
|
||
Kanban
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="ct-docs-nav-sidenav-active">
|
||
<a href="../../documentation/plugins/photo-swipe.html">
|
||
Photo Swipe
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/quill.html">
|
||
Quill
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/sweet-alerts.html">
|
||
Sweet Alerts
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
<li class="">
|
||
<a href="../../documentation/plugins/wizard.html">
|
||
Wizard
|
||
<span class="ct-docs-sidenav-pro-badge">Pro</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</nav>
|
||
</div>
|
||
<div class="ct-docs-toc-col">
|
||
<ul class="section-nav">
|
||
<li class="toc-entry toc-h2"><a href="#initialization">Initialization</a>
|
||
<ul>
|
||
<li class="toc-entry toc-h3"><a href="#js">JS</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-entry toc-h2"><a href="#example">Example</a></li>
|
||
</ul>
|
||
</div>
|
||
<main class="ct-docs-content-col" role="main">
|
||
<div class="ct-docs-page-title">
|
||
<h1 class="ct-docs-page-h1-title" id="content">
|
||
Bootstrap Photo Swipe
|
||
</h1>
|
||
<span class="ct-docs-page-title-pro-line"> - </span>
|
||
<div class="ct-docs-page-title-pro-bage">Pro Component</div>
|
||
<div class="avatar-group mt-3">
|
||
</div>
|
||
</div>
|
||
<p class="ct-docs-page-title-lead">JavaScript image gallery for mobile and desktop, modular, framework independent.</p>
|
||
<hr class="ct-docs-hr">
|
||
<h2 id="initialization">Initialization</h2>
|
||
<h3 id="js">JS</h3>
|
||
<p>In order to use this plugin on your page you will need to include the following scripts in the “Optional JS” area from the page’s footer:</p>
|
||
<div class="position-relative">
|
||
<div class="bd-clipboard"><span class="btn-clipboard" title="" data-bs-original-title="Copy to clipboard">Copy</span></div><figure class="highlight"><pre class=" language-html"><code class=" language-html" data-lang="html"><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>script</span> <span class="token attr-name">src</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>../../../assets/js/plugins/photoswipe.min.js<span class="token punctuation">"</span></span><span class="token punctuation">></span></span><span class="token script"></span><span class="token tag"><span class="token tag"><span class="token punctuation"></</span>script</span><span class="token punctuation">></span></span>
|
||
<span class="token tag"><span class="token tag"><span class="token punctuation"><</span>script</span> <span class="token attr-name">src</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>../../../assets/js/plugins/photoswipe-ui-default.min.js<span class="token punctuation">"</span></span><span class="token punctuation">></span></span><span class="token script"></span><span class="token tag"><span class="token tag"><span class="token punctuation"></</span>script</span><span class="token punctuation">></span></span></code></pre>
|
||
</figure>
|
||
</div>
|
||
<h2 id="example">Example</h2>
|
||
<div class="row">
|
||
<div class="col-10 text-center">
|
||
<img class="w-100 border-radius-lg shadow-lg mx-auto" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-1.jpg" alt="chair">
|
||
<div class="my-gallery d-flex mt-4 pt-2" itemscope="" itemtype="http://schema.org/ImageGallery" data-pswp-uid="1">
|
||
<figure itemprop="associatedMedia" itemscope="" itemtype="http://schema.org/ImageObject">
|
||
<a href="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-2.jpg" itemprop="contentUrl" data-size="500x600">
|
||
<img class="w-100 min-height-100 max-height-100 border-radius-lg shadow" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-2.jpg">
|
||
</a>
|
||
</figure>
|
||
<figure class="ms-3" itemprop="associatedMedia" itemscope="" itemtype="http://schema.org/ImageObject">
|
||
<a href="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-3.jpg" itemprop="contentUrl" data-size="500x600">
|
||
<img class="w-100 min-height-100 max-height-100 border-radius-lg shadow" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-3.jpg" itemprop="thumbnail" alt="Image description">
|
||
</a>
|
||
</figure>
|
||
<figure class="ms-3" itemprop="associatedMedia" itemscope="" itemtype="http://schema.org/ImageObject">
|
||
<a href="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-4.jpg" itemprop="contentUrl" data-size="500x600">
|
||
<img class="w-100 min-height-100 max-height-100 border-radius-lg shadow" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-4.jpg" itemprop="thumbnail" alt="Image description">
|
||
</a>
|
||
</figure>
|
||
<figure class="ms-3" itemprop="associatedMedia" itemscope="" itemtype="http://schema.org/ImageObject">
|
||
<a href="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-5.jpg?_ga=2.218417425.900775756.1637576941-1147030340.1637576941" itemprop="contentUrl" data-size="500x600">
|
||
<img class="w-100 min-height-100 max-height-100 border-radius-lg shadow" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-5.jpg" itemprop="thumbnail" alt="Image description">
|
||
</a>
|
||
</figure>
|
||
</div>
|
||
<!-- Root element of PhotoSwipe. Must have class pswp. -->
|
||
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
|
||
<!-- Background of PhotoSwipe.
|
||
It's a separate element, as animating opacity is faster than rgba(). -->
|
||
<div class="pswp__bg"></div>
|
||
<!-- Slides wrapper with overflow:hidden. -->
|
||
<div class="pswp__scroll-wrap">
|
||
<!-- Container that holds slides. PhotoSwipe keeps only 3 slides in DOM to save memory. -->
|
||
<!-- don't modify these 3 pswp__item elements, data is added later on. -->
|
||
<div class="pswp__container" style="transform: translate3d(0px, 0px, 0px);">
|
||
<div class="pswp__item" style="display: block; transform: translate3d(-1701px, 0px, 0px);"><div class="pswp__zoom-wrap" style="transform: translate3d(510px, 61px, 0px) scale(0.946372);"><img class="pswp__img border-radius-lg" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-4.jpg" style="opacity: 1; width: 528px; height: 634px;"></div></div>
|
||
<div class="pswp__item" style="transform: translate3d(0px, 0px, 0px);"><div class="pswp__zoom-wrap" style="transform: translate3d(618.6px, 589.95px, 0px) scale(0.169968);"><img class="pswp__img pswp__img--placeholder" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-5.jpg" style="width: 528px; height: 634px; display: none;"><img class="pswp__img" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-5.jpg?_ga=2.218417425.900775756.1637576941-1147030340.1637576941" style="display: block; width: 528px; height: 634px;"></div></div>
|
||
<div class="pswp__item" style="display: block; transform: translate3d(1701px, 0px, 0px);"><div class="pswp__zoom-wrap" style="transform: translate3d(510px, 61px, 0px) scale(0.946372);"><img class="pswp__img border-radius-lg" src="https://demos.creative-tim.com/test/material-dashboard-pro/assets/img/products/product-details-2.jpg" style="opacity: 1; width: 528px; height: 634px;"></div></div>
|
||
</div>
|
||
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
|
||
<div class="pswp__ui pswp__ui--fit pswp__ui--hidden">
|
||
<div class="pswp__top-bar">
|
||
<!-- Controls are self-explanatory. Order can be changed. -->
|
||
<div class="pswp__counter">4 / 4</div>
|
||
<button class="btn btn-white btn-sm pswp__button pswp__button--close">Close (Esc)</button>
|
||
<button class="btn btn-white btn-sm pswp__button pswp__button--fs">Fullscreen</button>
|
||
<button class="btn btn-white btn-sm pswp__button pswp__button--arrow--left">Prev
|
||
</button>
|
||
<button class="btn btn-white btn-sm pswp__button pswp__button--arrow--right">Next
|
||
</button>
|
||
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR -->
|
||
<!-- element will get class pswp__preloader--active when preloader is running -->
|
||
<div class="pswp__preloader">
|
||
<div class="pswp__preloader__icn">
|
||
<div class="pswp__preloader__cut">
|
||
<div class="pswp__preloader__donut"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
|
||
<div class="pswp__share-tooltip"></div>
|
||
</div>
|
||
<div class="pswp__caption">
|
||
<div class="pswp__caption__center"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="position-relative">
|
||
<div class="bd-clipboard"><span class="btn-clipboard" title="" data-bs-original-title="Copy to clipboard">Copy</span></div><figure class="highlight"><pre class=" language-html"><code class=" language-html" data-lang="html">// Products gallery
|
||
|
||
var initPhotoSwipeFromDOM = function(gallerySelector) {
|
||
|
||
// parse slide data (url, title, size ...) from DOM elements
|
||
// (children of gallerySelector)
|
||
var parseThumbnailElements = function(el) {
|
||
var thumbElements = el.childNodes,
|
||
numNodes = thumbElements.length,
|
||
items = [],
|
||
figureEl,
|
||
linkEl,
|
||
size,
|
||
item;
|
||
|
||
for (var i = 0; i < numNodes; i++) {
|
||
|
||
figureEl = thumbElements[i]; // <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>figure</span><span class="token punctuation">></span></span> element
|
||
// include only element nodes
|
||
if (figureEl.nodeType !== 1) {
|
||
continue;
|
||
}
|
||
|
||
linkEl = figureEl.children[0]; // <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>a</span><span class="token punctuation">></span></span> element
|
||
|
||
size = linkEl.getAttribute('data-size').split('x');
|
||
|
||
// create slide object
|
||
item = {
|
||
src: linkEl.getAttribute('href'),
|
||
w: parseInt(size[0], 10),
|
||
h: parseInt(size[1], 10)
|
||
};
|
||
|
||
if (figureEl.children.length > 1) {
|
||
// <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>figcaption</span><span class="token punctuation">></span></span> content
|
||
item.title = figureEl.children[1].innerHTML;
|
||
}
|
||
|
||
if (linkEl.children.length > 0) {
|
||
// <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>img</span><span class="token punctuation">></span></span> thumbnail element, retrieving thumbnail url
|
||
item.msrc = linkEl.children[0].getAttribute('src');
|
||
}
|
||
|
||
item.el = figureEl; // save link to element for getThumbBoundsFn
|
||
items.push(item);
|
||
}
|
||
|
||
return items;
|
||
};
|
||
|
||
// find nearest parent element
|
||
var closest = function closest(el, fn) {
|
||
return el && (fn(el) ? el : closest(el.parentNode, fn));
|
||
};
|
||
|
||
// triggers when user clicks on thumbnail
|
||
var onThumbnailsClick = function(e) {
|
||
e = e || window.event;
|
||
e.preventDefault ? e.preventDefault() : e.returnValue = false;
|
||
|
||
var eTarget = e.target || e.srcElement;
|
||
|
||
// find root element of slide
|
||
var clickedListItem = closest(eTarget, function(el) {
|
||
return (el.tagName && el.tagName.toUpperCase() === 'FIGURE');
|
||
});
|
||
|
||
if (!clickedListItem) {
|
||
return;
|
||
}
|
||
|
||
// find index of clicked item by looping through all child nodes
|
||
// alternatively, you may define index via data- attribute
|
||
var clickedGallery = clickedListItem.parentNode,
|
||
childNodes = clickedListItem.parentNode.childNodes,
|
||
numChildNodes = childNodes.length,
|
||
nodeIndex = 0,
|
||
index;
|
||
|
||
for (var i = 0; i < numChildNodes; i++) {
|
||
if (childNodes[i].nodeType !== 1) {
|
||
continue;
|
||
}
|
||
|
||
if (childNodes[i] === clickedListItem) {
|
||
index = nodeIndex;
|
||
break;
|
||
}
|
||
nodeIndex++;
|
||
}
|
||
|
||
|
||
|
||
if (index >= 0) {
|
||
// open PhotoSwipe if valid index found
|
||
openPhotoSwipe(index, clickedGallery);
|
||
}
|
||
return false;
|
||
};
|
||
|
||
// parse picture index and gallery index from URL (#&pid=1&gid=2)
|
||
var photoswipeParseHash = function() {
|
||
var hash = window.location.hash.substring(1),
|
||
params = {};
|
||
|
||
if (hash.length < 5) {
|
||
return params;
|
||
}
|
||
|
||
var vars = hash.split('&');
|
||
for (var i = 0; i < vars.length; i++) {
|
||
if (!vars[i]) {
|
||
continue;
|
||
}
|
||
var pair = vars[i].split('=');
|
||
if (pair.length < 2) {
|
||
continue;
|
||
}
|
||
params[pair[0]] = pair[1];
|
||
}
|
||
|
||
if (params.gid) {
|
||
params.gid = parseInt(params.gid, 10);
|
||
}
|
||
|
||
return params;
|
||
};
|
||
|
||
var openPhotoSwipe = function(index, galleryElement, disableAnimation, fromURL) {
|
||
var pswpElement = document.querySelectorAll('.pswp')[0],
|
||
gallery,
|
||
options,
|
||
items;
|
||
|
||
items = parseThumbnailElements(galleryElement);
|
||
|
||
// define options (if needed)
|
||
options = {
|
||
|
||
// define gallery index (for URL)
|
||
galleryUID: galleryElement.getAttribute('data-pswp-uid'),
|
||
|
||
getThumbBoundsFn: function(index) {
|
||
// See Options -> getThumbBoundsFn section of documentation for more info
|
||
var thumbnail = items[index].el.getElementsByTagName('img')[0], // find thumbnail
|
||
pageYScroll = window.pageYOffset || document.documentElement.scrollTop,
|
||
rect = thumbnail.getBoundingClientRect();
|
||
|
||
return {
|
||
x: rect.left,
|
||
y: rect.top + pageYScroll,
|
||
w: rect.width
|
||
};
|
||
}
|
||
|
||
};
|
||
|
||
// PhotoSwipe opened from URL
|
||
if (fromURL) {
|
||
if (options.galleryPIDs) {
|
||
// parse real index when custom PIDs are used
|
||
// http://photoswipe.com/documentation/faq.html#custom-pid-in-url
|
||
for (var j = 0; j < items.length; j++) {
|
||
if (items[j].pid == index) {
|
||
options.index = j;
|
||
break;
|
||
}
|
||
}
|
||
} else {
|
||
// in URL indexes start from 1
|
||
options.index = parseInt(index, 10) - 1;
|
||
}
|
||
} else {
|
||
options.index = parseInt(index, 10);
|
||
}
|
||
|
||
// exit if index not found
|
||
if (isNaN(options.index)) {
|
||
return;
|
||
}
|
||
|
||
if (disableAnimation) {
|
||
options.showAnimationDuration = 0;
|
||
}
|
||
|
||
// Pass data to PhotoSwipe and initialize it
|
||
gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, options);
|
||
gallery.init();
|
||
};
|
||
|
||
// loop through all gallery elements and bind events
|
||
var galleryElements = document.querySelectorAll(gallerySelector);
|
||
|
||
for (var i = 0, l = galleryElements.length; i < l; i++) {
|
||
galleryElements[i].setAttribute('data-pswp-uid', i + 1);
|
||
galleryElements[i].onclick = onThumbnailsClick;
|
||
}
|
||
|
||
// Parse URL and open gallery if it contains #&pid=3&gid=1
|
||
var hashData = photoswipeParseHash();
|
||
if (hashData.pid && hashData.gid) {
|
||
openPhotoSwipe(hashData.pid, galleryElements[hashData.gid - 1], true, true);
|
||
}
|
||
};
|
||
|
||
// execute above function
|
||
initPhotoSwipeFromDOM('.my-gallery');</code></pre>
|
||
</figure>
|
||
</div>
|
||
</main>
|
||
</div>
|
||
<div class="ct-docs-main-footer-row">
|
||
<div class="ct-docs-main-footer-blank-col">
|
||
</div>
|
||
<div class="ct-docs-main-footer-col">
|
||
<footer class="ct-docs-footer">
|
||
<div class="ct-docs-footer-inner-row">
|
||
<div class="ct-docs-footer-col">
|
||
<div class="ct-docs-footer-copyright">
|
||
© <script>
|
||
document.write(new Date().getFullYear())
|
||
</script> <a href="https://creative-tim.com" class="ct-docs-footer-copyright-author" target="_blank">Creative Tim</a> & <a href="https://www.updivision.com" class="ct-docs-footer-copyright-author" target="_blank">UPDIVISION</a>
|
||
</div>
|
||
</div>
|
||
<div class="ct-docs-footer-col">
|
||
<ul class="ct-docs-footer-nav-footer">
|
||
<li>
|
||
<a href="https://creative-tim.com" class="ct-docs-footer-nav-link" target="_blank">Creative Tim</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a href="https://www.updivision.com" class="ct-docs-footer-nav-link" target="_blank">UPDIVISION</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.creative-tim.com/contact-us" class="ct-docs-footer-nav-link" target="_blank">Contact Us</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://creative-tim.com/blog" class="ct-docs-footer-nav-link" target="_blank">Blog</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="../../assets/js/jquery.min.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/core/popper.min.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/core/bootstrap.bundle.min.js" type="text/javascript"></script>
|
||
<script src="" type="text/javascript"></script>
|
||
<script src="" type="text/javascript"></script>
|
||
<script src="" type="text/javascript"></script>
|
||
<script src="" type="text/javascript"></script>
|
||
<script src="../../assets/js/prism.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/docs.min.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/holder.min.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/moment.min.js" type="text/javascript"></script>
|
||
|
||
<script src="../../assets/js/photoswipe.min.js" type="text/javascript"></script>
|
||
<script src="../../assets/js/photoswipe-ui-default.min.js" type="text/javascript"></script>
|
||
<script type="text/javascript">
|
||
// Products gallery
|
||
|
||
var initPhotoSwipeFromDOM = function(gallerySelector) {
|
||
|
||
// parse slide data (url, title, size ...) from DOM elements
|
||
// (children of gallerySelector)
|
||
var parseThumbnailElements = function(el) {
|
||
var thumbElements = el.childNodes,
|
||
numNodes = thumbElements.length,
|
||
items = [],
|
||
figureEl,
|
||
linkEl,
|
||
size,
|
||
item;
|
||
|
||
for (var i = 0; i < numNodes; i++) {
|
||
|
||
figureEl = thumbElements[i]; // <figure> element
|
||
// include only element nodes
|
||
if (figureEl.nodeType !== 1) {
|
||
continue;
|
||
}
|
||
|
||
linkEl = figureEl.children[0]; // <a> element
|
||
|
||
size = linkEl.getAttribute('data-size').split('x');
|
||
|
||
// create slide object
|
||
item = {
|
||
src: linkEl.getAttribute('href'),
|
||
w: parseInt(size[0], 10),
|
||
h: parseInt(size[1], 10)
|
||
};
|
||
|
||
if (figureEl.children.length > 1) {
|
||
// <figcaption> content
|
||
item.title = figureEl.children[1].innerHTML;
|
||
}
|
||
|
||
if (linkEl.children.length > 0) {
|
||
// <img> thumbnail element, retrieving thumbnail url
|
||
item.msrc = linkEl.children[0].getAttribute('src');
|
||
}
|
||
|
||
item.el = figureEl; // save link to element for getThumbBoundsFn
|
||
items.push(item);
|
||
}
|
||
|
||
return items;
|
||
};
|
||
|
||
// find nearest parent element
|
||
var closest = function closest(el, fn) {
|
||
return el && (fn(el) ? el : closest(el.parentNode, fn));
|
||
};
|
||
|
||
// triggers when user clicks on thumbnail
|
||
var onThumbnailsClick = function(e) {
|
||
e = e || window.event;
|
||
e.preventDefault ? e.preventDefault() : e.returnValue = false;
|
||
|
||
var eTarget = e.target || e.srcElement;
|
||
|
||
// find root element of slide
|
||
var clickedListItem = closest(eTarget, function(el) {
|
||
return (el.tagName && el.tagName.toUpperCase() === 'FIGURE');
|
||
});
|
||
|
||
if (!clickedListItem) {
|
||
return;
|
||
}
|
||
|
||
// find index of clicked item by looping through all child nodes
|
||
// alternatively, you may define index via data- attribute
|
||
var clickedGallery = clickedListItem.parentNode,
|
||
childNodes = clickedListItem.parentNode.childNodes,
|
||
numChildNodes = childNodes.length,
|
||
nodeIndex = 0,
|
||
index;
|
||
|
||
for (var i = 0; i < numChildNodes; i++) {
|
||
if (childNodes[i].nodeType !== 1) {
|
||
continue;
|
||
}
|
||
|
||
if (childNodes[i] === clickedListItem) {
|
||
index = nodeIndex;
|
||
break;
|
||
}
|
||
nodeIndex++;
|
||
}
|
||
|
||
|
||
|
||
if (index >= 0) {
|
||
// open PhotoSwipe if valid index found
|
||
openPhotoSwipe(index, clickedGallery);
|
||
}
|
||
return false;
|
||
};
|
||
|
||
// parse picture index and gallery index from URL (#&pid=1&gid=2)
|
||
var photoswipeParseHash = function() {
|
||
var hash = window.location.hash.substring(1),
|
||
params = {};
|
||
|
||
if (hash.length < 5) {
|
||
return params;
|
||
}
|
||
|
||
var vars = hash.split('&');
|
||
for (var i = 0; i < vars.length; i++) {
|
||
if (!vars[i]) {
|
||
continue;
|
||
}
|
||
var pair = vars[i].split('=');
|
||
if (pair.length < 2) {
|
||
continue;
|
||
}
|
||
params[pair[0]] = pair[1];
|
||
}
|
||
|
||
if (params.gid) {
|
||
params.gid = parseInt(params.gid, 10);
|
||
}
|
||
|
||
return params;
|
||
};
|
||
|
||
var openPhotoSwipe = function(index, galleryElement, disableAnimation, fromURL) {
|
||
var pswpElement = document.querySelectorAll('.pswp')[0],
|
||
gallery,
|
||
options,
|
||
items;
|
||
|
||
items = parseThumbnailElements(galleryElement);
|
||
|
||
// define options (if needed)
|
||
options = {
|
||
|
||
// define gallery index (for URL)
|
||
galleryUID: galleryElement.getAttribute('data-pswp-uid'),
|
||
|
||
getThumbBoundsFn: function(index) {
|
||
// See Options -> getThumbBoundsFn section of documentation for more info
|
||
var thumbnail = items[index].el.getElementsByTagName('img')[0], // find thumbnail
|
||
pageYScroll = window.pageYOffset || document.documentElement.scrollTop,
|
||
rect = thumbnail.getBoundingClientRect();
|
||
|
||
return {
|
||
x: rect.left,
|
||
y: rect.top + pageYScroll,
|
||
w: rect.width
|
||
};
|
||
}
|
||
|
||
};
|
||
|
||
// PhotoSwipe opened from URL
|
||
if (fromURL) {
|
||
if (options.galleryPIDs) {
|
||
// parse real index when custom PIDs are used
|
||
// http://photoswipe.com/documentation/faq.html#custom-pid-in-url
|
||
for (var j = 0; j < items.length; j++) {
|
||
if (items[j].pid == index) {
|
||
options.index = j;
|
||
break;
|
||
}
|
||
}
|
||
} else {
|
||
// in URL indexes start from 1
|
||
options.index = parseInt(index, 10) - 1;
|
||
}
|
||
} else {
|
||
options.index = parseInt(index, 10);
|
||
}
|
||
|
||
// exit if index not found
|
||
if (isNaN(options.index)) {
|
||
return;
|
||
}
|
||
|
||
if (disableAnimation) {
|
||
options.showAnimationDuration = 0;
|
||
}
|
||
|
||
// Pass data to PhotoSwipe and initialize it
|
||
gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, options);
|
||
gallery.init();
|
||
};
|
||
|
||
// loop through all gallery elements and bind events
|
||
var galleryElements = document.querySelectorAll(gallerySelector);
|
||
|
||
for (var i = 0, l = galleryElements.length; i < l; i++) {
|
||
galleryElements[i].setAttribute('data-pswp-uid', i + 1);
|
||
galleryElements[i].onclick = onThumbnailsClick;
|
||
}
|
||
|
||
// Parse URL and open gallery if it contains #&pid=3&gid=1
|
||
var hashData = photoswipeParseHash();
|
||
if (hashData.pid && hashData.gid) {
|
||
openPhotoSwipe(hashData.pid, galleryElements[hashData.gid - 1], true, true);
|
||
}
|
||
};
|
||
|
||
// execute above function
|
||
initPhotoSwipeFromDOM('.my-gallery');
|
||
</script>
|
||
<script src="../../assets/js/material-dashboard.min.js" type="text/javascript"></script>
|
||
<script>
|
||
Holder.addTheme('gray', {
|
||
bg: '#777',
|
||
fg: 'rgba(255,255,255,.75)',
|
||
font: 'Helvetica',
|
||
fontweight: 'normal'
|
||
})
|
||
</script>
|
||
<script>
|
||
// Facebook Pixel Code Don't Delete
|
||
! function(f, b, e, v, n, t, s) {
|
||
if (f.fbq) return;
|
||
n = f.fbq = function() {
|
||
n.callMethod ?
|
||
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
|
||
};
|
||
if (!f._fbq) f._fbq = n;
|
||
n.push = n;
|
||
n.loaded = !0;
|
||
n.version = '2.0';
|
||
n.queue = [];
|
||
t = b.createElement(e);
|
||
t.async = !0;
|
||
t.src = v;
|
||
s = b.getElementsByTagName(e)[0];
|
||
s.parentNode.insertBefore(t, s)
|
||
}(window,
|
||
document, 'script', '//connect.facebook.net/en_US/fbevents.js');
|
||
|
||
try {
|
||
fbq('init', '111649226022273');
|
||
fbq('track', "PageView");
|
||
|
||
} catch (err) {
|
||
console.log('Facebook Track Error:', err);
|
||
}
|
||
</script>
|
||
<script src="../../assets/js/docs.js"></script>
|
||
|
||
|
||
</body>
|
||
</html>
|