diff --git a/assets/terminal.js b/assets/terminal.js new file mode 100644 index 0000000..8345004 --- /dev/null +++ b/assets/terminal.js @@ -0,0 +1,10 @@ +document.addEventListener('DOMContentLoaded', function() { + document.querySelectorAll('.terminal-link').forEach(function(link) { + link.addEventListener('click', function(e) { + e.preventDefault(); // Verhindert das normale Verhalten des Links + var href = this.getAttribute('href'); + // Öffnet das Popup; passen Sie die Parameter nach Bedarf an + window.open(href, 'REDAXO Terminal', 'width=800,height=600,left=200,top=200'); + }); + }); +});