![]() |
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
MIVA® RESOURCES: Opening Miva documents directlyby Ivo Truxa, 03/27/2000 (updated 03/29/2000) A bit annoying on Miva® MiaTM is that it is unable to parse Miva documents directly. It only can serve the documents. It means that you cannot simply click on a Miva document in explorer to open it in a browser window, you mostly need to type the URL. There is a small trick how to achieve it anyway. You just need to set MSIE or Navigator as applications for opening your Miva scripts through a tiny JavaScript: This is a setting for MSIE® but for Netscape® it would be very similar (addenum: Netscape settings). I did it on a NT® machine, but there is no big difference on Win9x®. Use your own path for MSIE and Miva script root. Go to Explorer/View/Options/FileTypes, choose the Miva document (extensions MV, HTS, HTML or whatever you want to use for Miva), go to Edit/Open/Edit and set the following parameters:
And then just create a tiny HTML document in your Miva root directory with the following code (I call it mia.html):
<HTML>
<BODY onload='location=location.search.replace("?C:\MivaScriptRoot:","");'>
</BODY></HTML>
You can do it without DDE, too:Disable DDE and set just the 'Application used to perform action':
In this way each time you open a Miva document it will start a new browser window. That's all. You can start clicking your Miva documents. Enjoy, Addenums: Using more browsersYou can define more than just a single open command for each file type. They will appear in the file context menu when you right-click on the document. You can set open commands for MSIE, for NS, HomeSite, NotePad, FTP or whatever else. You can create commands for opening the file in another project. Settings for Navigator(tested with Netscape Navigator 4.7)
Use your own path for navigator.
|
||||||||||
|
Miva and some other terms used on this page are registerd trademarks of the Miva Corporation |