Im using a series of alerts() before logging into my game-im sure most of you are fluent with alerts- and I was just wondering, is there ANY way at all to insert a linebreak? If this is too confusing heres an example...
///////////////////////////////////////////////////////////
User logs in...
User is alerted...
Welcome to So and So
User is alerted...
Programmed by So and So
Illustrated by So and So
Powered by BYOND
///////////////////////////////////////////////////////////
Notice how these lines are all one under eachother. All in one alert. If you have any ideas please post them. Thanks a bunch, The Conjuror.
ID:259700
![]() Jan 14 2004, 2:34 pm
|
|
![]() Jan 14 2004, 2:36 pm
|
|
/n
|
\n, actually.
\t for tab \... is the opposite of a line break, where the line continues where it would normally break. |
The backslash is a specific slash. =) \ and / are both slashes, but \ is the backslash (because it leans backward) and / is the forward slash (because it leans forward).
|
The Conjuror wrote:
Im using a series of alerts() before logging into my game-im sure most of you are fluent with alerts- and I was just wondering, is there ANY way at all to insert a linebreak? As others have said, the answer is yes, but the real question is why you'd use alert() for such a purpose. It's a pretty ugly interface item, and fairly intrusive because it gets in the way of what the player is trying to do. You're a great deal better off switching to a browser window (popup or otherwise), which looks more professional. Lummox JR |