Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Open file with Hyperlink without dialog box

Reply
Thread Tools

Open file with Hyperlink without dialog box

 
 
mcwhirt3@msu.edu
Guest
Posts: n/a
 
      03-29-2005
I'm using a non-toolbared web page to act like a file launcher. I need
it to behave like most commercial cd-rom autorun menus, where when you
click a link to do something, like say open a readme file, the file
opens in notepad or whatever the associated program may be. I am trying
to use this web page as a menu to open several office files (publisher
and excel files) so that they are not buried in hard to find
directories. The files will be located locally on the same machine's
hard drive. I was hoping instead of buying an autorun menu program i
could figure out a way to do this in html or javascript. thanks for any
help.

 
Reply With Quote
 
 
 
 
Steve Pugh
Guest
Posts: n/a
 
      03-29-2005
wrote:

>I'm using a non-toolbared web page to act like a file launcher. I need
>it to behave like most commercial cd-rom autorun menus, where when you
>click a link to do something, like say open a readme file, the file
>opens in notepad or whatever the associated program may be. I am trying
>to use this web page as a menu to open several office files (publisher
>and excel files) so that they are not buried in hard to find
>directories. The files will be located locally on the same machine's
>hard drive. I was hoping instead of buying an autorun menu program i
>could figure out a way to do this in html or javascript. thanks for any
>help.


Just link to the files normally.
<a href="foo.doc">Word Document</a>

The file will open in Word so long as the user's browser is configured
to automatically open Word documents in Word. If the user's browser
isn't configured like that then there's nothing you as an author can
do about it, so on the WWW that would be the end of the story. But as
it sounds like you're making this feature for your own personal use
only it should be easy for you to configure your browser to behave the
way you want it to.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <> <http://steve.pugh.net/>
 
Reply With Quote
 
 
 
 
mcwhirt3@msu.edu
Guest
Posts: n/a
 
      03-29-2005
The first part worked for me. Thanks, but how do i configure IE to open
certain files without prompting?

 
Reply With Quote
 
mcwhirt3@msu.edu
Guest
Posts: n/a
 
      03-29-2005
nevermind, in xp it asks if ie wants you to be asked each time so i
just un-checked the box. Who knew ie configurations could be so easy.
Thanks Steve!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use io operations with open/save file dialog box in file menu for simple notepad boris Java 1 07-22-2007 04:13 PM
Hyperlink Dialog Box Jim McGivney ASP .Net 1 08-24-2006 07:43 AM
open a new window without javascript and without hyperlink Dan ASP .Net 8 11-24-2004 08:10 AM
File Open Dialog box =?Utf-8?B?S3Jpc2huYQ==?= ASP .Net 5 12-29-2003 09:54 PM
Excel open automatically without giving a dialog box option to Open/Save/Cancel using filesys.create eddie wang ASP General 0 10-03-2003 04:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57