Click to See Complete Forum and Search --> : modal windows in mozilla


serAph1m
09-17-2003, 11:52 AM
can they be done? If so, how? I cant seem to get any to show up in mozilla - from my code or other code elsewhere on the net.

pyro
09-17-2003, 02:04 PM
no, modaldialog windows are IE only...

serAph1m
09-17-2003, 02:07 PM
interesting. Operah handles them perfectly....

pyro
09-17-2003, 05:19 PM
Perhaps we are thinking of different things. I was thinking of showModalDialog() which seems to be IE only (perhaps some other browser impliments it, but I didn't think so): http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp

serAph1m
09-17-2003, 05:24 PM
Originally posted by pyro
Perhaps we are thinking of different things. I was thinking of showModalDialog() which seems to be IE only (perhaps some other browser impliments it, but I didn't think so): http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp

the modal box here (http://javascript.about.com/library/weekly/aa091001a.htm) thats demonstrated works in opera, but doesnt work as a modal. The ones I make dont work in operah, but they dont generate errors...

eh - I just threw in some browser detection and fixed the problem manually tho.

pyro
09-17-2003, 05:36 PM
If you mean the DHTML windows, they aren't modal dialog windows, which is probably why I was confused. Anyway, this one works well with IE and Mozilla: http://www.infinitypages.com/research/dhtmlpopup.htm

serAph1m
09-18-2003, 11:02 AM
Originally posted by pyro
If you mean the DHTML windows, they aren't modal dialog windows, which is probably why I was confused. Anyway, this one works well with IE and Mozilla: http://www.infinitypages.com/research/dhtmlpopup.htm

wow! quality link! Thanks!

pyro
09-18-2003, 12:06 PM
You bet. Just remember that there are still a few bugs with it, as I've not had time to test it/fix the once I know of yet... ;)