Main Page: Difference between revisions
From Erbessd Instruments
No edit summary |
No edit summary |
||
| Line 103: | Line 103: | ||
<!-- Script para mostrar/ocultar --> | <!-- Script para mostrar/ocultar --> | ||
<html> | |||
<script> | <script> | ||
function togglePages(button) { | function togglePages(button) { | ||
var content = button.nextElementSibling; | var content = button.nextElementSibling; | ||
if (content.style.display === "none" || content.style.display === "") { | if (content && (content.style.display === "none" || content.style.display === "")) { | ||
content.style.display = "block"; | content.style.display = "block"; | ||
button.textContent = "Show less −"; | button.textContent = "Show less −"; | ||
} else { | } else if (content) { | ||
content.style.display = "none"; | content.style.display = "none"; | ||
button.textContent = "Show more +"; | button.textContent = "Show more +"; | ||
| Line 115: | Line 116: | ||
} | } | ||
</script> | </script> | ||
</html> | |||
Revision as of 15:49, 25 June 2025
Products
File:Low Range.png File:Defiant.png
Software
File:Defiant.png
<button onclick="togglePages(this)" style="margin-top: 10px;">Show more +</button>
<html> <script>
function togglePages(button) {
var content = button.nextElementSibling;
if (content && (content.style.display === "none" || content.style.display === "")) {
content.style.display = "block";
button.textContent = "Show less −";
} else if (content) {
content.style.display = "none";
button.textContent = "Show more +";
}
}
</script> </html>
