add
This commit is contained in:
@@ -32,3 +32,16 @@ if (slides.length > 0) {
|
||||
setInterval(nextSlide, 10000);
|
||||
}
|
||||
|
||||
|
||||
function toggleContent(button) {
|
||||
const teaser = button.parentElement;
|
||||
const fullContent = teaser.querySelector('.blog-full-content');
|
||||
if (fullContent.style.display === 'none') {
|
||||
fullContent.style.display = 'block';
|
||||
button.textContent = 'Read Less';
|
||||
} else {
|
||||
fullContent.style.display = 'none';
|
||||
button.textContent = 'Read More';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user