![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
![]() |
Mon, Mar 28 2022 10:03 PM | Permanent Link |
Paul Coshott | Hi All,
Can anyone tell me how I can open an external web page in code? I am writing a web app for a client who needs Facebook, Instagram and Pinterest logos (and 1 of their own images) all to be clickable to open other pages. I'd like these to open in a new tab. How can I do this? Cheers, Paul |
Mon, Mar 28 2022 10:57 PM | Permanent Link |
erickengelke | Paul Coshott wrote:
>Can anyone tell me how I can open an external web page in code? I am writing a web app for a client >who needs Facebook, Instagram and Pinterest logos (and 1 of their own images) all to be clickable to >open other pages. I'd like these to open in a new tab. window.open('https://www.facebook.com','_blank'); EWB Programming Books and Component Library http://www.erickengelke.com |
Tue, Mar 29 2022 9:26 PM | Permanent Link |
Paul Coshott | erickengelke wrote:
>>window.open('https://www.facebook.com','_blank'); Perfect. Thanks Erick. Cheers, Paul |
Wed, Apr 6 2022 5:59 AM | Permanent Link |
Paul Coshott | >>window.open('https://www.facebook.com','_blank'); I also need to open one web page and rather than open it in a new tab, I need to replace the EWB web app that's running. I tried replacing _blank with _self but that didn't work. Anyone know how to open a page in the current tab? Thanks, Paul |
Wed, Apr 6 2022 6:17 AM | Permanent Link |
Paul Coshott | My bad, I had 2 places where the web page is opened. I coded one and tested the other. So using _self does work
![]() Cheers, Paul >>window.open('https://www.facebook.com','_blank'); I also need to open one web page and rather than open it in a new tab, I need to replace the EWB web app that's running. I tried replacing _blank with _self but that didn't work. Anyone know how to open a page in the current tab? Thanks, Paul |
Wed, Apr 6 2022 11:04 AM | Permanent Link |
Walter Matte Tactical Business Corporation | windows.location.href := 'https://www.facebook.com'; Documentation here... https://developer.mozilla.org/en-US/docs/Web/API/Location/href Walter |
This web page was last updated on Friday, March 28, 2025 at 03:46 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |