open app in new window (not a new tab)
-
- Posts: 7
- Joined: Tue Feb 25, 2014 10:31 am
open app in new window (not a new tab)
I have a spiderbasic web app that I would like to open in its own browser window of a specific size (900x500). I have no idea how to do this or even if it can be done. Any help appreciated.
Re: open app in new window (not a new tab)
Code: Select all
window.open(url, target, windowFeatures)
Code: Select all
Procedure ButtonGadgetEvent()
! window.open("https://cataas.com/cat/says/Meow!", "Meow!","width=400,height=400");
EndProcedure
OpenWindow(0, 0, 0, 300, 200, "Test", #PB_Window_ScreenCentered)
ButtonGadget(1, 10, 10, 280, 180, "Meow!")
BindGadgetEvent(1, @ButtonGadgetEvent())
-
- Posts: 7
- Joined: Tue Feb 25, 2014 10:31 am
Re: open app in new window (not a new tab)
Thanks, I can make that work for me. I appreciate the help!