Thank you all for the education. Now that I understand how modality presents
a security risk it makes sense that the newer browsers require special
priviledges for its use. The links to the articles are greatly appreciated.
Sometimes finding the right documentation can be the most difficult part of
development.
I may choose another route, possibly using a visibility=hidden (or lower
z-order?) <divor some other element that will appear when necessary, and
process everything inside the same window. It seems that cross-browser
compatibility is still an issue after all these years of browser evolution
and W3C standards.
"Gérard Talbot" <newsblahgroup@gtalbot.orgwrote in message
news:133jkh2tlkuihdd@corp.supernews.com...
Quote:
John Kotuby wrote :
Quote:
>Hi all...
>>
>I am bulding an application and wish to use custom Modal dialog windows.
>According to a couple of recent articles I have seen, the newer Mozilla
>browsers (actually I think they said Netscape) supported syntax like :
>>
>window.open(URL ,"diagwin","modal=1, width=30");
>>
>
1- modal requires extended security privileges
>
2- there should be no blank space separating window features in the 3rd
parameter of the function called.
wrong: "modal=1, width=30"
correct: "modal=1,width=30"
>
" strWindowFeatures
Optional parameter. This parameter is the string which lists the
requested window features (window functionalities and toolbars) of the new
browser window. This string parameter must not contain any blank space.
Each requested window feature must be separated by a comma inside the
character string."
http://developer.mozilla.org/en/docs...ow.open#Syntax
>
3- width must be greater than 100pixels. Non-chrome windows must all be
greater than 100px.
>
Quote:
>For IE I use :
>window.showModalDialog
>>
>I assumed that since Firefox is a modern browser that it would support
>custom modal windows.
>Does anyone know what I am doing wrong?
>
As mentioned by Rob, all of the info necessary is at:
>
DOM:window.open
http://developer.mozilla.org/en/docs/DOM:window.open
>
Gérard
--
Using Web Standards in your Web Pages (Updated Dec. 2006)
http://developer.mozilla.org/en/docs...your_Web_Pages
>