ID:269893
 
How would I make a browsed html window unclosable, but allow them to only close by way of a link?
A combination of browse() and Topic() should do the trick. Something like this, maybe:

src << browse("Hello!  You can only close this by clicking <a href='?src=\ref[src];action=Close;Window=OMGWindow'>here</a>!","window=OMGWindow;can_close=0")

mob
Topic(href,href_list[])
switch(href_list["action"])
if("Close")
var/WindowName = href_list["Window"]
src<<browse(null,"window=[WindowName]")


Thats what I use at least. You'll probably want to look up Topic() and browse(), there are alot more options you can use =)
Mecha Destroyer JD wrote:
How would I make a browsed html window unclosable, but allow them to only close by way of a link?

Strictly speaking, you can't. There are ways to block off some options, but not all.

Lummox JR