Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

showModalDialogMethod

0 views
Skip to first unread message

JBA

unread,
Jul 12, 2008, 10:49:00 PM7/12/08
to
From my web training piece, I want to display an Excel document or a Word
document. The browser will be IE 6 or 7. I can do this in javascript using
the window.open method but I would prefer that the Excel or Word document
display in modal form so that the user has to close the document before
returning to the web training piece. I can open an html document using the
showModalDialog method in modal form but the method doesn't seem to work with
an Excel document. I'm assume that showModalDialog also doesn't work with a
Word document.

Is there a way to open an Excel or Word document in modal form from my web
training piece?

Thanks.

JBA

Joe Fawcett

unread,
Jul 13, 2008, 8:44:08 AM7/13/08
to

"JBA" <J...@discussions.microsoft.com> wrote in message
news:9E787577-506F-402E...@microsoft.com...

Possibly try opening a modalDialog which has an iframe to hold the Excel
instead of as the main doc.
Whether to open Office docs within the browser or as a standalone app is set
on a per user basis so unless you have control over user settings you can't
change this.

--

Joe Fawcett (MVP - XML)
http://joe.fawcett.name

Laser Lips

unread,
Jul 17, 2008, 12:07:15 PM7/17/08
to
http://cylo.co.uk/modalDialog.html Try that<<< it can handle Iframes
0 new messages