User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,965 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,587 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1332 | Replies: 7
Reply
Join Date: Aug 2007
Posts: 4
Reputation: TWilsonRipsom is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
TWilsonRipsom TWilsonRipsom is offline Offline
Newbie Poster

How do I set linked Office files to open with full toolbar functionality?

  #1  
Aug 10th, 2007
I have been trying to figure out how to open documents such as Word and Excel files with functional toolbars but I am stumped. Can anyone provide some insight on this?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2007
Posts: 4
Reputation: TWilsonRipsom is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
TWilsonRipsom TWilsonRipsom is offline Offline
Newbie Poster

Re: How do I set linked Office files to open with full toolbar functionality?

  #2  
Aug 10th, 2007
Originally Posted by TWilsonRipsom View Post
I have been trying to figure out how to open documents such as Word and Excel files with functional toolbars but I am stumped. Can anyone provide some insight on this?
The files are linked to a JS menu tree and when they come up they are in new windows but the document toolbars are missing. HAs anyone encountered this and do you know what I'm doing or not doing that could be causing this to happen.

This is the code I'm using to launch the links:

function deadCenter(url) {
putItThere = window.open(url,'putItThere','width='+wd+',height='+ht+',left='+((chasm-wd-10)*.5)+',top='+((mount-ht-25)*.5)+',scrollbars,status,titlebar,toolbar,directories');
if (putItThere & !putItThere.closed)
putItThere.focus();
}
Reply With Quote  
Join Date: Jan 2007
Posts: 2,537
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 111
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How do I set linked Office files to open with full toolbar functionality?

  #3  
Aug 10th, 2007
THis sounds like a security issue.

Allowing a web page to do this would also allow a web page to access parts of a user's hard disk without the user's permission. It could also give the user unwanted access to server files. So the user is allowed to see the document using the program, but not allowed to edit it.

For the user to be able to edit the document, it must be downloaded to the user's computer with FTP or a similar means. Then the user must on his own volition act to open the file, using Windows Explorer or My Computer.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Jul 2007
Location: Karachi
Posts: 26
Reputation: shikeb is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
shikeb's Avatar
shikeb shikeb is offline Offline
Light Poster

Re: How do I set linked Office files to open with full toolbar functionality?

  #4  
Aug 17th, 2007
Yes !! it must be downloaded to user's computer then user can access the file from there computer's hard Disk atleast it'll not create a security risk. As an analyst I'll recommend you this...
Reply With Quote  
Join Date: Aug 2007
Posts: 4
Reputation: TWilsonRipsom is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
TWilsonRipsom TWilsonRipsom is offline Offline
Newbie Poster

Re: How do I set linked Office files to open with full toolbar functionality?

  #5  
Aug 18th, 2007
Originally Posted by MidiMagic View Post
THis sounds like a security issue.

Allowing a web page to do this would also allow a web page to access parts of a user's hard disk without the user's permission. It could also give the user unwanted access to server files. So the user is allowed to see the document using the program, but not allowed to edit it.

For the user to be able to edit the document, it must be downloaded to the user's computer with FTP or a similar means. Then the user must on his own volition act to open the file, using Windows Explorer or My Computer.


I'm just trying to allow the user to print or save the document. How do I enable the print and save functionality?
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 943
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 5
Solved Threads: 47
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: How do I set linked Office files to open with full toolbar functionality?

  #6  
Aug 21st, 2007
Simply allow the user to donwload the document rather than showing it in a popup window. A good browser will give an option; for the user to either save the file, or open it; when one clicks a link like:
http://mysite.tld/mydocument.doc
Opening the document should open it in the registered application for .doc files. To my knowledge, it's only internet explorer that defaults without asking to opening word files in an internet explorer-mixed-with-ms word window. It's an awful feature.
However, the print and save features of the File toolbar should work anyway; even when the doc is in an IE window..
If it only works in Internet Explorer; it doesn't work.
Reply With Quote  
Join Date: Aug 2007
Posts: 4
Reputation: TWilsonRipsom is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
TWilsonRipsom TWilsonRipsom is offline Offline
Newbie Poster

Re: How do I set linked Office files to open with full toolbar functionality?

  #7  
Aug 21st, 2007
So remove the script for open window and just leave it as an href link on the menu tree?
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 943
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 5
Solved Threads: 47
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: How do I set linked Office files to open with full toolbar functionality?

  #8  
Aug 21st, 2007
I would. That way, a nice browser; Firefox, Opera etc, will prompt to open ( in the default .doc application ) or save the file, and IE may or may not open the file in the browser window depending on preferences... File>Print and File>Save as should certainly still work, even in an IE mixed with Word window...
If it only works in Internet Explorer; it doesn't work.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 7:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC