elwell
08-20-2003, 01:37 PM
I made a prompt but the wording at the top is big enough that it gets cut off. Does anyone know if you can make a Script Prompt bigger in size.;)
|
Click to See Complete Forum and Search --> : Prompt (Width and Height)? elwell 08-20-2003, 01:37 PM I made a prompt but the wording at the top is big enough that it gets cut off. Does anyone know if you can make a Script Prompt bigger in size.;) Khalid Ali 08-20-2003, 01:40 PM doubt that unless you are willing to write some plugin of some sort using C++ or may be (XUL) for Mozilla browsers to resize the prompts Exuro 08-20-2003, 08:09 PM Rather than making the prompt wider, try sticking a\n (a line break) or two in your string. Here's an example: prompt("This message is too long,\nso I'll put it on two lines.",""); Hope that helps! elwell 08-20-2003, 09:24 PM you see, thats exactly what i have but it stil is a set width and height so it cuts it off Exuro 08-20-2003, 11:40 PM Well, Mozilla resizes its prompt box to the size of the message. The VbScript function InputBox also resizes to the size of the message. Since VbScript is IE-Only you could use the JS Prompt function for Netscape/Mozilla users, and then the VB InputBox for IE users. That seems like alot of work though... Couldn't you just pop the info up in an alert before the prompt or something? Well, good luck to you. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |