Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver and Excel Help!

Status
Not open for further replies.

fpd833

Technical User
Joined
Feb 12, 2002
Messages
6
Location
CA
First, a little info: I have made a simple 3 frame web page (header frame, nav frame and main frame). The nav frame has various links to folders on our network. Clicking on a link opens the network folder in the main frame and displays all of the Excel documents contained therein. Double clicking on one of the Excel documents opens an instance of Excel.

My question is: How can I have the Excel documents open in the main frame instead of in an instance of Excel? Any tips? Code? This has me stumped, bug I have seen it done before. Thanks!
 
Doesn't this work?

<a href=&quot;file.xls&quot; target=&quot;mainframe&quot;

Quasibobo Don't eat yellow snow!
 
It might, I have no idea. I'm new to this, where do I put that code?
 
From Dreamweaver-help:

To make the linked document appear somewhere other than in the current window or frame, select an option from the Target pop-up menu on the Property inspector.

In your case do not choose one of the options _blank, _self or any other....but fill in 'mainframe' in this blank textfield. Now the xls wil be opend in the mainframe.

HTH,

Quasibobo Don't eat yellow snow!
 
I understand that point. All of my links in the navframe open properly in the mainframe. Each of the links open a network folder and displays all of the files contained in that folder in the mainframe. So, after clicking a link the mainframe shows a bunch of Excel files. That works fine. It's the next step that has me stumped. Once the network folder contents is displayed in the mainframe (Excel files) and I double click on an Excel file displayed in the mainframe to open it, Excel opens. I don't want Excel to open, I want the Excel file to open in the mainframe. Does that make sense?
 
Ah....you want to alter the excel-file....mmmmh, I don't think that's possible; you can't alter html-files, because Explorer is a viewer, not like Excel whereyou can change the files. You could post this thread in one of the server-side help-forums....maybe it's possible to alter the Excel-files with asp, cgi or php. Give it a try.....

HTH,

Quasibobo Don't eat yellow snow!
 
Hmmm.........I don't think I need to alter any files. I made a test link in the navframe (with the mainframe as the target) that pointed to an Excel file instead of a network folder. The document opened beautifully in the mainframe, just the way I want it to. (A fully functioning Excel file, just without the Excel toolbars) So, I know that the Excel files will display exactly the way I want them to.

Why wont the Excel files opened from the mainframe display the same way as above? Thanks for all of the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top