View Full Version : prompt hides overflowing text

07-05-2004, 06:16 AM
I made this script that words all right in firebird.
But when I test in IE, there is one problem.
I make a prompt appear, but the prompt is too small to contain all my text, so it hides it instead of adding to the prompt's height...
What can I do?

07-05-2004, 07:23 AM
Prompt text length is limited in IE, I think 2 lines only. There's nothing you can do about that.

07-05-2004, 08:19 PM
I can't beleive this. This is such a stupid problem to have. I guess I'm gonna have to make myself a prompt...

07-06-2004, 05:01 AM
In that case use IE's Modal Dialog Boxes (http://www.webreference.com/js/column90/)

if (window.showModalDialog){
var ans = window.showModalDialog(...); //set window.returnValue in the modal dialog page to return it to ans
else {
var ans = prompt(...);

Microsoft's reference for modal dialogs: http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodaldialog.asp

07-06-2004, 08:03 PM
Thanks a lot.
I needed a lot of text because I wanted the user to type in one of many options to choose it. I decided to go with a drop down menu, which makes more sence anyways, lol.
Thanks anyways, it's always usefull to learn :)