A91627
asked on
Modal Dialog window in firefox? Not compatible with window.showModalDialog
Hi all experts,
I having a problem with modal dialog windows in firefox. Currently i use showModalDialog in javascript and it work fine in IE. But when it come to firefox, it become useless.
Could any 1 give me advise how to write the script to show modal dialog in firefox?
I had read some documentation in mozilla, and i know there is a method that firefox support to open modal dialog form which is window.openDialog. However, when i use this method in my javascript with firefox, it seem not work. and seem like something to do with UniversalBrowserWrite Privilege.
May I know what is the UniversalBrowserWrite Privilege?
Is there any other method to use for open modal dialog in firefox? or any other substitution way to do this?
I need it to popup as a modal dialog window and return some result back to the parent window to process.
I'm using Windows XP Professional SP2, IIS5.1, ASP.NET, .NET Framework 2.0, IE and firefox for environment testing.
Thanks for everything...
Regards,
fall
I having a problem with modal dialog windows in firefox. Currently i use showModalDialog in javascript and it work fine in IE. But when it come to firefox, it become useless.
Could any 1 give me advise how to write the script to show modal dialog in firefox?
I had read some documentation in mozilla, and i know there is a method that firefox support to open modal dialog form which is window.openDialog. However, when i use this method in my javascript with firefox, it seem not work. and seem like something to do with UniversalBrowserWrite Privilege.
May I know what is the UniversalBrowserWrite Privilege?
Is there any other method to use for open modal dialog in firefox? or any other substitution way to do this?
I need it to popup as a modal dialog window and return some result back to the parent window to process.
I'm using Windows XP Professional SP2, IIS5.1, ASP.NET, .NET Framework 2.0, IE and firefox for environment testing.
Thanks for everything...
Regards,
fall
<SCRIPT TYPE="text/javascript">
window.open('bugs.html','' ,'chrome,c enterscree n,dependen t=YES,dial og=no,resi zable=NO,s crollbars= NO,locatio n=0,status =0,menubar =0,toolbar =0,width=2 00px,heigh t=200px,mo dal=yes');
</script>
this code perfectly work for mozilla firefox 2.0.0.3
window.open('bugs.html',''
</script>
this code perfectly work for mozilla firefox 2.0.0.3
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<SCRIPT TYPE="text/javascript">
window.open('bugs.html',''
</script>
You can specify the width and height...
Check this site for code...http://www.subimage.com/dhtml/subModal/