Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
idgallery
classsection
Div
classcontainer
Div
classcols
Div
classcol-10
Html-bobswift
<h2>Gallery</h2>
<p class="gallery-p">Experience the event in its entirety and relive every moment with our gallery.</p>

Gallery
excludeLabelno-gallery
columns5
sortname

Html-bobswift
<p class="gallery-cta"><a class="btn ghost" href="https://ec.europa.eu/digital-building-blocks/sites/display/OOTS/Projectathon3+gallery"><span>See all gallery images</span><span class="ico-cta-forward"></span></a></p>
Div
classcols cols-video justify-content-center
Div
classcol-10
Html-bobswift
<script>
$(document).ready(function(){

// Show the first tab and hide the rest
$('#tabs-video-nav li:first-child').addClass('active');
$('.tab-video-content').hide();
$('.tab-video-content:first').show();

// Click function
$('#tabs-video-nav li').click(function(){
  $('#tabs-video-nav li').removeClass('active');
  $(this).addClass('active');
  $('.tab-video-content').hide();
  
  var activeTab = $(this).find('a').attr('href');
  $(activeTab).fadeIn();
  return false;
});

});
</script>

<h2>Videos</h2>
<p class="gallery-p">Discover how this Projectathon helped Member States prepare for the OOTS launch.</p>

<div id="tabs-video-content">

<div id="tab4" class="tab-video-content">
<div class="tabs-video-content-iframe">
<iframe src="https://europa.eu/webtools/crs/iframe/?oriurl=https%3A%2F%2Fwww.youtube.com%2fembed%2fEBDA9SJS46M" allowfullscreen="" width="100%" height="315" frameborder="0"></iframe>
</div>
</div>

<div id="tab1tab3" class="tab-video-content">
<div class="tabs-video-content-iframe">
<iframe src="https://europa.eu/webtools/crs/iframe/?oriurl=https%3A%2F%2Fwww.youtube.com%2fembed%2fFKwwm5PfPpIcom%2fembed%2fOCAqdAzlYO4" allowfullscreen="" width="100%" height="315" frameborder="0"></iframe>
</div>
</div>

<div id="tab3tab1" class="tab-video-content">
<div class="tabs-video-content-iframe">
<iframe src="https://europa.eu/webtools/crs/iframe/?oriurl=https%3A%2F%2Fwww.youtube.com%2fembed%2fOCAqdAzlYO4com%2fembed%2fFKwwm5PfPpI" allowfullscreen="" width="100%" height="315" frameborder="0"></iframe>
</div>
</div>

</div> 
Div
classcols cols-video
Div
classcol-10
Html-bobswift
<ul id="tabs-video-nav">
<li><a href="#tab1#tab4"><span class="cover-play"><img class="cover-img" src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/645595199/cover-video-projectathon-1-2anne-gaelle-aftermovieberge.png" alt="OOTSWhat is a Projectathon"></span><span class="cover-text">"OOTSWhat is a Projectathon"<br><span style="font-size:14px"><strong>14><strong>Anne-Gaëlle Bergé</strong> - 16Expert Junein 2023,System BrusselsInteroperability, Belgium</strong> - Aftermovie<Kereval</span></span></a></li>
<li><a href="#tab3#tab1"><span class="cover-play"><img class="cover-img" src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/645595199/cover-video-projectathon-12-david-blanchardaftermovie.png" alt="The Value of Once-OnlyOOTS Projectathon"></span><span class="cover-text">"The Value of Once-Only" <br> <span OOTS Projectathon"<br><span style="font-size:14px"> <strong>David Blanchard</strong> ><strong>14 - Deputy16 HeadJune of2023, UnitBrussels, DG GROW European Commission<br><strong>Joao Rodrigues Frade<Belgium</strong> - Head of Sector Building Blocks, DIGIT European Commission<Aftermovie</span></span></a></li>
<li><a href="#tab4#tab3"><span class="cover-play"><img class="cover-img" src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/645595199/cover-video-projectathon-1-annedavid-gaelle-bergeblanchard.png" alt="WhatThe isValue aof ProjectathonOnce-Only"></span><span class="cover-text">"WhatThe isValue aof Projectathon"<br><spanOnce-Only" <br> <span style="font-size:14px"><strong>Anne-Gaëlle Bergé<> <strong>David Blanchard</strong> - Deputy Head of Unit, DG GROW European Commission<br><strong>Joao Rodrigues Frade</strong> - ExpertHead of inSector SystemBuilding InteroperabilityBlocks, DIGIT European Kereval<Commission</span></span></a></li>
</ul>

<script>
let listOfVideos = document.querySelector("#tabs-video-nav");
Array.from(listOfVideos.children).forEach((li, indexList) => { li.addEventListener("click", function(e) { $("iframe").each(function(index) { if(index != indexList) {
    var src = $(this).attr('src');
    $(this).attr('src', src);}});})})
</script>

...