-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce3a7d
commit 8336841
Showing
38 changed files
with
333 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-BR"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Fotos do SBQS 2024</title> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""/> | ||
<link rel="stylesheet" href="../style.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<button class="floating-button" onclick="window.location.href='https://sbqs.sbc.org.br/2024/index.php/pt/'" > | ||
<i class="fas fa-arrow-left icon"></i> <!-- Ícone de voltar --> | ||
</button> | ||
|
||
<!-- Botão de selecionar língua --> | ||
|
||
|
||
<button id="float-button-mapa" style="display: block;" class="float-button-mapa"> | ||
<a href="pt/mapa.html"><i class="fas fa-location-arrow icon"></i></a> | ||
</button> | ||
|
||
|
||
|
||
<header> | ||
<a href="../index.html"><img src="../img/LOGO_SBQS.png" alt="Logo do Evento" class="logo"/></a> | ||
</header> | ||
|
||
<section class="photo2"> | ||
|
||
<!-- Botões de Data --> | ||
<div id='botoes-dias-pt' class="botoes-dias"> | ||
<h1 id="programa-h1-pt">Fotos do Evento</h1> | ||
|
||
<h4 id="programa-info-pt" >Veja as fotos de cada dia do evento. </h4> | ||
<h4>(Também é possível fazer download da foto em display no botão abaixo)</h4> | ||
<button id="dia-um-pt" class="active" onclick="mostrarDia('dia1', this)">05/11/2024</button> | ||
<button id="dia-dois-pt" onclick="mostrarDia('dia2', this)">06/11/2024</button> | ||
<button id="dia-tres-pt" onclick="mostrarDia('dia3', this)">07/11/2024</button> | ||
<button id="dia-quatro-pt" onclick="mostrarDia('dia4', this)">08/11/2024</button> | ||
|
||
|
||
</div> | ||
|
||
<div id='botoes-dias-en' style="display: none;" class="botoes-dias"> | ||
<h1 id="programa-h1-en" >Fotos do evento</h1> | ||
<h4 id="programa-info-en" style="display: none;"> Selecione as fotos por dia</h4> | ||
|
||
<button id="dia-um-en" class="active" onclick="mostrarDia('dia1', this)">05/11/2024</button> | ||
<button id="dia-dois-en" onclick="mostrarDia('dia2', this)">06/11/2024</button> | ||
<button id="dia-tres-en" onclick="mostrarDia('dia3', this)">07/11/2024</button> | ||
<button id="dia-quatro-en" onclick="mostrarDia('dia4', this)">08/11/2024</button> | ||
|
||
|
||
</div> | ||
|
||
|
||
|
||
<div id="table-shedule-pt" class="tabelas-programacao" > | ||
|
||
|
||
<div id="dia1" class="slideshow-container"> | ||
<img class="slides fade" src="../event_photos/05-11/001.HEIC" alt="Imagem 1"> | ||
|
||
<img class="slides fade" src="../event_photos/05-11/002.HEIC" alt="Imagem 2"> | ||
<img class="slides fade" src="../event_photos/05-11/003.HEIC" alt="Imagem 3"> | ||
<img class="slides fade" src="../event_photos/05-11/004.HEIC" alt="Imagem 4"> | ||
<img class="slides fade" src="../event_photos/05-11/005.HEIC" alt="Imagem 5"> | ||
<img class="slides fade" src="../event_photos/05-11/006.HEIC" alt="Imagem 6"> | ||
<img class="slides fade" src="../event_photos/05-11/007.HEIC" alt="Imagem 7"> | ||
<img class="slides fade" src="../event_photos/05-11/008.HEIC" alt="Imagem 8"> | ||
<img class="slides fade" src="../event_photos/05-11/009.HEIC" alt="Imagem 9"> | ||
<img class="slides fade" src="../event_photos/05-11/010.HEIC" alt="Imagem 10"> | ||
<img class="slides fade" src="../event_photos/05-11/011.HEIC" alt="Imagem 11"> | ||
<img class="slides fade" src="../event_photos/05-11/012.HEIC" alt="Imagem 12"> | ||
<img class="slides fade" src="../event_photos/05-11/013.HEIC" alt="Imagem 13"> | ||
<img class="slides fade" src="../event_photos/05-11/014.HEIC" alt="Imagem 14"> | ||
<img class="slides fade" src="../event_photos/05-11/015.HEIC" alt="Imagem 15"> | ||
<img class="slides fade" src="../event_photos/05-11/016.HEIC" alt="Imagem 16"> | ||
<img class="slides fade" src="../event_photos/05-11/017.HEIC" alt="Imagem 17"> | ||
<img class="slides fade" src="../event_photos/05-11/018.HEIC" alt="Imagem 18"> | ||
<img class="slides fade" src="../event_photos/05-11/019.HEIC" alt="Imagem 19"> | ||
<img class="slides fade" src="../event_photos/05-11/020.HEIC" alt="Imagem 20"> | ||
<img class="slides fade" src="../event_photos/05-11/021.HEIC" alt="Imagem 21"> | ||
<img class="slides fade" src="../event_photos/05-11/022.HEIC" alt="Imagem 22"> | ||
<img class="slides fade" src="../event_photos/05-11/023.HEIC" alt="Imagem 23"> | ||
<img class="slides fade" src="../event_photos/05-11/024.HEIC" alt="Imagem 24"> | ||
<img class="slides fade" src="../event_photos/05-11/025.HEIC" alt="Imagem 25"> | ||
<img class="slides fade" src="../event_photos/05-11/026.HEIC" alt="Imagem 26"> | ||
<img class="slides fade" src="../event_photos/05-11/027.HEIC" alt="Imagem 27"> | ||
<img class="slides fade" src="../event_photos/05-11/028.HEIC" alt="Imagem 28"> | ||
<img class="slides fade" src="../event_photos/05-11/029.HEIC" alt="Imagem 29"> | ||
<img class="slides fade" src="../event_photos/05-11/030.HEIC" alt="Imagem 30"> | ||
<img class="slides fade" src="../event_photos/05-11/031.HEIC" alt="Imagem 31"> | ||
<img class="slides fade" src="../event_photos/05-11/032.HEIC" alt="Imagem 32"> | ||
<img class="slides fade" src="../event_photos/05-11/033.HEIC" alt="Imagem 33"> | ||
<img class="slides fade" src="../event_photos/05-11/034.jpg" alt="Imagem 34"> | ||
|
||
<a class="prev" onclick="plusSlides(-1)">❮</a> | ||
<a class="next" onclick="plusSlides(1)">❯</a> | ||
</div> | ||
|
||
</div> | ||
<a id="downloadButton" class="download-btn" download>Baixar Imagem Atual</a> | ||
|
||
|
||
</section> | ||
|
||
<footer class="footnote-text"> | ||
<p > © Criado pelo Aries Lab por Joselito Júnior - 2024 </p> | ||
</footer> | ||
|
||
<script> | ||
function mostrarDia(dia, botao) { | ||
// Ocultar todas as tabelas | ||
var dias = document.querySelectorAll('.slideshow-container'); | ||
dias.forEach(function(el) { | ||
el.style.display = 'none'; | ||
}); | ||
|
||
// Mostrar a tabela correspondente ao botão clicado | ||
document.getElementById(dia).style.display = 'table'; | ||
|
||
// Remover a classe "active" de todos os botões | ||
var botoes = document.querySelectorAll('.botoes-dias button'); | ||
botoes.forEach(function(btn) { | ||
btn.classList.remove('active'); | ||
}); | ||
|
||
// Adicionar a classe "active" ao botão clicado | ||
botao.classList.add('active'); | ||
} | ||
|
||
// Mostrar o primeiro dia por padrão | ||
window.onload = function() { | ||
mostrarDia('dia1', document.querySelector('.botoes-dias button.active')); | ||
}; | ||
|
||
let slideIndex = 1; | ||
showSlides(slideIndex); | ||
|
||
function plusSlides(n) { | ||
showSlides(slideIndex += n); | ||
} | ||
|
||
function showSlides(n) { | ||
let slides = document.getElementsByClassName("slides"); | ||
if (n > slides.length) { slideIndex = 1 } | ||
if (n < 1) { slideIndex = slides.length } | ||
for (let i = 0; i < slides.length; i++) { | ||
slides[i].style.display = "none"; | ||
} | ||
slides[slideIndex - 1].style.display = "block"; | ||
|
||
// Atualizar o botão de download com o link da imagem atual | ||
let currentImage = slides[slideIndex - 1].src; | ||
let downloadButton = document.getElementById("downloadButton"); | ||
downloadButton.href = currentImage; | ||
downloadButton.download = `imagem_${slideIndex}.jpg`; // Nome do arquivo | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Slideshow com Download</title> | ||
<style> | ||
* { | ||
box-sizing: border-box; | ||
} | ||
.slideshow-container { | ||
max-width: 600px; | ||
position: relative; | ||
margin: auto; | ||
} | ||
.slides { | ||
display: none; | ||
width: 100%; | ||
} | ||
.prev, .next { | ||
cursor: pointer; | ||
position: absolute; | ||
top: 50%; | ||
width: auto; | ||
padding: 16px; | ||
margin-top: -22px; | ||
color: white; | ||
font-weight: bold; | ||
font-size: 18px; | ||
transition: 0.3s; | ||
user-select: none; | ||
} | ||
.next { | ||
right: 0; | ||
} | ||
.prev { | ||
left: 0; | ||
} | ||
.fade { | ||
animation: fadeEffect 1.5s; | ||
} | ||
@keyframes fadeEffect { | ||
from { opacity: 0.4; } | ||
to { opacity: 1; } | ||
} | ||
.download-btn { | ||
display: block; | ||
margin: 20px auto; | ||
padding: 10px 20px; | ||
background-color: #4CAF50; | ||
color: white; | ||
text-align: center; | ||
text-decoration: none; | ||
font-size: 16px; | ||
border-radius: 5px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<h2 style="text-align: center;">Slideshow com Download</h2> | ||
|
||
<div class="slideshow-container"> | ||
<img class="slides fade" src="img/Alexander_Palestra.jpeg" alt="Imagem 1"> | ||
<img class="slides fade" src="img/Marcio_Ribeiro_Palestra.jpeg" alt="Imagem 2"> | ||
<img class="slides fade" src="img/Sheila_Palestra.jpeg" alt="Imagem 3"> | ||
|
||
<a class="prev" onclick="plusSlides(-1)">❮</a> | ||
<a class="next" onclick="plusSlides(1)">❯</a> | ||
</div> | ||
|
||
<!-- Botão de Download --> | ||
<a id="downloadButton" class="download-btn" download>Baixar Imagem Atual</a> | ||
|
||
<script> | ||
let slideIndex = 1; | ||
showSlides(slideIndex); | ||
|
||
function plusSlides(n) { | ||
showSlides(slideIndex += n); | ||
} | ||
|
||
function showSlides(n) { | ||
let slides = document.getElementsByClassName("slides"); | ||
if (n > slides.length) { slideIndex = 1 } | ||
if (n < 1) { slideIndex = slides.length } | ||
for (let i = 0; i < slides.length; i++) { | ||
slides[i].style.display = "none"; | ||
} | ||
slides[slideIndex - 1].style.display = "block"; | ||
|
||
// Atualizar o botão de download com o link da imagem atual | ||
let currentImage = slides[slideIndex - 1].src; | ||
let downloadButton = document.getElementById("downloadButton"); | ||
downloadButton.href = currentImage; | ||
downloadButton.download = `imagem_${slideIndex}.jpg`; // Nome do arquivo | ||
} | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters