Skip to content

Commit

Permalink
Update WorkflowAI-H24-scr501-en.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 1, 2024
1 parent 744499d commit 52c0104
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions js/WorkflowAI-H24-scr501-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,20 @@ <h2 class="dmview-title">##store_lb##</h2>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"
defer></script>
<script src="https://therealtimex.github.io/rtlibrary/js/mediaSlider.js">defer ></script>
<script src="https://therealtimex.github.io/rtlibrary/js/mediaSlider.js" defer></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const listFiles = "https://img.icons8.com/ios-filled/50/youtube-squared.png;https://img.icons8.com/arcade/64/youtube-squared.png;https://img.icons8.com/officel/50/facebook-new.png;https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf;https://filesamples.com/samples/document/docx/sample3.docx;https://www.w3resource.com/python-exercises/pandas/excel/SaleData.xlsx;http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4";
const listFilesArray = listFiles.split(";");
new MediaSlider('media-slider-container', listFilesArray);
document.addEventListener('DOMContentLoaded', () => {
const listFiles = "https://img.icons8.com/ios-filled/50/youtube-squared.png;https://img.icons8.com/arcade/64/youtube-squared.png;https://img.icons8.com/officel/50/facebook-new.png;https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf;https://filesamples.com/samples/document/docx/sample3.docx;https://www.w3resource.com/python-exercises/pandas/excel/SaleData.xlsx;http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4";
const listFilesArray = listFiles.split(";");
new MediaSlider('media-slider-container', listFilesArray);

// Tab initialization
const triggerTabList = document.querySelectorAll('[data-bs-toggle="tab"]');
triggerTabList.forEach(triggerEl => new bootstrap.Tab(triggerEl));
// Tab initialization
const triggerTabList = document.querySelectorAll('[data-bs-toggle="tab"]');
triggerTabList.forEach(triggerEl => new bootstrap.Tab(triggerEl));

// Handle tab events for mobile
const tabEl = document.querySelector('button[data-bs-toggle="tab"]');
// Handle tab events for mobile
const tabElements = document.querySelectorAll('button[data-bs-toggle="tab"]');
tabElements.forEach(tabEl => {
tabEl.addEventListener('shown.bs.tab', event => {
event.target.focus();
});
Expand Down

0 comments on commit 52c0104

Please sign in to comment.