[thelist] pop-up windows and dialog boxes
Mia Kurt
miakurt at yahoo.com
Fri Nov 3 10:07:17 CST 2000
Hello wise people,
I am trying again - please let me know if you
understand my email.
please excuse the subject, I couldn't think of a
better descriptor for this topic.
Instead of using "window.open( '<something>',
'<somethingelse>',
'width=550, height=500, resizable, scrollbars=yes'), I
need a better mechanism to control the opened windows.
Do you know if there is a javaScript function to open
a pop-up window for IE only, which works like a dialog
box(the bottom page will be disabled if the popUp is
opened). I searched the msdn website, but can't find
it. Could you give me some clues?
An example: - This is a line from Yahoo Finance
Vision: var retval = window.showModalDialog(url, "",
"dialogWidth=" + width + "px;dialogHeight=" + height +
"px;resizable=no;center=yes;help=no;status=no");
Another example (from msdn site
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/showModalDialog.htm
) I have tried to use "window.showModalDialog" and
found that it doesn't behave like a window when a
series of pages need to be displayed over the same
dialog. The url in the dialog always opens a
different browser before displaying another dialog. Is
there any trick you know about to avoid this? And is
there any way to display the subsequent pages in the
same dialog?
I hope someone will be able to help me.
Thank you.
mia
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15
> Free!
> http://photos.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
>From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/
More information about the thelist
mailing list