D dav1d Active Member 149 2023 55 1,110 May 5, 2023 #1 Hello, any one here can give me a code of javascript to open new window as a tab under or popup? Thank's in advance
Hello, any one here can give me a code of javascript to open new window as a tab under or popup? Thank's in advance
SlotlandAffiliates Member 6 2023 2 600 Nov 30, 2023 #2 Hey dav1d, I guess you can use GPT for such task: <script> function openPopup() { // Specify the URL you want to open in the popup var url = 'URL"'; // Specify the window features (optional) var features = 'width=600,height=400,resizable=yes,scrollbars=yes'; // Open the popup window window.open(url, 'PopupWindow', features); } </script>
Hey dav1d, I guess you can use GPT for such task: <script> function openPopup() { // Specify the URL you want to open in the popup var url = 'URL"'; // Specify the window features (optional) var features = 'width=600,height=400,resizable=yes,scrollbars=yes'; // Open the popup window window.open(url, 'PopupWindow', features); } </script>