Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open ppt using javascript in firefox

 
shreya vinay
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I have succesfully tried opening a powerpoint file in IE using ActiveXObject("PowerPoint.Application"). But since ActiveX is not supported by fire fox as far as i know, how can i open it in firefox?
Please add your suggestions.

Thanks in Advance.
shreya.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about simply adding a link to the file? Either the client has PPT installed (in which case he may be offered to open it), or not (in which case saving it is the only option).
 
shreya vinay
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your suggestion. can we have any other alternative other than saving to open in firefox?

Thanks.
Shreya.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64982
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no alternative. If PowerPoint (or a program like Keynote that can open ppt files) is not installed, there's nothing you can do to make one magically appear.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34681
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also Firefox will not open the file within the Firefox window (unless someone has theirs configured to do so - I think that's possible.) The default is to launch PowerPoint externally.

Microsoft does offer a free (Windows) PowerPoint viewer. You could have a link to this for people who don't have PowerPoint installed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic