ID:146241
 
Well, when I do this here:
if(written_notes)
alert("[written_notes]")
return

I need it so when the alert message shows up with the written_notes inside of it, the alert message box is fitting the size of the written_ notes, no matter the size of the written_notes. What's happening is a long box like this:
+-------------------------------------------------------+
|________________very long written notes________________|
| |
+-------------------------------------------------------+
What I need is this:
+-----------------------------------+
|_____________fitting_______________|
|_______________the_________________|
|_____________written_______________|
|______________notes________________|
|____________perfectly______________|
+-----------------------------------+

ever hear of
<center> BLAH BLAH </center>
In response to Cheetoz
Yes, actually I have heard of center for basic html, that doesn't work with alert() though. It only works with usr << "" outputted text. I need something that does that same function but for alert().
In response to DragonMasterGod
O.o try using a browse box then...

    var/const/info = {"Whatever here!"}


/*Appropriate here, verbs - usr, procs - src*/ << browse(info,"window=announce;size=300x200;")
In response to Cheetoz
Yea, the browse box isn't working out either :(. I'll assume you do know what I'm trying to do? Any other suggestions? By the way, thanks for helping out.
In response to DragonMasterGod
How could I get the <center> to work in the alert box?
All this begs the question of why you're using an alert() box in the first place. There's no ability to gracefully format your text for one, and on top of that it's ugly. Pretty much always it's preferable to use something else for your interface, be it an HTML popup or a simple link from the text.

Lummox JR
In response to DragonMasterGod
As far as I know you cant. Just go with browse. Also look up client/Topic if you're wanting buttons.

Hiead