471,350 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

How do I show a self generating html page as Modal by using showModalDialog

Hi guys/girls

I already post this in javascript forum, but nobody could help me.C#
guys are always sharp and fast, so I am trying ny Luck:-)

I wonder who can help me:
I know sort of how to use showModalDialog
But what I dont understand is how do I showModalDialog with a self
generated page??
Here is my code for self generated, I want to display it modal:
function popup(str)

style='WIDTH: 383px; HEIGHT: 200px; COLOR: midnightblue'>"+str
+"</textarea><br><input style='LEFT: 339px; POSITION: absolute'
type='button' value='Close'"
window.open("javascript:opener.globalHTML","myPopu p",
"width=400,height=250, align=middle").focus();


- Hide quoted text -
- Show quoted text -

Feb 21 '06 #1
0 1205

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Carlos Alejandro Pérez | last post: by
1 post views Thread by NRM | last post: by
2 posts views Thread by sthrudel | last post: by
4 posts views Thread by Ralf | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.