ID:272394
 
Hi,

I'm working on a subsystem which uses a bit of javascript, So I don't need a window to pop up when I call my functions.Even though I do set the following to zero in my browse() call:

can_resize
titlebar
size=0x0

a rectangle with two buttons(albeit very small buttons) still shows up, I put this in the howto section in case there's some specific layout option for browser windows, or some other way this is handled, otherwise please move it to bug reports.

a screen shot can be found
Free Image Hosting at www.ImageShack.us
Thanks in advance.

-----------------------------------------------------------
Hi,

Thanks for all the help, I've found a workaround for this via byond's layout system, it isn't graceful but It'll suffice.

Dante
Link contains virus.
If you're trying not to make a window pop-up, then wouldn't you just not set the window parameter?
Note: I'm not sure what that's a picture of...
In response to Naokohiro
Hey, thanks, but thats exactly what I'm referring to when I mention that I set those parameters to zero, because you do so through the window parameter, the link points to image shack, so unlike the idiot who first posted, it doesn't contain a virus, just a larger version of the thumbnail so you can see the artifact I'm talking about.

Dante
In response to Dante Mochizuki
I know, I just don't know what that's a picture of.
I mean in the browse() proc, if you don't put "window=someword" in the second argument, then it will simply open it in the default browser. (Instead of a pop-up.)
In response to Naokohiro
Hi,

sorry about that, the window in the background with a blank screen is just an example world i made to illustrate this problem I'm having, what you see circled in red is the browser window that just won't disappear.

Dante
Setting display=0 might work.
In response to Nickr5
Hi,

Thanks, that go rid of the window artifact, but in doing so it also disregarded all the other parameters meaning the embedded browser was used instead of a pop-up window, and the html content wasn't even processed.

Dante
In response to Dante Mochizuki
Why don't you explain exactly what you're trying to do, instead of leaving us guessing.