Modal dialog box compatibility issue for IE and FireFox

I use Firefox exclusively and every now and then I come across a site that is crippled. This means that parts of it will not work in Firefox because the site is using some kind of IE only functionality.

One example is the function showModalDialog. This will create a modal pop-up when using IE but because it is not a W3C standard, it is not implemented in Firefox (Mozilla) and will just cause a JavaScript error.

Solution

Please refer to the following url to see an example that uses a javascript file to solve this issue.

http://www.hedgerwow.com/360/dhtml/dialog_window/dialog_window.htm

Unfortunatelly it desn’t work for Firefox 2 (I don’t know yet why)

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

You must be logged in to post a comment.